Free Practice Quiz Question List

2 Problem Solving and Search Online Quiz Questions

Use this free practice quiz with 20 questions to review 2 Problem Solving and Search, test your knowledge, and prepare for your next test or exam.

20 questions
01
True or false
1 point

The goal test determines whether a delivery robot has reached its destination.

  1. A

    True

  2. B

    False

02
Choose one
1 point

A robot can reach a charging station by several routes. Each move through a difficult square uses extra energy, and the objective is to minimize total energy. Which part of the problem definition represents the energy accumulated along a route?

  1. A

    Initial state

  2. B

    Path cost

  3. C

    Goal test

  4. D

    Transition model

03
Fill in the blank
1 point

In a search algorithm, the collection of states that have been discovered but not yet explored is called the .

04
Written response
1 point

On a grid where each move goes one square horizontally or vertically, what is the name of the heuristic that estimates remaining moves by adding the horizontal and vertical differences from the goal?

05
Choose one
1 point

Which uninformed search strategy explores the shallowest paths first, typically using a queue?

  1. A

    Depth-first search

  2. B

    Breadth-first search

  3. C

    Uniform-cost search

  4. D

    Greedy best-first search

06
True or false
1 point

In graph search on a finite state space, tracking duplicate states can prevent a search from revisiting a cycle indefinitely.

  1. A

    True

  2. B

    False

07
Choose all
1 point

Select all statements that accurately describe breadth-first search or uniform-cost search.

  1. A

    Breadth-first search explores shallowest paths first and finds a fewest-action solution when all action costs are equal.

  2. B

    Breadth-first search always finds the least-cost solution even when action costs differ.

  3. C

    Uniform-cost search expands the frontier path with the lowest cost so far.

  4. D

    Uniform-cost search always chooses a path with the fewest actions.

08
Written response
1 point

What search concept describes the typical number of successor states available from each state?

09
Fill in the blank
1 point

Greedy best-first search prioritizes a state using its heuristic estimate, but it ignores the and therefore is not generally guaranteed to find a least-cost path.

10
Choose one
1 point

For A* tree search to find an optimal solution under the stated heuristic condition, which property must the heuristic have?

  1. A

    It gives the exact remaining cost for every state.

  2. B

    It estimates only the cost already paid from the start.

  3. C

    It never estimates a remaining cost greater than the true remaining cost.

  4. D

    It assigns the same estimate to every state.

11
Choose all
1 point

Select all statements about A* and heuristic conditions that are supported by the material.

  1. A

    An admissible heuristic allows A* tree search to find an optimal solution.

  2. B

    For graph search, heuristic consistency is a common condition supporting optimality without reopening explored states.

  3. C

    A* uses only the estimated remaining cost and ignores cost so far.

  4. D

    A* is guaranteed to find an optimal solution regardless of the heuristic.

12
Open ended
1 point

A map has roads of different lengths. Explain why breadth-first search and uniform-cost search might choose different routes, and identify which strategy is suitable for minimizing total distance.

13
Choose one
1 point

A robot can open a locked door only after collecting a key. Two situations have the robot in the same square, but in one it has the key and in the other it does not. What should the state representation do to support valid planning?

  1. A

    Include whether the robot has collected the key in its state.

  2. B

    Record only the robot's current square, since the key is not its location.

  3. C

    Remove the door from the goal test.

  4. D

    Use the path depth as the transition model.

14
Choose one
1 point

In a route-finding problem, two different paths can reach the same intersection, and roads can form cycles. Why should graph search track explored states?

  1. A

    To ensure each state appears only once in every possible search tree

  2. B

    To avoid repeatedly visiting the same state when paths converge or cycles occur

  3. C

    To make every action have the same cost

  4. D

    To guarantee that the first path found is least-cost

15
Choose one
1 point

Which uninformed search strategy explores the shallowest paths first?

  1. A

    Breadth-first search

  2. B

    Depth-first search

  3. C

    Greedy best-first search

  4. D

    Uniform-cost search

16
Choose one
1 point

A planner has limited memory and needs to explore a possible route, but does not need a shortest-path guarantee. Which strategy best fits these priorities?

  1. A

    Breadth-first search, because it uses the least memory and guarantees the lowest cost

  2. B

    Uniform-cost search, because it always explores the deepest path first

  3. C

    Depth-first search, because it can use less memory when a shortest-path guarantee is unnecessary

  4. D

    Greedy best-first search, because it guarantees the fewest actions

17
Choose one
1 point

A* is choosing which state to expand next. State A has g=4g=4 and h=5h=5, State B has g=6g=6 and h=2h=2, and State C has g=2g=2 and h=7h=7. Which state does A* select?

  1. A

    State A

  2. B

    State B

  3. C

    State C

18
True or false
1 point

True or false: Greedy best-first search can choose a state that appears close to the goal even when the path to that state has already cost a great deal.

  1. A

    True

  2. B

    False

19
Written response
1 point

In informed search, what does the heuristic h(n)h(n) estimate for a state nn?

20
Written response
1 point

On a grid where each move changes position by one square in one of the four cardinal directions, what is the Manhattan distance from (2,3)(2,3) to (7,5)(7,5), measured in moves?