AI Assignment Problems
AI Assignment Problems
Assignment Problems
17.03.25
1. Consider the search problem represented in Figure below, where ‘a’ & ‘1” is the start
node and ‘G’ & ‘14’ is the goal node. Which sequences of paths are explored by BFS
and DFS in this problem?
2. Consider the following graph given below. The numbers written on edges represent
the distance between the nodes. The numbers written on nodes represent the heuristic
value. Find the most cost-effective path to reach from start state S to final state G
using A* Algorithm.
3. Consider the following graph given below. The numbers written on edges represent
the distance between the nodes. The numbers written on nodes represent the heuristic
value. Find the most cost-effective path to reach from start state A to final state J
using A* Algorithm.
4. Given an initial state of a 8-puzzle problem and final state to be reached- Find the
most cost-effective path to reach the final state from initial state using A* Algorithm.
Consider g(n) = Depth of node and h(n) = Number of misplaced tiles.
5. Some branches will never be played by rational players since they include sub-
optimal decisions (for either player). These branches can be pruned by Alpha beta
Pruning. Apply alpha beta pruning for the given tree and prune the branches or nodes.
6. Considered the Blocks World problem with four blocks A,B,C & D with the start and
goal state given below. Assume the following two operations: pick and a block and
put it on the table, pick up a block and put it on another block. Solve the above
problem using Hill climbing algorithm and a suitable heuristic function. Show the
intermediate decisions and states
13. Apply forward chaining inference mechanism to prove the given situation "The law
says that it is a crime for an American to sell weapons to hostile nations. The country
Nono, an enemy of America, has some missiles, and all of its missiles were sold to it
by Colonel West, who is American".
14. Proof the problem given in 12 by resolution/Proof by contradiction/Proof by
refutation
15. Apply forward chaining and inference mechanism (Separately) to prove the given
fact: “Socrates is a man. All men are mortal therefore Socrates is mortal”
16. Apply forward chaining and backward chaining (separately) inference mechanism to
prove the given fact “Tom is running, if a person is running, he will sweat, Therefore,
Tom is sweating”.