Question: ARTI 401 - Artificial Intelligence: Principles and Techniques Academic Year (2022-2023) - 2nd Semester Student Name: Student ID: 1. Write a rule that reverses the
ARTI 401 - Artificial Intelligence: Principles and Techniques Academic Year (2022-2023) - 2nd Semester Student Name: Student ID: 1. Write a rule that reverses the elements in a list. Provide a sereenshot of the output in prolog. ( 0.5 marks) ANSWER: 2. Write a rule that prints the length/siee of a list. Provide a screcnshot of the output in prolog ( 0.5 marks) - 2size([1,4,3,2,5],X)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
