ADAMA SCIENEC AND TECHNOLOGY UNIVERSITYDEPARTMENT OF CSE, SoEECLab AssignmentCS-3rdYEARSub: AIMM: 10NOTE: Please do not copy the answers of each other. Only handwritten assignments will be accepted.Q.1 Make programs in prolog to find the area of a circle, factorial, andaverage of given numbers.Q.2 Draw a family tree and ask the different question about brother,sister, Grandfather and Grandmother, sibling, brothers, sisters, unclesand other relations among the members of this tree.Q.3 Make a program in prolog to implement following algorithms:1. BFS2. DFS3. A*4. AO*5. Uniform Cost SearchQ.4 What is the use of trace command. How we use it?
You've reached the end of your free preview.
Want to read both pages?
Sibling,First-order logic,Horn clause,Q.1 Make programs