Jayasakthiengineeringcollege: Question Bank
Jayasakthiengineeringcollege: Question Bank
Question Bank
Year / Sem: II Yr/ III Sem
Unit-I
Part – A (2 – Marks)
Goal state – I , Do BFS,DFS, DLS (Limit -2) & Iterative Deepening search with explanation.
8. Perform BFS, DFS, Uniform cost search strategies on the following graph & also formulate
the algorithm for 3 strategies.(Apr/ May 2023)
1. Write the PEAS description for Automated taxi driver, Part-picking robot, ATM
system , Satellite image analysis, Medical diagnosis system, Blood testing system &
interactive English tutor.
2. Solve using bidirectional search - Given a dictionary, and two
words start and target (both of the same length). Find length of the smallest chain
from start to target if it exists, such that adjacent words in the chain only differ by
one character and each word in the chain is a valid word i.e., it exists in the
dictionary. It may be assumed that the target word exists in the dictionary and the
lengths of all the dictionary words are equal.
3. Solve using search algorithm – You are given two jugs with capacities x liters
and y liters. You have an infinite water supply. Return whether the total amount of
water in both jugs may reach target using the following operations
Fill either jug completely with water
Completely empty either jug
Pour water from one jug in to another until receiving jug is full, or the
transferring jug is empty.
4. Explore the knowledge base of Wumpus world problem. Explain with the steps to
reach the goal by following the rules.
5. Solve the Ball Picker Robot Problem with state space representation - 2 buckets are
full of balls. Either a ball is white colour or red colour. Objective is to pick all black
colour balls from bucket.
6. Solve the Eight puzzle problem using production rules & draw the state space
representation.
10. Formulate the eight queens puzzle by placing eight chess queens on an
8×8 chessboard so that no two queens threaten each other; thus, a solution requires that no
two queens share the same row, column, or diagonal. Represent complete state
formulation.
UNIT - II
Part – A (2 – Marks)
1. Compare & Contrast Admissible & Consistent Heuristics? (Apr/ May 2023)
2. Comment on the statement “Breadth first search is a special case of Uniform cost
search”? (Apr/ May 2023)
3. Define admissible & dominant heuristics.(Nov / Dec 2022)
4. What is the purpose of contingency plan? (Nov / Dec 2022)
5. What is Heuristic Function?(Nov / Dec 2023)
6. What are the things that agent knows in online search problems?(Nov / Dec 2023)
7. When is a class of problem is said to be intractable?
8. What is the power of Heuristic search?
9. List out the advantages of Heuristic search
10. State the reason when hill Climbing often gets stuck?
11. What do you mean by local maxima?
12. How can we avoid ridge & plateau in hill climbing?
13. How to minimize total cost using A* search?
14. Give the proof of optimality of A*?
15. How does genetic algorithm come up with optimal Solution?
16. What is AND-OR Graph?
17. How to search Better?
18. What does steepest ascent hill climbing do?
19. What is local beam search?
20. Define Fitness function
21. What is mutation & crossover
22. Define RBFS
23. What is Generate & test?
24. What is partially observable environment?
25. How do you search in continuous space?
Unit - III
Part – A (2 – Marks)
1. Justify why we cannot use traditional min max for games with an element of
chance, such as backgammon.(Apr/ May 2023)
2. Class Scheduling: There is a fixed number of professors & classrooms, a list of
classes to be offered, and a list of possible time slots for classes. Each professor
has a set of classes that he or she can teach. Give a precise formulation.(Apr/ May
2023)
3. List out the variables, domain & constraints: There are five professors and 10
classrooms, a list of classes to be offered, and a list of possible time slot for
classes. Each professor has a set of classes that he or she can teach (Nov / Dec
2022)
4. Write the components of a game.(Nov / Dec 2023)
5. What do you mean by constrain propagation?(Nov / Dec 2023)
6. What is CSP?
7. Define game.
8. What is a variable?
9. Define Domain.
10. What is backtracking?
11. What is an Unary Constraints
12. What is DAC?
13. What is the limitation of backtracking?
14. What is minimax algorithm?
15. How can minimax be extended for game of chance
16. What is Stochastic game?
17. Define cycle Cutset
18. What is alpha beta pruning
19. How do you represent the structure of problems in CSP?
20. Give the application of game theory.
21. What is a game tree?
22. How alpha beta pruning overcome the drawbacks of minimax algorithm?
23. What is multiplayer game
24. What is Look-ahead strategy?
25. What is Look-back Strategy?
1. Explain about the MinMax algorithm in game theory& need for alpha beta pruning? (Apr/
May 2023)
2. Describe the working of Monte Carlo tree search algorithm(Nov / Dec 2023)
3. Explain partially observable games .How they are solved in deterministic environment?
(Nov / Dec 2022)
4. Explain CSP with backtracking with an example.
5. Explain local search for CSP & solve the crypt arithmetic problem SEND +MORE =
MONEY
6. Explain Game theory & solve the crypt arithmetic problem CROSS +ROADS = DANGER
7. Consider the map coloring problem with 6 variables and three colors (Red, green and blue).
The constraint graph for the problem is given below. How does backtracking search solve the
given problem? What are the heuristics used to improve the efficiency of the search? How are
failures detected early in backtracking? Can breadth first search be applied to above problem?
State the reason.(Nov / Dec 2022)
8.
Formulate the map colouring problem as CSR & explain with an example (Apr/ May 2023)
9. Explain Constraint satisfaction problem & the variations on CSP with example ? (Nov / Dec
2023)
10. Define Local Consistency. What are the different types of local consistency? Explain any
two? (Nov / Dec 2023)
11. Describe alpha beta pruning using example.
12. Solve it using cryptarithmetic problem - - TWO + TWO = FOUR
13. How minimax procedure can be modified to play multiplayer game?
14. Describe how to propagate information through constraints with example?
15. Solve: FORTY + TEN + TEN = SIXTY
16. Solve : LOGIC + LOGIC = PROLOG
17. Solve : TOMATO + POTATO = PUMPKIN
18. Solve : CROSS + ROADS = DANGER
19. Explain local search algorithms for inferencing in prepositional logic.
20. Solve FOUR + FOUR = EIGHT using CSP
1. Explain the order in which the nodes/states A, B, C and D in game tree I above are evaluated
when running minimax with alpha-beta pruning and progressive deepening after running up
to depth 2 and reordering.
2. In the game tree below, the value below each node is the static evaluation at that node. MAX
next to a horizontal line of nodes means that the maximiser is choosing on that turn, and MIN
means that the minimizer is choosing on that turn. using minimax without Alpha-Beta
pruning, which of the three possible moves should the maximiser take at node A? What will
be the final minimax value of node A?
8. The 4-queens problem consists of a 4x4 chessboard with 4 queens. The goal is to
place the 4 queens on the chessboard such that no two queens can attack each other.
Each queen attacks anything in the same row, in the same column, or in the same
diagonal. Formulate the state of the 4-queens problem Using CSP
1. Some people like every vegetable. Convert it to first order logic (Apr/ May 2023)
2. If the unicorn is mythical, then it is immortal, but if it is not mythical, it is a mortal
mammal. If the unicorn is either immortal or a mammal, then it is horned. The
unicorn is magical if it is horned. Prove : the unicorn is horned by resolution. (Apr/
May 2023)
3. State the converse & contrapositive of the statement, “When I stay up late, it is
necessary that I sleep until noon” (Nov / Dec 2022)
4. Define the term belief state & state estimation.(Nov / Dec 2022)
5. What are the three levels in describing knowledge based agent?.(Nov / Dec 2023)
6. State Unification in first order logic?.(Nov / Dec 2023)
7. What is knowledge-based agent?
8. What is Horn Clause?
9. What is Definite Clause?
10. Name two standard qualifiers?
11. What is the purpose of Unification?
12. Differentiate forward & backward chaining?
13. Define meta rules.
14. Define atomic & complex sentences.
15. State the generalized modus ponens
16. What is Skolemization?
17. Represent the following sentences in predicate form – “All Children Likes Sweets”
18. Give the grammar to represent Predicate logic
19. What is Resolution?
20. List the inference rules in Propositional logic
21. What is Lifting?
22. What are the types of Knowledge base?
23. What is Universal Quantifier?
24. What is Existential Qualifier?
25. What is ModusTollens?
26. Define Belief desire intention architecture?
27. Define coherence?
28. Define complex sentence.
29. Define Description logic.
30. What is data
Part – B (13 – Marks)
1. Brief on the concept of resolution & explain the propositional resolution algorithm?
(Apr/ May 2023)
2. Give rules of inferences in propositional logic (Apr/ May 2023)
3. Which rule of inference is used in each argument below? (Apr/ May 2023)
Alice is a math major. Therefore, Alice is either a Math major or a CSI major.
Jerry is a math major and a CSI major. Therefore, Jerry is a Math major.
If it is rainy, then the pool will be closed. It is rainy. Therefore, the pool is closed.
If it snows today, the university will close. The university is not closed today.
Therefore, it didn’t snow today.
If I go swimming, then I will stay in the sun too long. If I stay in the sun too long,
then I will sunburn. Therefore, if I go swimming, then I will sun burn.
4. Prove the following axioms using Resolution Algorithm
Every boy or girl is a child.
Every child gets a doll or a train or a lump of coal.
No boy gets any doll.
No child who is good gets any lump of coal.
(Conclusion) If no child gets a train, then no boy is good.
5. Prove the following axioms using Resolution Algorithm(Apr/ May 2023)
All hounds howl at night
Anyone who has any cats will not have any mice
Light sleepers do not have anything which howls at night
John has either a cat or a hound.
(Conclusion) If john is a light sleeper, then john does not have any mice
6. Discuss about Knowledge Engineering process with proper illustration. Describe the concept of
forward chaining? (Nov / Dec 2023)
7.Express the following statement as predicate(Nov / Dec 2022)
Unit - V
Part – A (2 – Marks)
1. Design a Bayesian belief network for the diagnosis of cars electrical system.(Apr/
May 2023)
2. Briefly explain Exact inference in Bayesian Network? (Apr/ May 2023).(Nov / Dec
2023)
3. Explain about Naïve Bayes Model & Causal Networks.
4. Explain in detail about Exact & approximate inference in Bayesian network.
5. How does direct sampling method help in approximate inference? (Nov / Dec 2022)
6. Consider there are three Boolean variable toothache, catch & cavity. From the full
joint distribution calculate P(Toothache), P(Cavity), P (Toothache | cavity), P (Cavity
| toothache v catch).(Nov / Dec 2022)
Toothache Toothache
Catch ~ Catch Catch ~ Catch
Cavity 0.108 0.012 0.072 0.008
~ Cavity 0.016 0.064 0.144 0.576
A B C
D E F G
H I J
K L
M
6. Calculate the probability the Watson crashes, Probability of icy given Watson ,
Probability of Holmes given Watson , Probability of Icy & Watson
P(I=t) P(I=f)
0.7 0.3
P(H=t|I) P(H=f|I)
P(W=t|I) P(W=f|I)
I=t I=t 0.8 0.8 0.2 0.2 Icy
I=f 0.1 0.9
I=f 0.1 0.9
7. In the Watson
and HolmesCrash Holmes
WatsonCrash
visit LA network, use the following conditional probability tables.
P(R)=0.2
P(H|R,S)
P(S) = 0.1 R,S 1.0
R,¬S 1.0
P(W|R)
R 1.0 ¬R,S 0.9
¬ 0.2 ¬R,¬S 0.1
R
Calculate:
P(H), P(R|H), P(S|H), P(W|H), P(R|W,H), P(S|W,H)
8. You have a new burglar alarm installed at home. It is fairly reliable at detecting a
burglary, but also responds on occasion to minor earthquakes.You also have two
neighbors, John and Mary, who have promised to call you at work when they hear
the alarm.John always calls when he hears the alarm, but sometimes confuses the
telephone ringing with the alarm and calls then, too.Mary, on the other hand, likes
rather loud music and sometimes misses the alarm altogether. Given the evidence of
who has or has not called, we would like to estimate the probability of a burglary.
9. Find out using Bayesian network - probability of the state of Smoking knowing the
state of Cancer
10. In the network given below ,Knowing that the grass is wet, what is the
probability that rain is the cause?