Ai Index
Ai Index
92100103291 |
Lab Program Signature Marks
1. Write a prolog Program to understand the concept of facts and queries.
2. Write a prolog program to implement the following:
a. Factorial of a given number
b. Fibonacci of a given number
3 Write a Prolog program to perform the following operations of the
list, i) To display the element of the given list, ii) To check given
element is in the list or not, iii) To print the last element of the list,
Iv) To print the sum of the elements of the given list.
4. Implement a Family Tree and define the following predicates:
1)parent(X,Y)
2) Father(X,Y)
3) Mother(X,Y)
4) Sister(X,Y)
5) Brother(X,Y)
6)Grandfather(X,Y)
7)Grandmother(X,Y)
5. Assume given a set of facts of the form father(name1,name2) (name1 is the
father of name2)
Define a predicate cousin(X,Y) which holds iff X and Y are cousins.
Define a predicate grandson(X,Y) which holds iff X is a grandson of Y.
Define a predicate descendent(X,Y) which holds iff X is a descendent of Y.
Define a predicate grandparent(X,Y) which holds iff X is a grandparent of Y.
7. Write a program to implement BFS for Water Jug problem/ 8 Puzzle problem
or any AI search problem
8. Write a program to implement DFS for Water Jug problem/ 8 Puzzle problem
or any AI search problem
9. Write a program to implement Single Player Game (Using Heuristic Function)
10 Write a program to Implement A* Algorithm.
11. Implement the Mini Max algorithm for game playing
12. Write a program to solve N-Queens problem
13 Develop an NLP application
14 Implement Library for visual representations of text data
92100103291 |