chapter

    Uninformed Search and Heuristic Search Practice Questions for Gate Da

    Solve 367+ Uninformed Search and Heuristic Search practice questions for GATE DA with answers and detailed solutions. Free sample questions below.

    Try a question

    Answer it here to see how it works. Nothing is recorded until you sign in.

    Question 1
    Level 1: Warm-up

    In A* search, an admissible heuristic never overestimates the true cost. Suppose the true cost from the start node to the goal is 20. A student assumes that any heuristic value is admissible, ignoring the condition that must also be admissible for all intermediate nodes. If the actual true cost from an intermediate node to is 6, and the student sets , what is the minimum amount by which overestimates the true cost from to , thus violating admissibility at node ?

    Question 2
    Level 1: Warm-up

    A heuristic is admissible if it never overestimates the true optimal cost to the goal. For a specific node , the true optimal cost is . Which of the following values could be a valid admissible heuristic for this node?

    Question 3
    Level 1: Warm-up

    Which of the following statements correctly estimates the space complexity of Breadth-First Search (BFS) and Depth-First Search (DFS)?

    Question 4
    Level 1: Warm-up

    Which of the following statements correctly estimates the worst-case space complexity of Breadth-First Search (BFS) and Depth-First Search (DFS) in terms of branching factor and maximum depth ?

    Question 5
    Level 1: Warm-up

    For a heuristic function to be admissible in A* search, it must satisfy the condition for all nodes . If the true optimal cost from node to the goal is 15, how many of the following heuristic values for are valid for an admissible heuristic?

    Values: 10, 15, 18, 0, -2

    Question 6
    Level 1: Warm-up

    Let be the true optimal cost from node to the goal. For a heuristic to be admissible, it must satisfy . If , what is the maximum possible value of such that the heuristic remains admissible?

    Question 7
    Level 1: Warm-up

    A heuristic is consistent if for all nodes and successors . Consider a graph with three nodes: Start , intermediate , and Goal . The edge costs are and . The heuristic values are , , and . What is the maximum integer value of such that the heuristic remains consistent?

    Question 8
    Level 1: Warm-up

    A heuristic is consistent if for all edges. Consider a linear path with edge costs , , and . The heuristic values are , , , and . Assuming for all nodes, how many non-negative integer values of make the heuristic consistent along this path?

    Question 9
    Level 1: Warm-up

    A student makes the invalid assumption that for a consistent heuristic, the estimated cost must satisfy for all edges. If and the edge cost is , what is the minimum value of that satisfies the student's invalid assumption?

    Question 10
    Level 1: Warm-up

    According to the standard classification of search strategies, how many of the following algorithms are strictly categorized as "uninformed" (blind) search?

    1. Breadth-First Search (BFS)
    2. Depth-First Search (DFS)
    3. A* Search
    4. Uniform Cost Search
    5. Greedy Best-First Search
    Free preview ends here

    Login to view the complete practice questions and solutions

    Creating an account is free. You get the rest of this chapter, step-by-step solutions, and a study plan built around the topics you are actually weak at.

    Explore complete test series, official past papers, and chapter-wise study tools.

    Why MastersUp

    Personalised first. High quality throughout.

    Most platforms hand everyone the same content. Here the content moves with your performance, topic by topic.

    Built around you, not around a syllabus PDF

    Every answer you give moves your topic-level intelligence rate. The next question, the next revision card and tomorrow's plan all change with it.

    Revision that hits your weak spots

    We only revise topics you have actually attempted and are still below the safe bar on — never the same chapter on repeat.

    Questions calibrated to the real exam

    Each question carries a measured toughness. You are served a rung above your current level, so practice keeps stretching you.

    Notes written for recall, not for volume

    Full lesson cards for first study, curated short-note cards for the last mile — with derivations, traps and exam patterns marked.

    One place for everything

    Notes, chapter practice, previous-year questions, test series and full-length papers — all feeding one picture of your preparation.

    Honest progress

    No vanity streaks. Progress here means chapters mastered and accuracy that held up on harder questions.

    Unlock the whole course

    Full notes and short notes, the complete question bank with worked solutions, mock tests, full-length papers, and an adaptive plan that rebuilds itself as you improve.

    Uninformed Search and Heuristic Search Practice Questions for GATE DA

    Solve 367+ Uninformed Search and Heuristic Search practice questions for GATE DA with answers and detailed solutions. Free sample questions below.

    Chapter Roadmap: Search Strategies in AI

    Chapter Journey: From Blind Search to Smart Search

    TOPIC 1: Uninformed Search (Current)

    BFS, DFS & Strategy Classification

    Learn how computers explore state spaces blindly. Understand the trade-offs between Breadth-First and Depth-First search.

    Weightage Hint: High Foundation
    TOPIC 2: Heuristic Search (Next)

    A* Search & Admissible Heuristics

    Introduce smart guesses, called heuristics, to guide search. Master the A-star algorithm and the concept of admissibility.

    What you will master in this topic:
    1. The mechanics of BFS and DFS.
    2. How to classify search strategies based on completeness, optimality, time, and space.
    3. Solving complex tracing questions on state expansion with custom constraints.

    The Search Problem: States, Actions, and Goals

    Defining the Search Space

    To solve any problem using search, we need four components:

    1. Initial State: Where you start ().
    2. Actions: What moves are available? For a state , returns possible moves.
    3. Transition Model: Where do you end up? gives the new state after action .
    4. Goal Test: Is this the solution? returns true or false.
    The State Space Graph
    • Nodes: Represent states.
    • Edges: Represent actions with costs.
    • Path: A sequence of states from start to goal.
    Key Insight: Search algorithms differ only in which node they choose to expand next.

    Uninformed Search and Heuristic Search: Solved Questions with Step-by-Step Explanations (10 Problems)

    Question 1 · Artificial Intelligence NAT

    In A* search, an admissible heuristic never overestimates the true cost. Suppose the true cost from the start node to the goal is 20. A student assumes that any heuristic value is admissible, ignoring the condition that must also be admissible for all intermediate nodes. If the actual true cost from an intermediate node to is 6, and the student sets , what is the minimum amount by which overestimates the true cost from to , thus violating admissibility at node ?

    Correct Answer:

    4.00

    Step-by-Step Solution

    Key idea: Admissibility must hold for every node, not just the start node.

    Step 1: The true cost from to is .

    Step 2: The student sets .

    Step 3: The overestimation at node is .

    Answer: 4.00

    Question 2 · Artificial Intelligence MSQ

    A heuristic is admissible if it never overestimates the true optimal cost to the goal. For a specific node , the true optimal cost is . Which of the following values could be a valid admissible heuristic for this node?

    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    ["A","B","D"]

    Step-by-Step Solution

    Key idea: This is a reverse-engineering question, recognisable because it provides a boundary condition () and asks to identify valid values that satisfy a definition.

    Step 1: Recall the mathematical definition of admissibility: .

    Step 2: Substitute the given true optimal cost: .

    Step 3: Evaluate Option A: $10$ is and . Valid.

    Step 4: Evaluate Option B: $8$ is and . Valid.

    Step 5: Evaluate Option C: $12$ is . This overestimates the cost, so it is invalid.

    Step 6: Evaluate Option D: $0$ is and . Valid (a heuristic of 0 is always admissible, reducing A* to Uniform Cost Search).

    Answer: Options A, B, and D are correct.

    Question 3 · Artificial Intelligence MCQ

    Which of the following statements correctly estimates the space complexity of Breadth-First Search (BFS) and Depth-First Search (DFS)?

    1. A.

      BFS requires space, while DFS requires space.

    2. B.

      BFS requires space, while DFS requires space.

    3. C.

      Both BFS and DFS require space in the worst case.

    4. D.

      Both BFS and DFS require space in the worst case.

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: BFS stores all nodes at the current depth, while DFS only stores the current path and its siblings.

    Step 1: Recall the space complexity of BFS. In the worst case, it stores all nodes at depth , which is .

    Step 2: Recall the space complexity of DFS. It only needs to store the current path from the root to the leaf (depth ) and the unexpanded siblings at each level, giving .

    Step 3: Compare with the options. Option A matches both complexities correctly.

    Answer: Option A.

    Question 4 · Artificial Intelligence MCQ

    Which of the following statements correctly estimates the worst-case space complexity of Breadth-First Search (BFS) and Depth-First Search (DFS) in terms of branching factor and maximum depth ?

    1. A.

      BFS requires space, while DFS requires space.

    2. B.

      Both BFS and DFS require space in the worst case.

    3. C.

      BFS requires space, while DFS requires space.

    4. D.

      Both BFS and DFS require space in the worst case.

    Correct Answer:

    C

    Step-by-Step Solution

    Key idea: This is an estimation question, recognizable because it asks to evaluate the truth of statements regarding asymptotic space bounds.

    Step 1: Recall the space complexity of BFS. It stores all generated nodes in the frontier, which grows exponentially as .

    Step 2: Recall the space complexity of DFS. It only stores the current path and unexpanded siblings, which is linear with respect to depth, .

    Step 3: Compare with the options. Option C correctly assigns to BFS and to DFS.

    Answer: Option C.

    Question 5 · Artificial Intelligence MCQ

    For a heuristic function to be admissible in A* search, it must satisfy the condition for all nodes . If the true optimal cost from node to the goal is 15, how many of the following heuristic values for are valid for an admissible heuristic?

    Values: 10, 15, 18, 0, -2

    1. A.

      2

    2. B.

      3

    3. C.

      4

    4. D.

      5

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: This is a construction question, recognizable because it asks to count how many values satisfy a specific mathematical condition.

    Step 1: The condition for admissibility is . We are given .

    Step 2: Evaluate each value:

    • 10: (Valid)
    • 15: (Valid)
    • 18: (Invalid, overestimates)
    • 0: (Valid)
    • -2: (Invalid, negative)

    Step 3: Count the valid values: 10, 15, and 0. There are 3 valid values.

    Answer: Option B.

    Question 6 · Artificial Intelligence MCQ

    Let be the true optimal cost from node to the goal. For a heuristic to be admissible, it must satisfy . If , what is the maximum possible value of such that the heuristic remains admissible?

    1. A.

      0

    2. B.

      10

    3. C.

      19

    4. D.

      20

    Correct Answer:

    D

    Step-by-Step Solution

    Key idea: This is an observation question focusing on the boundary condition of admissibility, recognizable because it asks for the "maximum possible value" given a strict inequality definition.

    Step 1: Recall the definition of an admissible heuristic: .

    Step 2: Note that the inequality is non-strict (). This means can be exactly equal to the true cost .

    Step 3: Given , the maximum value can take without violating the condition is exactly 20.

    Answer: Option D.

    Question 7 · Artificial Intelligence NAT

    A heuristic is consistent if for all nodes and successors . Consider a graph with three nodes: Start , intermediate , and Goal . The edge costs are and . The heuristic values are , , and . What is the maximum integer value of such that the heuristic remains consistent?

    Correct Answer:

    7.00

    Step-by-Step Solution

    Key idea: Consistency requires the triangle inequality: .

    Step 1: Apply the condition to the edge from to : .

    Step 2: Substitute the given values: .

    Step 3: This gives . The maximum integer value for is 7.

    Step 4: Verify the other edge: , which is true.

    Answer: 7.00

    Question 8 · Artificial Intelligence NAT

    A heuristic is consistent if for all edges. Consider a linear path with edge costs , , and . The heuristic values are , , , and . Assuming for all nodes, how many non-negative integer values of make the heuristic consistent along this path?

    Correct Answer:

    8.00

    Step-by-Step Solution

    Key idea: Consistency requires the triangle inequality to hold for every edge in the graph.

    Step 1: Check the edge : . (True)

    Step 2: Check the edge : . (True)

    Step 3: Check the edge : .

    Step 4: The problem states , so .

    Step 5: The non-negative integer values for are 0, 1, 2, 3, 4, 5, 6, 7.

    Step 6: Count the values: there are exactly 8 values.

    Answer: 8.00

    Question 9 · Artificial Intelligence NAT

    A student makes the invalid assumption that for a consistent heuristic, the estimated cost must satisfy for all edges. If and the edge cost is , what is the minimum value of that satisfies the student's invalid assumption?

    Correct Answer:

    8.00

    Step-by-Step Solution

    Key idea: Consistency requires the triangle inequality . The student's assumption reverses this relationship.

    Step 1: The student's invalid assumption is .

    Step 2: Substitute the given values: .

    Step 3: This simplifies to .

    Step 4: The minimum value that satisfies this inequality is exactly 8.

    Answer: 8.00

    Question 10 · Artificial Intelligence MCQ

    According to the standard classification of search strategies, how many of the following algorithms are strictly categorized as "uninformed" (blind) search?

    1. Breadth-First Search (BFS)
    2. Depth-First Search (DFS)
    3. A* Search
    4. Uniform Cost Search
    5. Greedy Best-First Search
    1. A.

      1

    2. B.

      2

    3. C.

      3

    4. D.

      4

    Correct Answer:

    C

    Step-by-Step Solution

    Key idea: Uninformed search strategies do not use any domain-specific knowledge (heuristics) to guide the search.

    Step 1: BFS and DFS are classic uninformed search algorithms. (Count = 2)

    Step 2: Uniform Cost Search expands the node with the lowest path cost , without using a heuristic . It is also uninformed. (Count = 3)

    Step 3: A* Search uses , and Greedy Best-First Search uses . Both are informed (heuristic) searches.

    Step 4: Total uninformed algorithms = 3 (BFS, DFS, Uniform Cost Search).

    Answer: 3

    More practice questions in this unit