Indian Institute of Technology Madras
BS Degree Programme · Examination & Study Paper
AI: Search Methods for Problem Solving
Quiz 2 · 3 Aug 2025 (Afternoon)
Examination Instructions & Guidelines
- Solve on notebook/paper first before checking solutions.
- MCQ: Exactly 1 option is correct. Negative marking applies.
- MSQ: One or more options correct. Select all to score.
- NAT: Numerical response. No negative marking.
- Scientific calculator allowed for all calculations.
- Official answer key is sealed at the end of this sheet.
Read the passage below, then answer Q1–Q6
SEARCH
Figure shows an infinite state space with finite branching, where S is the start node and G is the goal node, and G is at the center of a unit circle, and the remaining nodes are on the unit circle. (Note: circular grid is shown by dashed lines which are not part of the state space.)

Take the radial distance as the heuristic value:
h(G)=0; h(S)=1; and h(Ak)=1, for all k in {1, 2, . . .}.
MoveGen returns neighbours in alphabetical order (A1,A2,..., G,S).
Tie-breaker: use alphabetical order to break ties.
Note: sum(1, a, a^2, a^3, ..., a^(n-1)) is given by ((1 - a^n)/(1 - a)).
Based on the above data, answer the given subquestions
Q1MCQ1 Mark·Choose one optionDoes the Breadth First Search find the path to the goal?
- AYes
- BNo
- CCannot be determined
- Q2MCQ1 Mark·Choose one option
Does the Best First Search find the path to the goal?
- AYes
- BNo
- CCannot be determined
- Q3MCQ1 Mark·Choose one option
Does the Branch and Bound algorithm find the path to the goal?
- AYes
- BNo
- CCannot be determined
- Q4MCQ1 Mark·Choose one option

- AYes
- BNo
- CCannot be determined
- Q5MCQ1 Mark·Choose one option

- AYes
- BNo
- CCannot be determined
- Q6MCQ1 Mark·Choose one option
Is the heuristic admissible in the given state space?
- AYes
- BNo
- CCannot be determined
Read the passage below, then answer Q7–Q11
TSP
The distance matrix for 5 cities (A to E) and the sorted edge list is provided below.
For each city the distances to other cities are listed in ascending order.
For example, in row one, the distance from A to B is 30, A to C is 32 and so on.

The search tree traversed by TSP BnB shows four segments.
Identify the four segments xy, uv, rs, pq and then answer the given sub-questions.

Attention: A segment is a two-way edge between two cities. After adding/dropping a permanent segment, infer as many new permanent segments as possible before computing the lower bound.
Q7NAT1 Mark·Write the numberWhat is the lower bound on the cost of the tour as per the TSP BnB algorithm discussed in class? Enter a natural number. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. Answer format: 17
Your answer:- Q8Short answer1 Mark·Write the answer
What is the first segment (XY) selected for refining S0? Enter edge label XY NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. Answer format: XY
Your answer: - Q9NAT1 Mark·Write the number
Your answer: - Q10NAT1 Mark·Write the number
How many tours are represented in the node rs? Enter a natural number. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. Answer format: 42
Your answer: - Q11NAT1 Mark·Write the number
Your answer: Read the passage below, then answer Q12–Q18
GAMES

Based on the above data, answer the given subquestions
Q12Short answer1 Mark·Write the answerList the horizon nodes in the best strategy. Enter the node labels as a comma separated list in ASCENDING order. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. Answer format: X,Y,Z
Your answer:- Q13Short answer1 Mark·Write the answer
List the horizon nodes pruned by Alpha-Beta algorithm. Enter the node labels as a comma separated list in ASCENDING order. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. Answer format: X,Y,Z
Your answer: - Q14Short answer1 Mark·Write the answer
Your answer: - Q15Short answer1 Mark·Write the answer
Your answer: - Q16MSQ1 Mark·Choose all correct options
Select the correct statements about the Alpha-Beta algorithm.
- AAlpha-Cut prunes MAX nodes.
- BAlpha-Cut is made by a MIN node.
- CBeta-Cut prunes MIN nodes.
- DBeta-Cut is made by a MAX node.
- Q17MCQ1 Mark·Choose one option
Select the condition that triggers an Alpha-Cut.
- Aeval(child) <= Alpha
- BAlpha < eval(child) < Beta
- CBeta <= eval(child)
- DCannot be determined
- Q18MCQ1 Mark·Choose one option
For a 2-ply game tree with branching factor 3, the number of strategies for MAX-player is __________ .
- A2
- B3
- C2^2
- D2^3
- E3^2
- F3^3
Read the passage below, then answer Q19–Q25
AUTOMATED PLANNING
The domain description of a Blocks World with a single one-armed robot is given below. Note: this is the same domain description used in the weekly assignments.

Tie-breaker: When actions are chosen non-deterministically, choose actions that lead to a plan. Throw away the actions that lead to dead-ends or cycles.
Tie-breaker: Treat the goal description, preconditions and effects as lists that are accessed from left to right. When the elements in a list are pushed one by one to a stack, the last element in the list will be at the top of the stack. It has the effect of reversing the list.
A planning problem is given below, find a plan using the operators and predicates defined in the blocks-world domain.

Based on the above data, answer the given subquestions
Q19NAT1 Mark·Write the numberWhat is the length of the optimal plan? Enter the number of actions in the optimal plan. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. Answer format: 42
Your answer:- Q20MSQ1 Mark·Choose all correct options
Which of the following are applicable actions for the given planning problem?
- APickup(D)
- BPickup(G)
- CPickup(M)
- DUnstack(C,M)
- EUnstack(E,D)
- Q21MSQ1 Mark·Choose all correct options
Which of the following are relevant actions for the given planning problem?
- APickup(G)
- BStack(E,M)
- CStack(G,E)
- DUnstack(C,M)
- EUnstack(E,D)
- Q22MCQ1 Mark·Choose one option
Which of the following can be pushed as the first three elements onto the stack by the Goal Stack Planning algorithm? In the representation below the stack has a bottom on the right marked by the entry END. Use appropriate tie-breakers listed in the main data.
- A{ on(E,M), on(G,E) }; on(E,M); on(G,E); END
- B{ on(E,M), on(G,E) }; on(G,E); on(E,M); END
- Con(G,E); on(E,M); { on(E,M), on(G,E) }; END
- Don(E,M); on(G,E); { on(E,M), on(G,E) }; END
- Q23MCQ1 Mark·Choose one option
For the subgoal ordering given in the goal description (and using the given tie breaking rules), which of the following is the first action popped out of the stack in Goal Stack Planning?
- APickup(G)
- BStack(G,E)
- CUnstack(E,D)
- DUnstack(C,M)
- Q24MCQ1 Mark·Choose one option
For the subgoal ordering given in the goal description (and using the given tie breaking rules), does the Goal Stack Planning algorithm find an optimal plan?
- AYes
- BNo
- CCannot be determined
- Q25MCQ1 Mark·Choose one option
If the subgoals in the goal description are swapped places then does the Goal Stack Planning algorithm find an optimal plan?
- AYes
- BNo
- CCannot be determined