chapter
    Probability and Statistics PYQs for GATE CS

    GATE CS Probability and Statistics: 5 chapters, 25 previous year questions (24% of Engineering Mathematics), 408 practice questions and one solved question fr

    A question from this chapter

    Question 1
    2026 Slot Set2 PYQ
    Level 3: Exam Standard

    A day can only be cloudy or sunny. The probability of a day being cloudy is , independent of the condition on other days. What is the probability that in any given four days, there will be three cloudy days and one sunny day?

    Question 2
    2026 Slot Set2 PYQ
    Level 3: Exam Standard
    Suppose an unbiased coin is tossed 6 times. Each coin toss is independent of all previous coin tosses. Let be the event that among the second, fourth, and sixth coin tosses, there are at least two heads. Let be the event that among the first, second, third, and fifth coin tosses, there are equal number of heads and tails.

    The conditional probability is equal to ____________. (rounded off to one decimal place)
    Question 3
    2025 Slot Set2 PYQ
    Level 3: Exam Standard
    The unit interval is divided at a point chosen uniformly distributed over in into two disjoint subintervals.

    The expected length of the subinterval that contains 0.4 is ___________. (rounded off to two decimal places)
    Question 4
    2026 Slot Set2 PYQ
    Level 3: Exam Standard
    The probability density function of a random variable which takes real values is


    Which one of the following statements is correct about the random variable ?
    Question 5
    2026 Slot Set1 PYQ
    Level 3: Exam Standard

    An urn contains one red ball and one blue ball. At each step, a ball is picked uniformly at random from the urn, and this ball together with another ball of the same color is put back in the urn. The probability that there are equal number of red and blue balls after two steps is

    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.

    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.

    Probability and Statistics PYQs for GATE CS

    GATE CS Probability and Statistics: 5 chapters, 25 previous year questions (24% of Engineering Mathematics), 408 practice questions and one solved question from each chapter.

    About Probability and Statistics Previous Year Questions (PYQs)

    25 previous year questions from Probability and Statistics in GATE CS, grouped by chapter with the exam year, answer key and step-by-step solution for each.

    Probability and Statistics Weightage in GATE CS

    Probability and Statistics accounts for 25 of 105 Engineering Mathematics previous year questions in our bank (24%), about 2.5 per paper across 10 papers.

    Probability and Statistics Chapter Matrix

    ChapterTopicsPYQsShare of unit PYQsPractice questions
    Combinatorial Probability and Independent EventsBinomial Models and Repeated Bernoulli Trials, Classical Counting Probability, Event Algebra and Independence936%141
    Conditional Probability and Bayes TheoremBayes Theorem and Posterior Inference, Conditional Probability in Sequential Sampling, Conditional Events in Repeated Coin Tosses520%82
    Random Variables, Expectation, Variance and CovarianceExpectation of Continuous Geometric Quantities, Expectation Bounds for Products of Random Variables, Variance, Covariance and Standard Deviation, Discrete Expectation and Decision Problems624%104
    Continuous and Standard Probability DistributionsExponential Lifetime Distribution, Normal Distribution Identification, Density Normalization and Interval Probabilities312%48
    Urn Models and Reinforcement ProcessesPolya Urn Reinforcement Processes28%33

    More from Engineering Mathematics

    One Solved Question from Each Probability and Statistics Chapter

    Question 1 · Combinatorial Probability and Independent Events · 2026_Set2 MCQ

    A day can only be cloudy or sunny. The probability of a day being cloudy is , independent of the condition on other days. What is the probability that in any given four days, there will be three cloudy days and one sunny day?

    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    A

    Step-by-Step Solution

    Insight: Independent days with two outcomes = binomial with .

    Exam route:

    days, cloudy, , .

    .

    Learning route:

    This is a binomial question: fixed , binary outcome, independent trials, constant .

    Step 1 — Identify parameters. , , .

    Step 2 — Apply the binomial PMF.

    Step 3 — Substitute. . .

    Step 4 — Multiply. .

    Wrong path: If you forget the binomial coefficient , you get , which is not among the options — a signal you missed the arrangements.

    Verification: The four arrangements are CCCS, CCSC, CSCC, SCCC. Each has probability . .

    Question 2 · Conditional Probability and Bayes Theorem · 2026_Set2 NAT
    Suppose an unbiased coin is tossed 6 times. Each coin toss is independent of all previous coin tosses. Let be the event that among the second, fourth, and sixth coin tosses, there are at least two heads. Let be the event that among the first, second, third, and fifth coin tosses, there are equal number of heads and tails.

    The conditional probability is equal to ____________. (rounded off to one decimal place)
    Correct Answer:

    0.5

    Step-by-Step Solution

    Insight: This is a conditional probability problem with overlapping events in repeated trials. The shared variable (Toss 2) prevents independence.

    Exam route: Use the reduced sample space method. Count outcomes for E2 (denominator), then count outcomes where both E1 and E2 hold by splitting on the shared Toss 2 (numerator).

    Learning route:

    Step 1: Understand the events.

    • E1: Tosses {2, 4, 6} have >= 2 Heads.
    • E2: Tosses {1, 2, 3, 5} have exactly 2 Heads and 2 Tails.

    Step 2: Calculate the denominator N(E2).

    • Tosses {1, 2, 3, 5} must have 2H, 2T. Number of ways = C(4, 2) = 6.
    • Tosses {4, 6} are unconstrained by E2. Number of ways = 2^2 = 4.
    • Total N(E2) = 6 * 4 = 24.

    Step 3: Calculate the numerator N(E1 ∩ E2) by conditioning on the shared Toss 2.

    Case A: Toss 2 is Head (H).

    • For E2 to hold, the remaining tosses in its set {1, 3, 5} must have exactly 1H, 2T. Ways = C(3, 1) = 3.
    • For E1 to hold, the remaining tosses in its set {4, 6} must have >= 1H (since Toss 2 is already H). Ways = Total - 0H = 4 - 1 = 3.
    • Ways for Case A = 3 * 3 = 9.

    Case B: Toss 2 is Tail (T).

    • For E2 to hold, {1, 3, 5} must have exactly 2H, 1T. Ways = C(3, 2) = 3.
    • For E1 to hold, {4, 6} must have >= 2H (since Toss 2 is T). Ways = 1 (both must be H).
    • Ways for Case B = 3 * 1 = 3.
    • Total N(E1 ∩ E2) = 9 + 3 = 12.

    Step 4: Compute the conditional probability.

    P(E1 | E2) = N(E1 ∩ E2) / N(E2) = 12 / 24 = 0.5.

    Verification: Plug back into the definition. P(E1 ∩ E2) = 12/64, P(E2) = 24/64. Ratio is 12/24 = 0.5. Matches perfectly.

    Question 3 · Random Variables, Expectation, Variance and Covariance · 2025_Set2 NAT
    The unit interval is divided at a point chosen uniformly distributed over in into two disjoint subintervals.

    The expected length of the subinterval that contains 0.4 is ___________. (rounded off to two decimal places)
    Correct Answer:

    0.74

    Step-by-Step Solution

    Insight: The length of the subinterval containing a fixed point depends on whether the random cut is to the left or right of . This requires a piecewise function and splitting the integral.

    Exam route: Use the derived formula for the expected length containing in a unit interval: . For , .

    Learning route:

    1. Define the random variable: Let be the cut point. The PDF is for .
    2. Define the target variable (length containing ):
    • If , the interval containing is , so .
    • If , the interval containing is , so .
    1. Set up the expectation integral:

    .

    1. Evaluate the integrals:
    • First part: .
    • Second part: .
    1. Sum the results: .
    Question 4 · Continuous and Standard Probability Distributions · 2026_Set2 MCQ
    The probability density function of a random variable which takes real values is


    Which one of the following statements is correct about the random variable ?
    1. A.

      is an exponential random variable

    2. B.

      is a normal random variable

    3. C.

      is a Poisson random variable

    4. D.

      is a uniform random variable

    Correct Answer:

    B

    Step-by-Step Solution

    Insight: The PDF has the form , which is the algebraic signature of a Normal distribution.

    Exam route: Match to . , . Coefficient is , matching . Thus, Normal.

    Learning route:

    1. Identify the form: The PDF is defined over and contains the term .
    2. Recall standard forms: The Normal PDF is .
    3. Match the exponent: . This gives and .
    4. Verify the coefficient: The standard coefficient is , which perfectly matches the given PDF.
    5. Conclusion: is a normal random variable with mean 0 and variance 9.
    Question 5 · Urn Models and Reinforcement Processes · 2026_Set1 MCQ

    An urn contains one red ball and one blue ball. At each step, a ball is picked uniformly at random from the urn, and this ball together with another ball of the same color is put back in the urn. The probability that there are equal number of red and blue balls after two steps is

    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    B

    Step-by-Step Solution

    Insight: Equal red and blue after 2 steps means exactly 1 red and 1 blue were drawn — use exchangeability or direct enumeration.

    Exam route: Start: 1R, 1B. After 2 steps, total = 4. Equal counts need 2R and 2B, so exactly red drawn. By exchangeability: . Select B.

    Learning route:

    This is a Polya Urn state question, identifiable by the reinforcement mechanism (draw, replace, add one of the same colour) and the question asking about the urn's composition after a fixed number of steps.

    Setup: Initial state: 1 red, 1 blue, total 2. After 2 draws, total = balls. For equal red and blue counts, we need 2 red and 2 blue, which means exactly 1 red and 1 blue were drawn in the 2 draws.

    Method 1 — Direct enumeration:

    List all possible sequences of 2 draws:

    • RR: → final: 3R, 1B (not equal)
    • RB: → final: 2R, 2B (equal ✓)
    • BR: → final: 2R, 2B (equal ✓)
    • BB: → final: 1R, 3B (not equal)

    Method 2 — Exchangeability formula:

    With :

    Wrong path walkthrough: A student who treats draws as independent coin flips computes , matching option C. The mistake is at the independence assumption: in a Polya Urn, the second draw's probability depends on the first draw's outcome. The reinforcement mechanism makes draws dependent, reducing the probability of mixed outcomes.

    Generalisation: In a Polya Urn, reinforcement amplifies early outcomes, making "all same colour" more likely and "mixed" less likely compared to independent draws.

    Verification: The four sequence probabilities sum to . ✓

    Answer: B)