CSE-41XX
Previous Year Questions

Question Pattern & Exam Analysis

Analysis of CS-4101 Artificial Intelligence Exam Patterns (2022–2024)

1. Course Syllabus Overview

The official syllabus covers the following primary domain areas:

Module / Topic AreaCore Syllabus ConceptsRelated Lectures
Foundations & Intelligent AgentsIntroduction, Agents and EnvironmentLec 01, Lec 02.1–02.2
Uninformed & Informed SearchBFS, UCS, DFS, Iterative Deepening, Bidirectional Search, Best-First Search, A*, Beam Search, Local Search (Hill Climbing, Simulated Annealing), Memory Bounded SearchLec 03.1–03.3, Lec 04.1–04.2, Lec 05
Constraint Satisfaction & OptimizationConstraint Satisfaction Problems (CSPs), Genetic Algorithm (selection, crossover, mutation, fitness)Lec 05, Lec 07.1–07.2, Lec 11.1
Adversarial Search & GamesGame Playing, Min-Max Search, Resource limits, Heuristic evaluation, α\alpha-β\beta Pruning, Stochastic games, Partially observable / Continuous / Embodied gamesLec 06.1–06.3
Logic & Knowledge RepresentationPropositional Logic, First-Order Logic (FOL: quantifiers, model, validity, inference, substitution, unification, Herbrand theorem), Ontological engineering, Reasoning systemsLec 08.1, Lec 09.1–09.2
Probabilistic Reasoning & UncertaintyUncertainty, Probability, Independence, Bayes' Rule, Bayesian Networks (exact & approximate inference), HMMsLec 11.1, Lec 11.2
Decision Theory & MDPsUtility theory, Decision Networks, Markov Decision Processes (MDPs), Reinforcement Learning (Q-learning)Lec 10.1–10.2
Machine Learning & Neural NetworksSupervised learning, Decision Trees, Neural Networks (Perceptron learning, Linear/Nonlinear separability, Multilayer networks, Backpropagation & variations, Softmax/Cross-entropy)Syllabus ML & NN Modules
Fuzzy Systems & Expert SystemsRule-Based Expert Systems, Fuzzy Sets, Fuzzy Inference SystemsLec 08.1–08.2

2. Topic Frequency & Marks Heatmap

Topic AreaSyllabus Module / Lecture2022 Final2023 Final2024 Final2023 IC2024 ICTotal Appearances
AI Foundations (Overview, Agents)Lec 01–02.2Q1 (14m)Q1a–b (9m)2
Search (Uninformed + Informed + A*)Lec 03.1–05Q2a–b (8m)Q1c (5m)Q1 (14m)Q1a–b (5m)Q1 (12m)5
Adversarial Search (Minimax, α-β, MCTS)Lec 06.1–06.3Q5c (5m)Q2b (10m)Q5 (14m)Q2c–dQ2 (12m)5
CSPs (Constraint Satisfaction)Lec 07.1–07.2Q3 (14m)Q2a (4m)Q3 (14m)Q1c–d (5m)4
Expert Systems & FuzzyLec 08.1–08.2Q4b (6m)Q2b (5m)Q2a–b (15m)3
Logic & Resolution (Propositional, FOL, CNF)Lec 09.1–09.2Q4 (14m)Q4a (8m)Q2a (9m)3
MDPs & Reinforcement LearningLec 10.1–10.2Q5 (14m)Q4 (14m)2
Population-Based (GA, Swarm)Lec 11.1 / GAQ2c (6m)1
Bayesian / Probabilistic ReasoningLec 11.1Q5a–b (9m)Q7 (14m)Q6a (3m)3
HMMsLec 11.2Q6b (11m)1
Neural NetworksNN SyllabusQ7 (14m)Q3 (14m)Q7 (14m)3
Machine Learning (Decision Trees, Concept Learning, Regression)ML SyllabusQ6 (14m)Q6 (14m)2

3. Question Composition & Weightage Balance

  • ~60% Numerical & Step-by-Step Algorithmic Tracing: High-scoring, deterministic problems (e.g., Value Iteration, Fuzzy Inference, Softmax/Cross-Entropy, FOPL Resolution, 4-Queens Forward Checking, A*/Hill-Climbing on 8-puzzle, Minimax/Alpha-Beta on game trees).
  • ~30% Comparative & Analytical Logic: Algorithm comparisons, theoretical proofs, trade-off evaluations, and performance analyses.
  • ~10% Conceptual & Real-World Case Studies: System design choices, ethics in autonomous systems, and agent framework formulations.

4. Detailed Analysis of Core Question Patterns

Pattern A: Carbon-Copy & Direct Repeated Questions Across Years

Several questions have appeared virtually identically across multiple exam years:

  1. FOPL Resolution Proof ("Jack and Curiosity Killed the Cat"):
    • Appeared in: 2023 Question 4(a) and 2024 Question 2(a) — Identical premise sentences (A through G), background knowledge, and goal.
    • Required Steps:
      1. Convert FOPL statements into Conjunctive Normal Form (CNF).
      2. Standardize variables and apply Skolemization where required.
      3. Draw the step-by-step Resolution Graph deriving the empty clause (\square).
  2. Fuzzy Logic Inference Tracing:
    • Appeared in: 2023 Question 4(b) (Driving Speed based on Cloud Cover & Temp) and 2024 Question 2(b) (Repair Utilization based on Delay & Servers).
    • Required Steps: Fuzzification of crisp inputs \to Mamdani Min-Rule Evaluation \to Max-Aggregation \to Center of Area (COA) Defuzzification calculation.
  3. Softmax Probabilities & Cross-Entropy Loss Calculation:
    • Appeared in: 2023 Question 3(a) (Logits [5.5, 2.9, 3.2, 0.8]) and 2024 Question 7(b) (Logits [0.2, 2.5, 0.3]).
    • Required Steps: Calculate P(yi)=ezijezjP(y_i) = \frac{e^{z_i}}{\sum_j e^{z_j}}, represent true label as a one-hot vector, and compute loss L=ln(Ptrue)L = -\ln(P_{\text{true}}).
  4. Bayesian Posterior Probability in Diagnostic Problems:
    • Appeared in: 2022 Question 5(b) (Starfleet androids), 2023 Question 7(b) (Meningitis & Stiff neck), and 2024 Question 6(a) (Disease incidence 1%, TP 99%, TN 95%).
    • Required Formula: Apply Bayes Rule P(DT)=P(TD)P(D)P(TD)P(D)+P(TD)P(D)P(D \mid T) = \frac{P(T \mid D)P(D)}{P(T \mid D)P(D) + P(T \mid \sim D)P(\sim D)}.
  5. 8-Puzzle Search Tree Execution:
    • Appeared in: 2022 Question 2(b) (Hill Climbing 4 iterations) and 2024 Question 1(c) (A* path tree expansion with misplaced tiles heuristic).
  6. MCTS Rollouts & Strategy Extraction:
    • Appeared in: 2023 Question 2(b) and Incourse 2023 Question 2(c) — Given initial tree stats (ti,nit_i, n_i), performing 2 rollout iterations, updating visit/reward counts via UCB1, and extracting optimal strategy.
  7. MRV & LCV Heuristic Rationale:
    • Appeared in: Incourse 2023 Question 1(c) and 2024 Question 3(b) — Why selecting the Most Constrained Variable (MRV) fails fast while the Least Constraining Value (LCV) maximizes remaining search space.

Pattern B: Numerical & Algorithmic Tracing Problems (~60% of Marks)

These problems require step-by-step mathematical work:

  • Game Search & MCTS:
    • Minimax & α\alpha-β\beta Pruning: Labeling node values and explicitly identifying pruned subtrees using αβ\alpha \ge \beta conditions (2022 Q5c, 2024 Q5).
    • MCTS Rollouts & Strategy: Given initial tree stats (ti,nit_i, n_i), performing 2 rollout iterations, updating visit/reward counts, and extracting optimal strategy (2023 Q2b, Incourse 2023 Q2c).
  • CSP Search:
    • Forward Checking & Backtracking: Tracing a 4-Queens search tree with dynamic domain reduction tables (2024 Q3a).
    • Arc Consistency (AC3AC-3): Detecting inconsistency in binary relational arcs (v(N,W)v(N,W)) and eliminating domain elements (2022 Q3a).
  • Reinforcement Learning & MDPs:
    • Value Iteration Tracing: Computing state utilities iteratively using the Bellman backup equation: Vk+1(s)=maxasT(s,a,s)[R(s)+γVk(s)]V_{k+1}(s) = \max_a \sum_{s'} T(s,a,s') \left[ R(s) + \gamma V_k(s') \right] (2024 Q4a).
    • Q-Learning Table Updates: Updating Q-table values for specified state-action transitions using: Q(s,a)Q(s,a)+α[r+γmaxaQ(s,a)Q(s,a)]Q(s,a) \leftarrow Q(s,a) + \alpha \left[ r + \gamma \max_{a'} Q(s',a') - Q(s,a) \right] (2023 Q5b).
  • Machine Learning & Neural Networks Tracing:
    • ID3 Decision Trees: Computing baseline Entropy H(S)=pilog2piH(S) = -\sum p_i \log_2 p_i, attribute Information Gain Gain(S,A)Gain(S,A), and selecting the root split (2022 Q6b).
    • Perceptron Weight Updates: Calculating linear combiner output v=wTxv = \mathbf{w}^T \mathbf{x} and applying weight updates Δwi=η(ty)xi\Delta w_i = \eta (t - y) x_i (2022 Q7a).
    • Softmax & Loss: Computing Softmax output vectors and cross-entropy loss values (2023 Q3a, 2024 Q7b).
  • Probability:
    • Bayes Theorem: Medical diagnosis style problems with prior, likelihood, and posterior computation (2022 Q5b, 2023 Q7b, 2024 Q6a).
    • Joint Probability Queries: Marginal and conditional probability extraction from joint distribution tables (2023 Q7c).

Pattern C: Mathematical Proofs & Formal Derivations (~10% of Marks)

  • Consistency Implies Admissibility: Proving that if a heuristic h(n)h(n) satisfies consistency (h(n)c(n,a,n)+h(n)h(n) \le c(n,a,n') + h(n')), it must also be admissible (h(n)h(n)h(n) \le h^*(n)) (2024 Q1a).
  • Search Algorithm Equivalence Proofs / Counterexamples:
    • Proof that BFSBFS is a special case of UCSUCS when all step costs are equal (c=1c=1).
    • Proof that DFSDFS is a special case of Best-First search when h(n)=depth(n)h(n) = -\text{depth}(n).
    • Proof that UCSUCS is a special case of AA^* search when h(n)=0h(n) = 0 (2023 Q1c).
  • Markov Property Formalization: Mathematically defining P(St+1St,St1,,S0)=P(St+1St)P(S_{t+1} \mid S_t, S_{t-1}, \dots, S_0) = P(S_{t+1} \mid S_t) and analyzing its impact on transition matrix size (2023 Q5a, 2024 Q6b).

Pattern D: Algorithmic Comparative & Analytical Questions (~20% of Marks)

  • MCTS vs α\alpha-β\beta Pruning: Evaluating performance on huge branching factors (e.g., Go) where full heuristic evaluation functions fail (2023 Q2b, Incourse 2023 Q2d).
  • Value Iteration vs Q-Learning: Comparing Model-based (requires transition model TT and reward model RR) vs Model-free (learns directly from experience tuples s,a,r,s\langle s,a,r,s'\rangle) (2024 Q4b).
  • Perceptron Learning Rule vs Delta Rule: Comparing binary step activation vs differentiable continuous activation (Sigmoid/Linear) in handling non-linearly separable data (2023 Q3a).
  • Activation Function Failures:
    1. Sigmoid: Vanishing gradient problem in deep layers due to small derivative values (ϕ(v)0.25\phi'(v) \le 0.25).
    2. ReLU: "Dying ReLU" problem where negative inputs produce zero gradient permanently.
    3. Solutions: Leaky ReLU (ϕ(x)=max(αx,x)\phi(x) = \max(\alpha x, x)) or ELU (2024 Q7a).
  • CSP Heuristics (MRV vs LCV): Why selecting the Most Constrained Variable (MRV) fails fast, while selecting the Least Constraining Value (LCV) maximizes the remaining search space (2023 Incourse Q1c, 2024 Q3b).

Pattern E: Real-World Scenarios & System Design (~10% of Marks)

  • Autonomous Driving Ethics: Addressing ethical dilemmas, safety guarantees, and risk minimization in autonomous vehicles (DhakaTruck case study) (2022 Q1a).
  • Life-Critical vs Time-Sensitive Navigation: Comparing A*, Greedy Best-First, Dijkstra, and Weighted A* for emergency medical drone delivery vs city food delivery (Incourse 2024 Q1).
  • Medical Diagnostic Advisor Design: Choosing between Crisp Rule-Based System, Backward-Chaining Expert System, and Fuzzy Inference System based on uncertainty and clinical workflow (Incourse 2023 Q2a).

5. Complete Question-to-Topic Mapping

Final Exam 2022 (25th Batch)

Q#SubTopicSyllabus Module / LectureMarksType
1aAI Safety & Ethics in Autonomous VehiclesLec 01 (Overview)7Theory/Essay
1bTuring Test & AGILec 01 (Overview)7Theory/Essay
2aLocal Beam vs Stochastic Beam SearchLec 04.1, 05 (Search)2Compare/Contrast
2bHill-Climbing on 8-puzzleLec 04.1, 05 (Local Search)6Computation
2cGenetic Algorithm (fitness, crossover, mutation)Lec 11.1 / GA Syllabus6Computation
3aArc Consistency in CSPsLec 07.1 (CSPs)7Computation
3bForward Checking & Arc Consistency on constraint graphsLec 07.1, 07.2 (CSPs)7Computation
4aKnowledge Base — models, interpretations, logical consequencesLec 09.1 (Logic)4Computation
4bPropositional Logic — operators, equivalenceLec 09.1 (Logic)5Theory + Computation
4cTop-down proof procedureLec 09.1 (Logic)5Computation
5aSubjective probability, conditional independenceLec 11.1 (Bayes)4Theory
5bBayesian Network — drawing & inferenceLec 11.1 (Bayes)5Computation
5cMinimax & Alpha-Beta PruningLec 06.2 (Adversarial Search)5Theory + Compare
6aCandidate Elimination & Find-SMachine Learning7Computation
6bDecision Tree (ID3, Entropy)Machine Learning (Syllabus)7Computation
7aSingle-layer Perceptron — forward pass & backpropNeural Networks (Syllabus)6Computation
7bPerceptron limitations (XOR problem)Neural Networks (Syllabus)4Theory
7cLeast Squares RegressionMachine Learning (Syllabus)4Computation

Final Exam 2023 (26th Batch)

Q#SubTopicSyllabus Module / LectureMarksType
1aCognitive Modeling ApproachLec 01 (Overview)4.5Theory
1bUtility vs Performance Measure; Problem/Goal formulationLec 02.1, 03.1 (Agents)4.5Theory/Compare
1cBFS↔UCS, DFS↔Best-First, UCS↔A* relationshipsLec 03.2, 04.1, 04.2 (Search)5Proof/Counterexample
2aN-Queen CSP (1000-queen & million-queen) with backtrackingLec 07.1, 07.2 (CSPs)4Theory/Design
2bMCTS — rollouts, strategy, compare with Alpha-BetaLec 06.3 (MCTS)10Computation
3aPerceptron Learning Rule vs Delta Rule; Softmax & Cross-EntropyNeural Networks (Syllabus)9Theory + Computation
3bBackpropagation; Gradient Descent types (batch/mini-batch/SGD)Neural Networks (Syllabus)5Theory
4aFOL expressiveness; Resolution inference ("Jack killed the cat")Lec 09.1, 09.2 (Logic/Resolution)8Theory + Computation
4bFuzzy Inference ProcessLec 08.2 (Fuzzy Systems)6Computation
5aMarkov Property & MDP complexityLec 10.2 (MDPs)4Theory
5bQ-Learning — Q-value updates, policy, ε-greedyLec 10.2 (RL / Q-Learning)10Computation
6Decision Tree depth/leaves (binary & continuous); Hierarchical ClusteringMachine Learning (Syllabus)14Theory + Computation
7aSubjective probability, conditional independence, Bayesian learningLec 11.1 (Bayes)4Theory
7bBayes Theorem — meningitis diagnosisLec 11.1 (Bayes)6Computation
7cJoint probability distribution calculationsLec 11.1 (Bayes)4Computation

Final Exam 2024 (27th Batch)

Q#SubTopicSyllabus Module / LectureMarksType
1aHeuristics — admissibility, consistencyLec 04.1, 05 (Search)4Theory + Proof
1bA* Search — advantages & disadvantagesLec 04.2 (A*)4Theory
1c8-puzzle with A* (misplaced tiles heuristic)Lec 04.2, 05 (A*)6Computation
2aResolution Inference — "Jack killed the cat" (FOL → CNF → Resolution)Lec 09.1, 09.2 (Logic/Resolution)9Computation
2bFuzzy Inference Process (repair utilization)Lec 08.2 (Fuzzy Systems)5Computation
3a4-Queens CSP with Forward Checking + BacktrackingLec 07.1, 07.2 (CSPs)8Computation
3bMRV & LCV heuristics; Scalability of CSPsLec 07.1, 07.2 (CSPs)6Theory
4aMDP Value Iteration (3 iterations, γ=0.9)Lec 10.2 (MDPs)9Computation
4bValue Iteration vs Q-Learning differencesLec 10.2 (RL)5Theory/Compare
5aMinimax Algorithm on game treeLec 06.2 (Minimax)7Computation
5bAlpha-Beta Pruning on same game treeLec 06.2 (Alpha-Beta)7Computation
6aBayes Theorem — disease diagnosisLec 11.1 (Bayes)3Computation
6bHidden Markov Models (HMM tuples, π, three problems)Lec 11.2 (HMMs)11Theory + Computation
7aActivation Functions (Sigmoid→ReLU→LeakyReLU), vanishing gradientsNeural Networks (Syllabus)9Theory
7bSoftmax + Cross-Entropy Loss computationNeural Networks (Syllabus)5Computation

In-Course Exam 2023 (26th Batch)

Q#SubTopicSyllabus Module / LectureMarksType
1aAdmissible heuristicsLec 04.1, 052Theory
1bAdmissibility without relaxed problems (n-Queen)Lec 053Theory
1cMRV + LCV heuristics in CSPsLec 07.1, 07.23Theory
1dCSP → COP formulationLec 07.12Theory
2aRule-based vs Backward-chaining vs Fuzzy InferenceLec 08.1, 08.29Theory/Compare
2bFuzzy inference stepsLec 08.26Theory
2cMCTS — rolloutsLec 06.3Computation
2dMCTS vs Alpha-Beta PruningLec 06.3, 06.2Compare

In-Course Exam 2024 (27th Batch)

Q#SubTopicSyllabus Module / LectureMarksType
1a–dDijkstra, Greedy BFS, A*, Weighted A* — comparisonLec 03.2, 04.1, 04.2 (Search)12Theory/Compare
2a–dNormal-form game: dominant strategy, Pareto optimality, Nash EquilibriumLec 06.1 (Game Theory)12Computation + Theory

6. Strategic Preparation & High-Yield Topic Roadmap

To maximize your score on the exam, organize your revision using the following priority tiers:

Tier 1: Guaranteed Full-Mark Scoring Topics (Highest ROI)

These topics feature deterministic algorithms with fixed step-by-step recipes and appear every single year:

  1. FOPL Resolution: Practice CNF conversion (Skolemization, variable standardization) and resolution graph derivations — the "Jack killed the cat" problem appeared verbatim in both 2023 and 2024.
  2. Fuzzy Inference Systems: Practice 4-step Mamdani calculations (Fuzzification, Min, Max, COA Defuzzification).
  3. Softmax & Cross-Entropy: Practice calculating Softmax probabilities from logits and natural log loss from one-hot encoded true labels.
  4. Bayesian Posterior Probability: Practice Bayes theorem medical diagnosis problems — appeared in all 3 years with different scenarios.
  5. MDP Value Iteration: Practice tabular utility updates using Bellman backups with discount factor.
  6. Q-Learning Updates: Practice Q-table updates with learning rate α\alpha and ϵ\epsilon-greedy policy analysis.

Tier 2: Essential Tree Search & Algorithmic Tracing

  1. Game Search: Minimax tree labeling, α\alpha-β\beta pruning bounds (identify all pruned nodes), MCTS rollout tracing with UCB1.
  2. CSP 4-Queens: Forward checking table updates, domain reduction, and backtracking trigger conditions.
  3. 8-Puzzle Search: A* state expansion with f(n)=g(n)+h(n)f(n) = g(n) + h(n) and Hill-Climbing state evaluations.
  4. ID3 Decision Trees: Baseline entropy and Information Gain calculations.

Tier 3: Core Theoretical Derivations & Analytical Rationales

  1. Heuristic consistency     \implies admissibility proof (triangle inequality induction).
  2. Search algorithm reduction/equivalence proofs (BFSUCSABFS \subset UCS \subset A^*).
  3. Activation function gradient analysis (Sigmoid vanishing → ReLU dying → Leaky ReLU solution).
  4. Hidden Markov Models — 3 fundamental problems: Evaluation (Forward Algorithm), Decoding (Viterbi), Learning (Baum-Welch).
  5. Markov Property formalization and its impact on MDP complexity.
  6. MRV & LCV heuristic rationale for CSP search efficiency.

On this page