chapter

    Uninformed Search and Heuristic Search Pyqs for Gate Da

    Solve 4+ Uninformed Search and Heuristic Search previous year 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
    2026 PYQ
    Level 3: Exam Standard

    Which of the following algorithms is NOT an example of uninformed search?

    Question 2
    2025 PYQ
    Level 3: Exam Standard
    The state graph shows the action cost along the edges and the heuristic function associated with each state.

    S A E B C D G 4 1 2 2 2 2 3 3 h=2 h=2 h=6 h=2 h=0 h=6
    Suppose algorithm is applied on this state graph using priority queue to store the frontier. In what sequence are the nodes expanded?
    Question 3
    2024 PYQ
    Level 3: Exam Standard
    Let
    and
    be two admissible heuristics used in
    search.
    Which ONE of the following expressions is always an admissible heuristic?
    Question 4
    2024 PYQ
    Level 3: Exam Standard
    Consider a state space where the start state is number 1. The successor function for
    the state numbered n returns two states numbered n+1 and n+2. Assume that the
    states in the unexpanded state list are expanded in the ascending order of numbers
    and the previously expanded states are not added to the unexpanded state list.
    Which ONE of the following statements about breadth-first search (BFS) and
    depth-first search (DFS) is true, when reaching the goal state number 6?
    Free preview ends here

    Login to view the complete previous-year 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 PYQs for GATE DA

    Solve 4+ Uninformed Search and Heuristic Search previous year 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 (4 Problems)

    Question 1 · Artificial Intelligence · 2026 MCQ

    Which of the following algorithms is NOT an example of uninformed search?

    1. A.

      Breadth First Search

    2. B.

      Depth First Search

    3. C.

      A* Search

    4. D.

      Depth-limited Search

    Correct Answer:

    C

    Step-by-Step Solution

    Insight: Uninformed search algorithms rely solely on the problem definition (states, actions, costs) without any domain-specific knowledge to guide the search toward the goal.

    Exam route: Identify which algorithm uses a heuristic function . BFS, DFS, and Depth-limited Search explore blindly. A* Search explicitly uses , making it an informed (heuristic) search.

    Learning route:

    Step 1: Define Uninformed Search: Algorithms that have no additional information about states beyond the problem definition. They do not know if a move brings them closer to the goal. Examples: BFS, DFS, Uniform Cost Search, Depth-limited Search, Iterative Deepening DFS.

    Step 2: Define Informed Search: Algorithms that use problem-specific knowledge (a heuristic function ) to estimate the cost to the goal and prioritize promising paths. Examples: A* Search, Greedy Best-First Search.

    Step 3: Evaluate the options: Breadth First Search, Depth First Search, and Depth-limited Search are all classic uninformed strategies. A* Search is the quintessential informed search algorithm.

    Answer: A* Search.

    Question 2 · Artificial Intelligence · 2025 MCQ
    The state graph shows the action cost along the edges and the heuristic function associated with each state.

    S A E B C D G 4 1 2 2 2 2 3 3 h=2 h=2 h=6 h=2 h=0 h=6
    Suppose algorithm is applied on this state graph using priority queue to store the frontier. In what sequence are the nodes expanded?
    1. A.

      S,A,E,C,B,D,G

    2. B.

      S,E,A,C,B,D,G

    3. C.

      S,A,E,B,C,D,G

    4. D.

      S,A,B,E,C,D,G

    Correct Answer:

    C

    Step-by-Step Solution

    Insight: A* expansion order is strictly dictated by the value, with mandatory updates to if a cheaper path to an already discovered node is found.

    Exam route: Calculate for all generated nodes. S(f=6) A(f=6), E(f=7). Pop A B(f=8). Pop E update B to f=5, add C(f=9). Pop B(f=5) C is already f=9 (better). Pop C(f=9) D(f=8). Pop D(f=8) G(f=9). Pop G.

    Learning route:

    Step 1: Init: Open = {S(f=0+6=6)}.

    Step 2: Pop S. Gen A(g=4, h=2, f=6), E(g=1, h=6, f=7). Open = {A(f=6), E(f=7)}.

    Step 3: Pop A (lowest f). Gen B(g=4+2=6, h=2, f=8). Open = {E(f=7), B(f=8)}.

    Step 4: Pop E (lowest f). Gen B(g=1+2=3, h=2, f=5). Since 5 < 8, update B's cost! Gen C(g=1+2=3, h=6, f=9). Open = {B(f=5), C(f=9)}.

    Step 5: Pop B (lowest f). Gen C(g=3+2=5, h=6, f=11). Existing C has f=9, which is better, so ignore. Open = {C(f=9)}.

    Step 6: Pop C. Gen D(g=3+3=6, h=2, f=8). Open = {D(f=8)}.

    Step 7: Pop D. Gen G(g=6+3=9, h=0, f=9). Open = {G(f=9)}.

    Step 8: Pop G. Goal reached.

    Expansion sequence: S, A, E, B, C, D, G.

    Answer: S, A, E, B, C, D, G.

    Question 3 · Artificial Intelligence · 2024 MCQ
    Let
    and
    be two admissible heuristics used in
    search.
    Which ONE of the following expressions is always an admissible heuristic?
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    D

    Step-by-Step Solution

    Insight: An admissible heuristic must never overestimate the true cost . The absolute difference of two admissible heuristics is bounded by their maximum, which is itself bounded by .

    Exam route: Check each option against a counterexample. For , if , sum is 16 > 10 (fails). For , since , the maximum possible difference is . Thus, , guaranteeing admissibility.

    Learning route:

    Step 1: Recall definition: is admissible if for all .

    Step 2: Test : Let . Sum = 16 > 10. Not admissible.

    Step 3: Test : Let . Product = 16 > 10. Not admissible.

    Step 4: Test : Let . Quotient = 16 > 10. Not admissible.

    Step 5: Test : Since both and are between $0$ and , their difference must lie in the range . Taking the absolute value ensures the result is in . Therefore, it never overestimates and is always admissible.

    Answer:

    Question 4 · Artificial Intelligence · 2024 MCQ
    Consider a state space where the start state is number 1. The successor function for
    the state numbered n returns two states numbered n+1 and n+2. Assume that the
    states in the unexpanded state list are expanded in the ascending order of numbers
    and the previously expanded states are not added to the unexpanded state list.
    Which ONE of the following statements about breadth-first search (BFS) and
    depth-first search (DFS) is true, when reaching the goal state number 6?
    1. A.

      BFS expands more states than DFS.

    2. B.

      DFS expands more states than BFS.

    3. C.

      Both BFS and DFS expand equal number of states.

    4. D.

      Both BFS and DFS do not reach the goal state number 6.

    Correct Answer:

    C

    Step-by-Step Solution

    Insight: The problem explicitly overrides standard BFS/DFS selection rules by stating "states in the unexpanded state list are expanded in the ascending order of numbers".

    Exam route: Since both algorithms are forced to pick the smallest numbered state from the unexpanded list at every step, their expansion sequence will be identical. Thus, they expand the same number of states.

    Learning route:

    Step 1: Initialize unexpanded list with start state: {1}.

    Step 2: Pop 1 (min). Successors: 2, 3. Unexpanded: {2, 3}.

    Step 3: Pop 2 (min). Successors: 3, 4. Unexpanded: {3, 4}.

    Step 4: Pop 3 (min). Successors: 4, 5. Unexpanded: {4, 5}.

    Step 5: Pop 4 (min). Successors: 5, 6. Unexpanded: {5, 6}.

    Step 6: Pop 5 (min). Successors: 6, 7. Unexpanded: {6, 7}.

    Step 7: Pop 6 (min). Goal state 6 reached.

    Expanded states for both BFS and DFS: 1, 2, 3, 4, 5, 6. Total = 6 states.

    Answer: Both BFS and DFS expand equal number of states.

    More previous year questions (pyqs) in this unit