Quiz Space

AI: Search Methods for Problem Solving · Quiz 2 · 23 Nov 2025 · September 2025 term

Question 24: AUTOMATED PLANNING The domain description of a Blocks Wo…

Question 24

+1 markOne correct option

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.

text
PREDICATES
armEmpty The arm is not holding any block, it is empty.
holding(X) The arm is holding X.
onTable(X) X is on the table.
clear(X) X has nothing above it, it is clear.
on(X,Y) X is directly placed on Y.
OPERATORS
Pickup(X): pick up X from the table.
Preconditions: { armEmpty, clear(X), onTable(X) }
Add Effects : { holding(X) }
Del Effects : { armEmpty, onTable(X) }
Putdown(X): place X on the table.
Preconditions: { holding(X) }
Add Effects : { armEmpty, onTable(X) }
Del Effects : { holding(X) }
Unstack(X,Y): pick up X that is directly sitting on Y.
Preconditions: { armEmpty, clear(X), on(X,Y) }
Add Effects : { clear(Y), holding(X) }
Del Effects : { armempty, on(X,Y) }
Stack(X,Y): place X directly on top of Y.
Preconditions: { holding(X), clear(Y) }
Add Effects : { armEmpty, on(X,Y) }
Del Effects : { holding(X), clear(Y) }

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.

Start: { clear(A), clear(B), holding(A), on(B,C), onTable(C) }

Goal Description: { onTable(B), on(A,B), onTable(C) }

Based on the above data, answer the given subquestions.

Which of the following can be pushed as the first three elements onto the stack by the Goal Stack Planning algorithm? In the stack representation, the bottom is on the right side marked by the entry BOTTOM. Use appropriate tie-breakers listed in the main data.

  1. A

    { onTable(B), on(A,B), onTable(C) }; onTable(B); on(A,B); onTable(C); BOTTOM

  2. B

    { onTable(B), on(A,B), onTable(C) }; onTable(C); on(A,B); onTable(B); BOTTOM

  3. C

    onTable(B); on(A,B); onTable(C); { onTable(B), on(A,B), onTable(C) }; BOTTOM

  4. D

    onTable(C); on(A,B); onTable(B); { onTable(B), on(A,B), onTable(C) }; BOTTOM

Show answer

Correct answer

  • D

    onTable(C); on(A,B); onTable(B); { onTable(B), on(A,B), onTable(C) }; BOTTOM

Question 24 of 25 in the IIT Madras BS AI: Search Methods for Problem Solving (AI Search Methods) Quiz 2 paper sat on 23 Nov 2025, in the September 2025 term (IIT M IMPROVEMENT AN EXAM QIA2 23 Nov 2025). It carries 1 mark.

More questions from this paper

  1. Q1Does the Depth First Search algorithm find the path to the goal?
  2. Q2Does the Best-First Search algorithm find the path to the goal?
  3. Q3Does the Branch and Bound algorithm find the path to the goal?
  4. Q4Based on the above data, answer the given subquestions.
  5. Q5Based on the above data, answer the given subquestions.
  6. Q6Is the heuristic admissible in the given state space?
  7. Q7Which of the following algorithms can be used to find the most expensive path to goal in a state space where every move…
  8. Q8If h(x) and k(x) are admissible then which of the following is/are admissible?
  9. Q9TSP The distance matrix for 5 cities (A to E) and the sorted edge list is provided below. For each city the distances t…
  10. Q10TSP The distance matrix for 5 cities (A to E) and the sorted edge list is provided below. For each city the distances t…
  11. Q11TSP The distance matrix for 5 cities (A to E) and the sorted edge list is provided below. For each city the distances t…
  12. Q12TSP The distance matrix for 5 cities (A to E) and the sorted edge list is provided below. For each city the distances t…
  13. Q13TSP The distance matrix for 5 cities (A to E) and the sorted edge list is provided below. For each city the distances t…
  14. Q14List the horizon nodes in the best strategy for the MAX player.\ Enter node labels as comma separated list in ASCENDING…
  15. Q15Enter the total number of strategies available for the MAX player.\ Enter an integer\ NO SPACES, TABS, DOTS, BRACKETS O…
  16. Q16Of all the strategies available for the MAX player, identify the MAX strategy that is most favorable for the MIN player…
  17. Q17List the horizon nodes pruned by Alpha-Beta algorithm.\ Enter node labels as comma separated list in ASCENDING order.\ …
  18. Q18List the horizon nodes in the initial cluster formed by SSS algorithm. Enter node labels as comma separated list in ASC…
  19. Q19Solve the game tree using SSS algorithm. List the horizon nodes (not in the initial cluster) that are assigned SOLVED s…
  20. Q20Based on the above data, answer the given subquestions.
  21. Q21AUTOMATED PLANNING The domain description of a Blocks World with a single one-armed robot is given below. Note: this is…
  22. Q22AUTOMATED PLANNING The domain description of a Blocks World with a single one-armed robot is given below. Note: this is…
  23. Q23AUTOMATED PLANNING The domain description of a Blocks World with a single one-armed robot is given below. Note: this is…
  24. Q25AUTOMATED PLANNING The domain description of a Blocks World with a single one-armed robot is given below. Note: this is…