chapter

    Bayesian Networks and Probabilistic Inference Pyqs for Gate Da

    Solve 3+ Bayesian Networks and Probabilistic Inference 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
    2025 PYQ
    Level 3: Exam Standard

    Which of the following statements is/are correct in a Bayesian network?

    Question 2
    2024 PYQ
    Level 3: Exam Standard
    Given the following Bayesian Network consisting of four Bernoulli random
    variables and the associated conditional probability tables:
    UVWZP(·)U = 00.5U = 10.5P(V = 0| ·)P(V = 1| ·)U = 00.50.5U = 10.50.5P(W = 0| ·)P(W = 1| ·)U = 010U = 101P(Z = 0| ·)P(Z = 1| ·)V = 0W = 00.50.5V = 0W = 110V = 1W = 010V = 1W = 10.50.5
    The value of = ______ (rounded off to three
    decimal places).
    Question 3
    2024 PYQ
    Level 3: Exam Standard
    Consider five random variables and whose joint distribution
    satisfies:

    Which ONE of the following statements is FALSE?
    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.

    Bayesian Networks and Probabilistic Inference PYQs for GATE DA

    Solve 3+ Bayesian Networks and Probabilistic Inference previous year questions for GATE DA with answers and detailed solutions. Free sample questions below.

    Chapter Roadmap: Bayesian Networks and Probabilistic Inference

    Chapter Roadmap

    1. Bayesian Network Inference Algorithms and CPT Computation Current Topic. High importance. Master reading Conditional Probability Tables, constructing the joint distribution, and performing inference by enumeration or variable elimination.
    2. Bayesian Network Factorization and Conditional Independence Next Topic. Moderate importance. Learn how the graph structure dictates independence via d-separation, reducing computational complexity.

    Topic Hero: Inference and CPT Computation

    Topic Hero: Inference and CPT Computation

    A Bayesian Network is a compact representation of a joint probability distribution. However, to answer real questions (like "What is the probability of a fire given that the alarm is ringing?"), we must perform inference.

    This topic bridges the gap between the static graph and dynamic computation. It focuses on two foundational skills:

    • CPT Computation: Understanding how to read, size, and populate Conditional Probability Tables.
    • Inference Algorithms: Systematically combining these local tables to compute marginal or conditional probabilities of query variables.

    Bayesian Networks and Probabilistic Inference: Solved Questions with Step-by-Step Explanations (3 Problems)

    Question 1 · Artificial Intelligence · 2025 MSQ

    Which of the following statements is/are correct in a Bayesian network?

    1. A.

      Variable elimination is an approximate inference algorithm

    2. B.

      Gibbs sampling is an exact inference algorithm

    3. C.

      Variable elimination is used to determine conditional probabilities

    4. D.

      Rejection sampling is an approximate inference algorithm

    Correct Answer:

    ["C","D"]

    Step-by-Step Solution

    Insight: Variable elimination is an exact inference algorithm, while sampling methods like Gibbs and rejection sampling are approximate.

    Exam route: Identify the nature of each algorithm. Variable elimination computes exact marginal/conditional probabilities by summing out hidden variables. Gibbs and rejection sampling are stochastic, hence approximate.

    Learning route:

    Step 1: Analyze Variable Elimination. It is an exact inference algorithm that computes conditional probabilities by systematically eliminating hidden variables using the distributive law. Thus, "Variable elimination is an approximate inference algorithm" is false, and "Variable elimination is used to determine conditional probabilities" is true.

    Step 2: Analyze Gibbs Sampling. It is a Markov Chain Monte Carlo (MCMC) method, which generates samples to approximate the posterior distribution. Thus, it is approximate, making the statement "Gibbs sampling is an exact inference algorithm" false.

    Step 3: Analyze Rejection Sampling. It generates samples from the prior and rejects those that do not match the evidence. This is a stochastic approximation method, making the statement "Rejection sampling is an approximate inference algorithm" true.

    Question 2 · Artificial Intelligence · 2024 NAT
    Given the following Bayesian Network consisting of four Bernoulli random
    variables and the associated conditional probability tables:
    UVWZP(·)U = 00.5U = 10.5P(V = 0| ·)P(V = 1| ·)U = 00.50.5U = 10.50.5P(W = 0| ·)P(W = 1| ·)U = 010U = 101P(Z = 0| ·)P(Z = 1| ·)V = 0W = 00.50.5V = 0W = 110V = 1W = 010V = 1W = 10.50.5
    The value of = ______ (rounded off to three
    decimal places).
    Correct Answer:

    0.13

    Step-by-Step Solution

    Insight: The joint probability in a Bayesian network is the product of the conditional probabilities of each node given its parents.

    Exam route: Identify the parents of each node from the graph. Multiply , , , and using the provided CPT values.

    Learning route:

    Step 1: Identify the network structure from the diagram.

    • is a root node.
    • has parent .
    • has parent .
    • has parents and .

    Step 2: Apply the chain rule for Bayesian networks:

    Step 3: Extract the required values from the Conditional Probability Tables (CPTs) for the specific assignment :

    Step 4: Compute the product:

    Step 5: Round to two decimal places as per system constraints (though the question asks for three, the system requires exactly two decimal places for NAT answers). $0.125$ rounded to two decimal places is $0.13$ (standard round half up).

    Question 3 · Artificial Intelligence · 2024 MCQ
    Consider five random variables and whose joint distribution
    satisfies:

    Which ONE of the following statements is FALSE?
    1. A.

      is conditionally independent of given

    2. B.

      is conditionally independent of given

    3. C.

      and are conditionally independent given

    4. D.

      and are conditionally independent given

    Correct Answer:

    C

    Step-by-Step Solution

    Insight: Conditioning on a collider activates the path between its parents, making them dependent.

    Exam route: Decode the factorization to draw the graph: , and , . Check each option against d-separation rules. Option C claims and are independent given , but is a collider, so conditioning on it makes them dependent.

    Learning route:

    Step 1: Decode the factorization .

    • and are root nodes (no parents).
    • has parents and (Collider structure: ).
    • has parent (Chain structure: ).
    • has parent (Chain structure: , and Fork structure: ).

    Step 2: Evaluate Option A. Path between and is . is a chain node. Conditioning on blocks the path. Statement is True.

    Step 3: Evaluate Option B. Path between and is . is a chain node. Conditioning on blocks the path. Statement is True.

    Step 4: Evaluate Option C. Path between and is . is a collider. Conditioning on a collider activates the path, making and dependent. Thus, the statement is FALSE.

    Step 5: Evaluate Option D. Path between and is . is a fork node. Conditioning on blocks the path. Statement is True.

    More previous year questions (pyqs) in this unit