GATE DA Artificial Intelligence Previous Year Questions

18 solved GATE DA questions on Artificial Intelligence, drawn from 3 exam years and grouped by year. Every question shows the official answer and a step-by-step solution.

Want to practise this topic and ask follow-up questions? Explore Success Tracker.

Revision companion

Artificial Intelligence: define the state space before searching

Specify the state representation, actions, goal test, and cost model before choosing a search strategy. Logical inference requires valid rules applied to a stated knowledge base. These selected foundations connect search algorithms, propositional and first-order logic, constraint satisfaction, and planning. They are not a complete syllabus.

Our study notes and original examples support the PYQs below; they are not official exam questions or a replacement for the current syllabus.

Before you start

  • Graphs, trees, queues, stacks, and basic complexity notation.
  • Propositional logic connectives (AND, OR, NOT, implication) and truth tables.

Concepts to revise before solving

Uninformed search strategies

BFS explores nodes in FIFO order and finds the shallowest goal; it is complete and optimal for unit-cost edges but uses O(b^d) memory. DFS explores depth-first using LIFO and uses O(bd) memory but is neither complete in infinite spaces nor optimal. Iterative deepening combines DFS memory efficiency with BFS completeness.

Check yourself: Is the search space finite, and does the cost model match the strategy's guarantee?

Informed search and A*

A* expands the node with the smallest f(n) = g(n) + h(n), where g is the path cost so far and h is a heuristic estimate to the goal. A* is optimal when h is admissible (never overestimates). Consistency (h(n) ≤ cost(n, n′) + h(n′)) ensures nodes are not re-expanded. A non-admissible heuristic can find suboptimal solutions.

Check yourself: Does your heuristic value ever exceed the true remaining cost for any node?

Propositional and first-order logic

An implication P → Q is false only when P is true and Q is false. Modus Ponens derives Q from P and P → Q. Resolution works on clausal form: resolve two clauses sharing complementary literals. First-order logic adds quantifiers: ∀x P(x) requires P to hold for every domain element; ∃x P(x) requires at least one.

Check yourself: Have you converted to clausal form before applying resolution?

Constraint satisfaction problems

A CSP has variables, domains, and constraints. Backtracking search assigns variables one at a time and backtracks on constraint violation. Arc consistency prunes domain values that have no supporting assignment in a neighboring variable. Forward checking removes inconsistent values from unassigned neighbors after each assignment.

Check yourself: After pruning, does every remaining value in each domain participate in at least one consistent assignment with each neighbor?

Knowledge representation and planning

Planning represents states as sets of propositions and actions as precondition-effect pairs. An action is applicable when its preconditions hold in the current state; applying it adds its positive effects and removes its negative effects. Forward search applies actions from the initial state toward the goal; backward search regresses the goal through relevant actions.

Check yourself: Are all preconditions of the action satisfied in the current state before applying it?

Mistakes to avoid

Using a non-admissible heuristic with A* and expecting an optimal solution.
A* guarantees optimality only when h never overestimates. Verify admissibility by checking h(n) ≤ h*(n) for every node.
Confusing DFS completeness with BFS completeness.
BFS is complete in finite-branching spaces; DFS is not complete in infinite spaces and can loop without cycle detection.
Applying an action whose preconditions are not fully satisfied.
Check every precondition against the current state before applying the action's effects.

Original teaching example · not a PYQ

Work through the reasoning

Original example: apply A* to find the shortest path from S to G. Edges: S→A (cost 1), S→B (cost 4), A→B (cost 2), A→G (cost 6), B→G (cost 3). Heuristic: h(S)=5, h(A)=4, h(B)=2, h(G)=0. Verify admissibility.

  1. Admissibility check: true shortest paths are S→A→B→G = 6, A→B→G = 5, B→G = 3, G = 0. h values 5, 4, 2, 0 never exceed these, so h is admissible.
  2. Initialize open set: {S: f = 0+5 = 5}. Expand S: add A (g=1, f=1+4=5) and B (g=4, f=4+2=6). Open: {A:5, B:6}.
  3. Expand A (f=5): add B via A (g=3, f=3+2=5, improves B from 6) and G via A (g=7, f=7+0=7). Open: {B:5, G:7}.
  4. Expand B (f=5): add G via B (g=3+3=6, f=6+0=6, improves G from 7). Open: {G:6}.
  5. Expand G (f=6): goal reached. Path: S→A→B→G with total cost 6.

Optimal path: S → A → B → G with cost 1 + 2 + 3 = 6.

Try it before reading the answer

Separate original check: a CSP has variables X, Y, Z each with domain {1, 2, 3} and constraints X ≠ Y, Y ≠ Z, and X < Z. How many solutions exist? List them.

Show answer and reasoning

Three solutions: (1, 3, 2), (1, 2, 3), (2, 1, 3).

X < Z restricts pairs to (X,Z) ∈ {(1,2), (1,3), (2,3)}. For (1,2): Y ≠ 1 and Y ≠ 2, so Y = 3 → (1,3,2). For (1,3): Y ≠ 1 and Y ≠ 3, so Y = 2 → (1,2,3). For (2,3): Y ≠ 2 and Y ≠ 3, so Y = 1 → (2,1,3). All three satisfy every constraint.

Go deeper with free learning resources

Supplemental reading, not an official GATE reading list or an endorsement of these notes.

Apply this to the previous-year questions

Previous-year questions by year

This page shows 18 recent questions from the released archive, newest first. For older questions and complete papers, browse all GATE DA papers. Questions can carry more than one subject tag; counts are not marks weightage.

GATE DA 20267 questions

  1. Set 1 Q13Which of the following algorithms is NOT an example of uninformed search?MCQ · +1 marks · Easy
  2. Set 1 Q14Which of the following statements is NOT true? (The names of the predicates are intuitive.)MCQ · +1 marks · Medium
  3. Set 1 Q23In the following table, the Task column lists a few tasks related to machine learning. The Algorithm column lists a few algorithms. Each entry “t” from the…MSQ · +1 marks · Easy
  4. Set 1 Q24Sentence XX is said to entail Sentence YY if whenever XX is TRUE, YY also must hold TRUE. Which of the following statements is/are correct if XX entails…MSQ · +1 marks · Medium
  5. Set 1 Q30Consider the game tree for a two-player turn-taking minimax game as shown in the figure. The value of a terminal node represents the utility of the game state…NAT · +1 marks · Easy
  6. Set 1 Q38Assume that a Creative (CC) person will Succeed (SS) if the person is also Disciplined (DD), but will not succeed otherwise. Now, consider the following…MCQ · +2 marks · Hard
  7. Set 1 Q48Let P(x)P(x) be a predicate. Which of the following statements is/are NOT valid in first-order logic?MSQ · +2 marks · Medium

GATE DA 20254 questions

  1. Set 1 Q15Let pp and qq be any two propositions. Consider the following propositional statements.…MCQ · +1 marks · Easy
  2. Set 1 Q26Which of the following statements is/are correct in a Bayesian network?MSQ · +1 marks · Medium
  3. Set 1 Q43Consider game trees Tree-1 and Tree-2 as shown. The first level is a MAX agent and the second level is a MIN agent. The value in the square node is the output…MCQ · +2 marks · Medium
  4. Set 1 Q44The state graph shows the action cost along the edges and the heuristic function hh associated with each state. [figure] Suppose AA^* algorithm is applied on…MCQ · +2 marks · Medium

GATE DA 20247 questions

  1. Set 1 Q23Let h1h_1 and h2h_2 be two admissible heuristics used in AA^* search. Which ONE of the following expressions is always an admissible heuristic?MCQ · +1 marks · Medium
  2. Set 1 Q24Consider five random variables U,V,W,X,U, V, W, X, and YY whose joint distribution satisfies: P(U,V,W,X,Y)=P(U)P(V)P(WU,V)P(XW)P(YW)P(U, V, W, X, Y) = P(U)P(V)P(W|U, V)P(X|W)P(Y|W) Which ONE of…MCQ · +1 marks · Medium
  3. Set 1 Q25Consider the following statement: In adversarial search, αβ\alpha-\beta pruning can be applied to game trees of any depth where α\alpha is the (m) value…MCQ · +1 marks · Easy
  4. Set 1 Q29Let xx and yy be two propositions. Which of the following statements is a tautology /are tautologies?MSQ · +1 marks · Medium
  5. Set 1 Q44Consider a state space where the start state is number 1. The successor function for the state numbered nn returns two states numbered n+1n+1 and n+2n+2. Assume…MCQ · +2 marks · Medium
  6. Set 1 Q54Let game(ball,rugby)game(ball, rugby) be true if the ball is used in rugby and false otherwise. Let shape(ball,round)shape(ball, round) be true if the ball is round and false otherwise.…MSQ · +2 marks · Hard
  7. Set 1 Q64Given the following Bayesian Network consisting of four Bernoulli random variables and the associated conditional probability tables: [figure] Tables: | |…NAT · +2 marks · Easy

Other GATE DA topics

Continue learning with Success Tracker

Keep working on Artificial Intelligence

Reading a solution is a useful start. In Success Tracker, you can attempt questions yourself, review mistakes and return to the topics that need another pass.

AI-powered practice· Unlimited practice on eligible plans
PYQs with solutions
Attempt available previous-year questions, then compare your reasoning with the worked solution. Coverage varies by stream.
Practice that adapts
Choose a topic, work on weaker areas and bookmark questions to revisit. Your attempts feed your progress tracking.
AI doubt support
Ask follow-up questions about a step or concept while practising, instead of stopping at the final answer.

Unlimited practice is available on eligible plans. Free practice and AI usage have limits; check the current plan allowances before choosing.

This page stays readable without an account. AI responses can be wrong; check them against the solution and source material.