chapter

    Bayesian Networks and Probabilistic Inference Practice Questions for Gate Da

    Solve 277+ Bayesian Networks and Probabilistic Inference 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

    A Bayesian network consists of boolean variables. If the network structure is such that every node has at most boolean parents, what is the minimum number of independent parameters required to specify the full joint distribution using this network?

    Question 2
    Level 1: Warm-up

    A Bayesian network has 6 boolean variables. Each node has at most 2 boolean parents. How many independent parameters are saved compared to specifying the full joint distribution?

    Question 3
    Level 1: Warm-up

    After summing out the hidden variables in a Bayesian network inference, the following unnormalised values are obtained for a boolean query variable :

    Find the value of , rounded to two decimal places.

    Question 4
    Level 1: Warm-up

    Match each Bayesian network structure in Column I with its correct joint probability factorization in Column II. All variables are boolean.

    Column I

    (P)

    (Q)

    (R)

    Column II

    (1)

    (2)

    (3)

    Select the correct matching.

    Question 5
    Level 1: Warm-up

    Consider a node in a Bayesian network. The node can take possible values, and it has parent nodes, each of which can take possible values. What is the maximum number of independent parameters required to fully specify the Conditional Probability Table (CPT) for ?

    Question 6
    Level 1: Warm-up

    Consider the following Assertion and Reason regarding computing marginal probabilities in a Bayesian network.

    Assertion (A): To compute the marginal probability where and are the parent nodes of , we use the formula .

    Reason (R): The marginal probability is obtained by normalizing the joint distribution by dividing it by the evidence probability .

    Options:

    Question 7
    Level 1: Warm-up

    A Conditional Probability Table (CPT) for a node requires 24 independent parameters. The node can take 4 possible values, and each of its parent nodes can take 2 possible values. How many parent nodes does have?

    Question 8
    Level 1: Warm-up

    Match each node configuration in Column I with the number of independent parameters required to specify its Conditional Probability Table in Column II.

    Column I

    (P) A boolean node with 3 boolean parents

    (Q) A node with 3 possible values and 2 boolean parents

    (R) A node with 4 possible values and 1 parent with 3 possible values

    (S) A boolean node with 4 boolean parents

    Column II

    (1) 8

    (2) 9

    (3) 16

    (4) 32

    Select the correct matching.

    Question 9
    Level 1: Warm-up

    After summing out the hidden variables in a Bayesian network inference, the unnormalized values for a boolean query variable are found to be and .

    Find the value of the normalization constant required to compute , rounded to two decimal places.

    Question 10
    Level 1: Warm-up

    Match each canonical graph structure in Column I with the truth value of the conditional independence statement in Column II.

    Column I

    (P) Chain:

    (Q) Fork:

    (R) Collider:

    Column II

    (1) True (Path is blocked by conditioning on )

    (2) True (Path is blocked by conditioning on )

    (3) False (Path is activated by conditioning on )

    Select the correct matching.

    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.

    Bayesian Networks and Probabilistic Inference Practice Questions for GATE DA

    Solve 277+ Bayesian Networks and Probabilistic Inference practice 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 (10 Problems)

    Question 1 · Artificial Intelligence MCQ

    A Bayesian network consists of boolean variables. If the network structure is such that every node has at most boolean parents, what is the minimum number of independent parameters required to specify the full joint distribution using this network?

    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: This is a contradiction question highlighting the parameter reduction achieved by Bayesian networks compared to the full joint distribution.

    Step 1: Without a network, the full joint distribution of boolean variables requires parameters.

    Step 2: With a Bayesian network, the joint distribution is factorized into conditional probability tables (CPTs).

    Step 3: Each node has at most boolean parents. The number of independent parameters for each node's CPT is .

    Step 4: Summing over all nodes, the total number of independent parameters is .

    Answer: B

    Question 2 · Artificial Intelligence MCQ

    A Bayesian network has 6 boolean variables. Each node has at most 2 boolean parents. How many independent parameters are saved compared to specifying the full joint distribution?

    1. A.

      39

    2. B.

      33

    3. C.

      45

    4. D.

      51

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: Full joint needs parameters; Bayesian network needs parameters (where is max parents per node).

    Step 1: Compute parameters for full joint distribution.

    For boolean variables:

    Step 2: Compute parameters for Bayesian network.

    Each of the 6 nodes has at most 2 boolean parents. For a boolean node with boolean parents, independent parameters = .

    Step 3: Compute savings.

    Answer: A

    Question 3 · Artificial Intelligence NAT

    After summing out the hidden variables in a Bayesian network inference, the following unnormalised values are obtained for a boolean query variable :

    Find the value of , rounded to two decimal places.

    Correct Answer:

    0.30

    Step-by-Step Solution

    Key idea: the unnormalised values must be divided by their sum to obtain a proper conditional distribution.

    Step 1: Compute the normaliser .

    Step 2: Compute .

    Step 3: Sanity check — , and .

    Answer: 0.30.

    Question 4 · Artificial Intelligence MCQ

    Match each Bayesian network structure in Column I with its correct joint probability factorization in Column II. All variables are boolean.

    Column I

    (P)

    (Q)

    (R)

    Column II

    (1)

    (2)

    (3)

    Select the correct matching.

    1. A.

      P-3, Q-2, R-1

    2. B.

      P-2, Q-3, R-1

    3. C.

      P-3, Q-1, R-2

    4. D.

      P-1, Q-2, R-3

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: the chain rule factorizes the joint distribution as the product of each node given its parents. The direction of the arrows dictates the conditioning.

    Step 1: Network (P) . Parents: has none, has , has . Factorization: . This matches (3).

    Step 2: Network (Q) . Parents: has none, has , has . Factorization: . This matches (2).

    Step 3: Network (R) . Parents: has none, has none, has and . Factorization: . This matches (1).

    Matching: P-3, Q-2, R-1.

    Answer: Option (A).

    Question 5 · Artificial Intelligence MCQ

    Consider a node in a Bayesian network. The node can take possible values, and it has parent nodes, each of which can take possible values. What is the maximum number of independent parameters required to fully specify the Conditional Probability Table (CPT) for ?

    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: This is an observation question testing the formula for the number of independent parameters in a CPT.

    Step 1: The number of possible combinations of the parent values is . This determines the number of rows in the CPT.

    Step 2: For each row, the child node can take values. Since these probabilities must sum to 1, there are independent parameters per row.

    Step 3: Multiply the number of rows by the independent parameters per row: .

    Answer: B

    Question 6 · Artificial Intelligence MCQ

    Consider the following Assertion and Reason regarding computing marginal probabilities in a Bayesian network.

    Assertion (A): To compute the marginal probability where and are the parent nodes of , we use the formula .

    Reason (R): The marginal probability is obtained by normalizing the joint distribution by dividing it by the evidence probability .

    Options:

    1. A.

      Both A and R are true, and R is the correct explanation of A.

    2. B.

      Both A and R are true, but R is not the correct explanation of A.

    3. C.

      A is true, but R is false.

    4. D.

      A is false, but R is true.

    Correct Answer:

    C

    Step-by-Step Solution

    Key idea: This is a construction question testing the difference between marginalization and conditional normalization.

    Step 1: Evaluate Assertion (A). The formula correctly applies the chain rule and marginalizes out the parents and . Thus, A is true.

    Step 2: Evaluate Reason (R). Marginalization is the process of summing out variables. Normalization (dividing by the evidence) is used when computing a conditional probability , not a marginal probability . Thus, R is false.

    Step 3: Since A is true and R is false, the correct option is C.

    Answer: C

    Question 7 · Artificial Intelligence MCQ

    A Conditional Probability Table (CPT) for a node requires 24 independent parameters. The node can take 4 possible values, and each of its parent nodes can take 2 possible values. How many parent nodes does have?

    1. A.

      3

    2. B.

      2

    3. C.

      4

    4. D.

      5

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: Independent parameters = where = parent domain size, = number of parents, = child domain size.

    Step 1: Identify given values.

    • Independent parameters = 24
    • (child has 4 values)
    • (each parent has 2 values)
    • (number of parents)

    Step 2: Apply the formula.

    Step 3: Solve for .

    Answer: A

    Question 8 · Artificial Intelligence MCQ

    Match each node configuration in Column I with the number of independent parameters required to specify its Conditional Probability Table in Column II.

    Column I

    (P) A boolean node with 3 boolean parents

    (Q) A node with 3 possible values and 2 boolean parents

    (R) A node with 4 possible values and 1 parent with 3 possible values

    (S) A boolean node with 4 boolean parents

    Column II

    (1) 8

    (2) 9

    (3) 16

    (4) 32

    Select the correct matching.

    1. A.

      P-1, Q-1, R-2, S-3

    2. B.

      P-1, Q-4, R-2, S-3

    3. C.

      P-3, Q-1, R-2, S-4

    4. D.

      P-1, Q-1, R-4, S-3

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: use the standard CPT-parameter formula , where is the domain size of each parent, is the number of parents, and is the domain size of the child.

    Step 1: (P) .

    Step 2: (Q) .

    Step 3: (R) .

    Step 4: (S) .

    Matching: P-1, Q-1, R-2, S-3.

    Answer: Option (A).

    Question 9 · Artificial Intelligence NAT

    After summing out the hidden variables in a Bayesian network inference, the unnormalized values for a boolean query variable are found to be and .

    Find the value of the normalization constant required to compute , rounded to two decimal places.

    Correct Answer:

    2.00

    Step-by-Step Solution

    Key idea: this is a direct application of the normalization step in inference by enumeration.

    Step 1: The unnormalized values are proportional to the true conditional probabilities. To convert them to a valid distribution, we must divide by their sum.

    Step 2: Compute the sum .

    Step 3: The normalization constant is defined as . So .

    Step 4: Verification. . . Sum = . Correct.

    Answer: 2.00.

    Question 10 · Artificial Intelligence MCQ

    Match each canonical graph structure in Column I with the truth value of the conditional independence statement in Column II.

    Column I

    (P) Chain:

    (Q) Fork:

    (R) Collider:

    Column II

    (1) True (Path is blocked by conditioning on )

    (2) True (Path is blocked by conditioning on )

    (3) False (Path is activated by conditioning on )

    Select the correct matching.

    1. A.

      P-1, Q-2, R-3

    2. B.

      P-3, Q-1, R-2

    3. C.

      P-1, Q-3, R-2

    4. D.

      P-2, Q-1, R-3

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: this is a match-the-following on the d-separation rules for the three canonical structures.

    Step 1: Chain (P). In , conditioning on the middle node blocks the path. So is True. Matches (1).

    Step 2: Fork (Q). In , conditioning on the common cause blocks the path. So is True. Matches (2).

    Step 3: Collider (R). In , conditioning on the common effect activates the path (explaining away). So is False. Matches (3).

    Matching: P-1, Q-2, R-3.

    Answer: Option (A).

    More practice questions in this unit