GATE / CS ARCHIVE

SUBJECT COLLECTION

Engineering Mathematics & Other Topics · Probability & Statistics

32 questions, newest first

GATE CSE has asked 32 questions on Probability & Statistics (Engineering Mathematics & Other Topics) from 2003 to 2026, in 19 of the 46 papers; the most recent is in GATE CSE 2026 Set 2. In the last five years it carried 2.8 marks per 100-mark paper on average, against 1.4 since 2003. Since 2014 the questions have been 16 NAT, 10 MCQ and 2 MSQ. 2 groups of questions here are solved the same way; “One per method” keeps the newest of each.

Browse topics
1 mark · MCQ
Report issue

Reinforced urn draws

Probability & Statistics

Question 11, GATE 2026: An urn starts with one red and one blue ball. Each step selects a ball uniformly, then returns it together with one additional ball of its color. Find the probability of equal red and blue counts after two steps. Options: 1/4, 1/3, 1/2, 2/3.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Our answer: 1/3

Givens and goal

An urn starts with one red and one blue ball. Each step selects a ball uniformly, then returns it together with one additional ball of its color. Find the probability of equal red and blue counts after two steps. Options: 1/4, 1/3, 1/2, 2/3.

Approach

Track the changing composition after the first draw; the two draws are not independent.

Step-by-step solution

1. Each step adds exactly one ball, so after two steps there are four balls. Equal color counts mean two red and two blue, which requires adding one ball of each color.
2. Thus the selected colors must be RB or BR. For RB, the first red has probability 1/2. The urn then contains two red and one blue, so the conditional probability of blue is 1/3. Therefore Pr(RB)=(1/2)(1/3)=1/6.
3. Symmetrically, Pr(BR)=(1/2)(1/3)=1/6. These ordered events are disjoint, giving total probability 1/6+1/6=1/3, option B.
4. As a check, RR has probability (1/2)(2/3)=1/3 and BB has the same probability. The four sequence probabilities sum to 1. The tempting result 1/2 comes from incorrectly retaining a 1/2 chance for each color on the second draw.

Original paper, page 10 · Answer key

2 marks · NAT
Report issue

Expectation with two probability groups

Probability & Statistics

Question 58, GATE 2026: X takes values 1,…,8. Values 1,2,5,7 each have probability 1/6; values 3,4,6,8 each have probability 1/12. Find E[X] rounded to two decimals.
Tap to enlarge
Answer & solution

Official answer: 4.24 to 4.26

Our answer: 4.25

Givens and goal

X takes values 1,…,8. Values 1,2,5,7 each have probability 1/6; values 3,4,6,8 each have probability 1/12. Find E[X] rounded to two decimals.

Approach

Check normalization and evaluate the probability-weighted sum, grouping equal-probability outcomes.

Step-by-step solution

1. There are four values in each probability group. Their total mass is 4(1/6)+4(1/12)=2/3+1/3=1, so the stated distribution is normalized.
2. By definition E[X]=Σ_x x·Pr(X=x). The first group contributes (1+2+5+7)/6=15/6=2.5.
3. The second group contributes (3+4+6+8)/12=21/12=1.75.
4. Summing gives E[X]=2.5+1.75=4.25. This is already exact to two decimal places.
5. The unweighted average of 1 through 8 is 4.5, but that would assume equal probabilities of 1/8. Here the lower-sum first group carries twice the probability per value, so 4.25 is consistent with the extra weight on that group.

Result: 4.25. The published accepted numerical interval is 4.24 to 4.26, which is broader than the exact computed central value.

Original paper, page 44 · Answer key

1 mark · MCQ
Report issue

Identifying a Gaussian density

Probability & Statistics

Question 14, GATE 2026: For every real x, f(x)=[1/(3√(2π))]exp(−x²/18) is a probability density. Is X A exponential, B normal, C Poisson, or D uniform?
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Givens and goal

For every real x, f(x)=[1/(3√(2π))]exp(−x²/18) is a probability density. Is X A exponential, B normal, C Poisson, or D uniform?

Approach

Match both the exponent and the normalization factor to a standard density.

Step-by-step solution

1. The normal density with mean μ and standard deviation σ is [1/(σ√(2π))]exp(−(x−μ)²/(2σ²)). The given coefficient implies σ=3.
2. The exponent has x² rather than (x−μ)² with a nonzero shift, so μ=0. Its denominator is 18=2×9=2σ², independently confirming σ²=9.
3. Thus X is N(0,9), a normal random variable, option B. The scale parameter 3 is the standard deviation, not the variance.
4. A uniform density is constant on its support; an exponential density has a linear exponent on a one-sided support; a Poisson law assigns discrete masses to nonnegative integers. None matches this smooth two-sided Gaussian density.

Original paper, page 12 · Answer key

2 marks · NAT
Report issue

Conditional heads with one shared toss

Probability & Statistics

Question 63, GATE 2026: Six independent fair coin tosses define E1: at least two heads among tosses 2,4,6; E2: exactly two heads among tosses 1,2,3,5. Find P(E1|E2) to one decimal place.
Tap to enlarge
Answer & solution

Official answer: 0.5

Givens and goal

Six independent fair coin tosses define E1: at least two heads among tosses 2,4,6; E2: exactly two heads among tosses 1,2,3,5. Find P(E1|E2) to one decimal place.

Approach

Condition on the shared toss 2, leaving tosses 4 and 6 independent.

Step-by-step solution

1. E2 concerns four positions and permits C(4,2)=6 equally likely arrangements of their two heads. Of these, C(3,1)=3 have toss 2 as a head and C(3,2)=3 have it as a tail. Therefore P(H2|E2)=P(T2|E2)=1/2.
2. Tosses 4 and 6 are not constrained by E2, so conditional on E2 they remain independent fair tosses and independent of the constrained four positions.
3. If toss 2 is a head, E1 requires at least one head among 4 and 6. Its probability is 1−P(T4T6)=1−1/4=3/4. If toss 2 is a tail, E1 requires both remaining tosses to be heads, probability 1/4.
4. By total probability, P(E1|E2)=(1/2)(3/4)+(1/2)(1/4)=1/2=0.5.
5. A direct counting check gives 6×4=24 full six-toss outcomes satisfying E2. Favorable outcomes number 3×3+3×1=12, again 12/24=0.5. The events share toss 2, so conditional reasoning should not be replaced by an unsupported assertion of independence.

Original paper, page 41 · Answer key

1 mark · NAT
Report issue

Updating coin probabilities after two heads

Probability & Statistics

Question 32, GATE 2025: A box contains four fair coins and one coin that always produces heads. Choose one of the five coins uniformly and toss that same coin twice. Given two heads, find the probability the chosen coin is the fake coin, to two decimal places.
Tap to enlarge
Answer & solution

Official answer: 0.49 to 0.51

Our answer: 0.50

Approach: Use Bayes’ rule because observing heads changes the relative plausibility of the two kinds of coin.
Let F denote the fake coin and H denote the observed pair of heads. Before tossing, P(F)=1/5 and P(not F)=4/5. The fake always gives heads, so P(H|F)=1. With a fair coin, independent tosses give P(H|not F)=(1/2)²=1/4.
The total probability of two heads is P(H)=(1/5)×1+(4/5)×(1/4)=2/5. Consequently P(F|H)=P(F and H)/P(H)=(1/5)/(2/5)=1/2=0.50.
Two heads do not prove that the coin is fake: the combined four-coin fair alternative has exactly as much probability mass for this observation as the fake alternative. The official range 0.49–0.51 and the existing supplemental/excluded classification are retained.

Original paper, page 32 · Answer key

2 marks · NAT
Report issue

Normalizing a quadratic probability density

Probability & Statistics

Question 58, GATE 2025: A continuous random variable has density p(x)=Cx² for 1≤x≤4 and p(x)=0 elsewhere. Find P(2≤X≤3) rounded to three decimal places.
Tap to enlarge
Answer & solution

Official answer: 0.300 to 0.302

Our answer: 0.302

Approach: First determine C by total probability one, then integrate the normalized density over the desired interval.
Normalization requires 1=∫₁⁴Cx² dx=C[x³/3]₁⁴=C(64−1)/3=21C, hence C=1/21. This positive constant also ensures that the density is non-negative throughout its support.
Therefore P(2≤X≤3)=∫₂³x²/21 dx=[x³/63]₂³=(27−8)/63=19/63≈0.3015873016. To three decimal places this is 0.302, within the preserved official interval 0.300–0.302.
Because this is a continuous distribution, including or excluding either endpoint does not change the probability. The density is not uniform, so dividing interval lengths, (3−2)/(4−1)=1/3, would be incorrect. The density weights larger x more heavily. This calculus/probability item is retained for paper completeness while preserving its existing supplemental/excluded subject classification.

Original paper, page 58 · Answer key

2 marks · NAT
Report issue

Probability & Statistics

Question 64, GATE 2025: A monic quadratic over the complex numbers is called square-invariant when (x−α)(x−β)=(x−α²)(x−β²). Choose uniformly from all distinct such polynomials. What is the probability that its two roots are equal? Give one decimal place.
Tap to enlarge
Answer & solution

Official answer: 0.5

Equality of monic polynomials implies equality of their root multisets, including multiplicity: {α,β}={α²,β²}. Squaring must therefore either fix both roots or swap them.

If it fixes each root, α²=α and β²=β, so each root is 0 or 1. Ignoring order, the possible multisets are {0,0},{0,1},{1,1}, giving x², x²−x, and (x−1)².

If it swaps two distinct roots, α²=β and β²=α. Substitute to get α4=α, or α(α³−1)=0. The values α=0 or 1 would force β=α and do not give a distinct swapped pair. The remaining choices are the two nontrivial cube roots of unity ω,ω², which swap under squaring. Together they give one polynomial, (x−ω)(x−ω²)=x²+x+1, because ω+ω²=−1 and ω³=1.

There are therefore four distinct eligible polynomials, not four ordered root pairs. Exactly two, x² and (x−1)², have equal roots. Under uniform choice from these four polynomials, the probability is 2/4=0.5. The complex domain is essential for including x²+x+1. Answer: 0.5.

Original paper, page 47 · Answer key

2 marks · NAT
Report issue

Probability & Statistics

Question 65, GATE 2025: Choose a cut point U uniformly in (0,1), splitting the unit interval into two pieces. Let L be the length of the piece that contains the fixed point 0.4. Find E[L], to two decimal places. The event U=0.4 has probability zero.
Tap to enlarge
Answer & solution

Official answer: 0.70 to 0.80

Our answer: 0.74

Condition on which side of 0.4 the random cut falls. If 0<U<0.4, the point 0.4 belongs to the right piece (U,1), whose length is 1−U. If 0.4<U<1, it belongs to the left piece (0,U), whose length is U. Since U has uniform density 1,
E[L]=∫_00.4(1−u)du + ∫_0.41 u du.

The first integral is [u−u²/2]_00.4=0.4−0.08=0.32. The second is [u²/2]_0.41=0.5−0.08=0.42. Adding them gives 0.74.

Alternatively, conditional means are E[1−U | U<0.4]=1−0.2=0.8 and E[U | U>0.4]=(0.4+1)/2=0.7. Weight by probabilities 0.4 and 0.6 to obtain 0.4·0.8+0.6·0.7=0.74. Do not average the two lengths with equal probability: the containing piece is selected by a fixed location, not by a fair choice between the pieces. The result is within the official range 0.70–0.80. Answer: 0.74.

Original paper, page 48 · Answer key

1 mark · MCQ
Report issue

Independence of two relative orders

Probability & Statistics

Question 14, GATE 2024: A permutation of {1,2,…,n}, n≥4, is chosen uniformly. X means 1 occurs before 2; Y means 3 occurs before 4. Which statement is true? A X and Y are mutually exclusive. B They are independent. C At least one must occur. D X is more likely than Y.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Approach: Use symmetry of label swaps; other elements and their positions do not affect the two order comparisons.
1. Swapping labels 1 and 2 pairs every permutation satisfying X with one not satisfying X. Thus P(X)=1/2. Similarly, swapping 3 and 4 shows P(Y)=1/2.
2. The first swap does not change Y, and the second does not change X. Starting from any permutation, independently applying these swaps produces all four truth combinations (X,Y), (X,not Y), (not X,Y), and (not X,not Y), each equally often.
3. Therefore P(X∩Y)=1/4=P(X)P(Y), proving independence.
Answer: B. The order 1,2,3,4 shows both events can occur, disproving mutual exclusivity. The order 2,1,4,3 shows both can fail, disproving C. Their equal probabilities disprove D.

Original paper, page 9 · Answer key

1 mark · MSQ
Report issue

Partition two events into disjoint regions

Probability & Statistics

Question 27, GATE 2024: P(A)=0.3, P(B)=0.5 and P(A∩B)=0.1. Select all true claims: A A and B are independent; B P(A∪B)=0.7; C P(A∩Bᶜ)=0.2; D P(Aᶜ∩Bᶜ)=0.4.
Tap to enlarge
Select all that apply
Answer & solution

Official answer: B, C

Approach: Compute the four disjoint regions of the probability space and check independence separately.
1. The overlap A∩B has probability 0.1. The part only in A has probability 0.3−0.1=0.2. This is A∩Bᶜ, so C is true.
2. The part only in B has probability 0.5−0.1=0.4. Adding the two exclusive parts and the overlap gives P(A∪B)=0.2+0.4+0.1=0.7, so B is true.
3. The region in neither event has probability 1−0.7=0.3, not 0.4. Hence D is false. The value 0.4 belongs to B without A, not to the complement of the union.
4. Independence would require P(A∩B)=P(A)P(B)=0.3×0.5=0.15. The supplied overlap is 0.1, so A is false.
Answer: B and C. As a check, the four disjoint probabilities 0.1, 0.2, 0.4 and 0.3 sum to 1.

Original paper, page 18 · Answer key

2 marks · NAT
Report issue

Condition on the first draw before counting

Probability & Statistics

Question 63, GATE 2024: A bag contains 10 red and 15 blue balls. Two are drawn uniformly without replacement. Given that the first draw is red, find the probability that both draws are red, rounded to three decimals.
Tap to enlarge
Answer & solution

Official answer: 0.370 to 0.380

Our answer: 0.375

Approach: The first red draw is already known. Update the bag after that draw and compute only the remaining uncertainty.
1. Initially there are 25 balls. After the given red draw, one red ball has been removed, leaving 9 red and 15 blue balls, 24 in total.
2. Under this condition, “both balls are red” is equivalent to “the second ball is red”. Its probability is therefore 9/24=3/8=0.375.
3. A conditional-probability check gives P(first red and second red)/P(first red)=[(10/25)(9/24)]/(10/25)=9/24, confirming that the first-draw factor cancels.
Answer: 0.375, already expressed to three decimal places and within the official accepted interval 0.370–0.380. Multiplying by 10/25 without dividing by the conditioning probability would instead calculate the unconditional probability of two red draws.

Original paper, page 35 · Answer key

1 mark · MCQ
Report issue

All six faces on six fair dice

Probability & Statistics

Question 18, GATE 2024: Six independent unbiased dice are rolled. What is the probability all six face values are different? A 1/324; B 5/324; C 7/324; D 11/324.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Approach: Count outcomes for distinguishable dice, or expose the dice one at a time.

1. Derivation. There are 6⁶ equally likely outcomes for six labelled fair dice. All six faces are distinct exactly when the outcome is a permutation of 1 through 6, giving 6! possibilities. Probability=720/46656=5/324, option B.

2. Explanation and checks. The sequential calculation is (6/6)(5/6)(4/6)(3/6)(2/6)(1/6), because every new die must avoid all previously observed faces. This equals 6!/66. The dice may be rolled simultaneously, but labeling them for counting does not change their probabilities. There is only one unordered multiset containing all six faces, yet it corresponds to 720 ordered outcomes, so using 1/66 would undercount favorable outcomes.

Original paper, page 13 · Answer key

2 marks · MCQ
Report issue

A pointwise bound without independence

Probability & Statistics

Question 44, GATE 2024: Random variables x,y lie in [0,1], may be dependent, and z=xy. Which always holds? A E[z]=E[x]E[y]; B E[z]≤E[x]E[y]; C E[z]≥E[x]E[y]; D E[z]≤E[x].
Tap to enlarge
Your answer
Answer & solution

Official answer: D

Approach: Use a bound true for each outcome, which remains true after taking an expectation.

1. Derivation. Since0≤y≤1 and x≥0, pointwise xy≤x. Taking expectations preserves the inequality, giving E[xy]≤E[x], option D. No independence is assumed. If x=y is a fair 0/1 variable, E[xy]=1/2>E[x]E[y]=1/4; if y=1−x, E[xy]=0<1/4. These examples rule out universal equality and both fixed comparisons with the product of means.

2. Explanation and checks. Multiplication by a number between zero and one cannot increase a nonnegative quantity, so xy≤x in every outcome; similarly xy≤y. No factorization of expectation is needed. To test the other answers take x equal to 0 or 1 with probability one half each. Choosing y=x makes the variables positively associated, while y=1−x makes them mutually exclusive. Their means remain one half in both examples, yet their product means differ, ruling out any universal product-of-means comparison.

Original paper, page 31 · Answer key

2 marks · MSQ
Report issue

Probability & Statistics

Question 53, GATE 2023: Two fair coins are tossed independently. A={HH}, B={HH,HT} (first head), C={HH,TH} (second head). Select true claims: A events A,B independent; B events A,C independent; C events B,C independent; D P(B|C)=P(B).
Tap to enlarge
Select all that apply
Answer & solution

Official answer: C, D

The four outcomes HH, HT, TH, TT are equally likely. P(A)=1/4, P(B)=P(C)=1/2. Since A is a subset of B and of C, P(A intersection B)=P(A intersection C)=1/4, whereas P(A)P(B)=P(A)P(C)=1/8; neither pair is independent. But P(B intersection C)=1/4=P(B)P(C), and P(B given C)=1/2=P(B). Hence C and D.

Teaching detail. Independence asks whether learning one event changes the other's probability, not whether the events overlap. Knowing C leaves the first coin fair, so the two equally likely remaining outcomes HH,TH give P(B|C)=1/2. By contrast, learning A guarantees B, giving P(B|A)=1 rather than P(B)=1/2. The same reasoning applies to C. The direct product checks in the solution are valid because all four outcomes have probability 1/4 under the standard independent fair-coin experiment.

Original paper, page 56 · Answer key

1 mark · NAT
Report issue

Probability & Statistics

Question 18, GATE 2021: A component lifetime X is exponentially distributed with parameter 2. Find P(X>E[X]), rounded to two decimal places.
Tap to enlarge
Answer & solution

Official answer: 0.35 to 0.39

Our answer: 0.37

For an exponential lifetime with rateλ, E[X]=1/λ and P(X>t)=e−λt. Therefore P(X>E[X])=e−1≈0.367879, rounding to 0.37, within the official 0.35–0.39 range. The result is the same if parameter2 is expressed as a scale rather than rate.

With rate λ=2 the mean is 1/2, so integrate the density: ∫_(1/2)^∞ 2e−2xdx=e−1. Equivalently use the survival function. If the printed 'parameter 2' were interpreted as scale θ=2, the mean would be 2 and survival at that mean would still be e−2/2=e−1. This invariant removes the rate-versus-scale convention issue for this particular question.

Original paper, page 20 · Answer key

2 marks · MCQ
Report issue

Probability & Statistics

Question 35, GATE 2021: S1: There exist random variables X,Y for which (E[(X−E[X])(Y−E[Y])])²>Var[X]Var[Y]. S2: For all X,Y, Cov[X,Y]=E[|X−E[X]| |Y−E[Y]|]. Which is correct? A both true; B S1 true/S2 false; C S1 false/S2 true; D both false. Variances/covariances are understood to exist.
Tap to enlarge
Your answer
Answer & solution

Official answer: D

For finite second moments, Cauchy–Schwarz gives Cov(X, Y)²≤Var(X)Var(Y), contradicting S1’s strict greater-than claim. S2 incorrectly inserts absolute values. For a nonconstant mean-zero random variable X and Y=−X, covariance is−Var(X), while the proposed expectation of absolute deviations is+Var(X). Both statements are false, D.

Let U=X−E[X], V=Y−E[Y]. Cauchy–Schwarz says |E[UV]|≤√(E[U²]E[V²]); squaring establishes the opposite of S1's strict inequality. For S2 take X equally likely ±1 and Y=−X. Means are zero, Cov(X,Y)=E[−X²]=−1, while E[|X||Y|]=1. The sign information removed by absolute values is essential to covariance.

Original paper, page 29 · Answer key

2 marks · NAT
Report issue

Probability & Statistics

Question 54, GATE 2021: A sender transmits H with probability .1 and L with probability .9. Channel edge probabilities are P(received H|sent H)=.3, P(received L|sent H)=.7, P(received H|sent L)=.8, P(received L|sent L)=.2. Given that H was received, find the probability H was sent, rounded to two decimals.
Tap to enlarge
Answer & solution

Official answer: 0.04

Bayes rule gives P(sent H given received H)=P(received H given sent H)P(sent H)/P(received H). The diagram gives 0.3 for H-to-H and 0.8 for L-to-H. The numerator is 0.3*0.1=0.03, and the denominator is 0.3*0.1+0.8*0.9=0.75. The conditional probability is 0.03/0.75=0.04.

Among an imagined 1000 transmissions, 100 are H and 900 are L. Expected received-H counts are 30 from sent-H and 720 from sent-L. Conditioning on received H therefore selects a population of 750, of which only 30 originated as H: 30/750=.04. The reversed conditional P(received H|sent H)=.3 is not the requested P(sent H|received H), because the prior probabilities differ greatly.

Original paper, page 41 · Answer key

1 mark · NAT
Report issue

Probability & Statistics

Question 22, GATE 2021: A coin independently gives heads with probability 0.4 on each of 1000 tosses. X counts heads. Find standard deviation of X to two decimals.
Tap to enlarge
Answer & solution

Official answer: 15.00 to 16.00

Our answer: 15.49

For X~Binomial(1000, 0.4), variance is np(1−p)=1000·0.4·0.6=240. Standard deviation is√240≈15.4919, or 15.49 to two decimals, within the official 15.00–16.00 range.

Write X as the sum of 1000 independent Bernoulli indicators. Each has variance p(1−p)=0.24; independence makes variances add. Standard deviations do not add directly. Taking the square root only after the variance sum produces the requested units, number of heads.

Original paper, page 65 · Answer key

2 marks · MCQ
Report issue

Probability & Statistics

Question 29, GATE 2021: Independent questions A and B are correct with probabilities 0.8 and 0.5, worth 10 and 20 marks. A wrong first answer yields zero; a correct first and wrong second yields only first marks; both correct yield 30. Choose order and expectation: A A then B,14; B B then A,14; C B then A,22; D A then B,16.
Tap to enlarge
Your answer
Answer & solution

Official answer: D

Attempting A first gives expected marks 0.8·10+(0.8·0.5)·20=16. Attempting B first gives 0.5·20+(0.5·0.8)·10=14. The product terms use the stated independence. Hence A then B maximizes the expectation at 16, D.

Alternatively enumerate outcomes for A first: probability 0.2 earns 0; probability 0.8×0.5 earns 10; probability 0.8×0.5 earns 30. Expectation is 4+12=16. For B first, 0.5 earns zero, 0.5×0.2 earns 20 and 0.5×0.8 earns 30, totaling 2+12=14. Expected individual question value alone does not determine the order.

Original paper, page 70 · Answer key

2 marks · MCQ
Report issue

Probability & Statistics

Question 33, GATE 2021: Urn starts with r red,b black balls. Each trial draws uniformly, replaces the ball, and adds one more of that color. Four trials occur. Probability fourth draw is red? A r/(r+b); B r/(r+b+3); C (r+3)/(r+b+3); D product of (r+i)/(r+b+i) for i=0,1,2,3.
Tap to enlarge
Your answer
Answer & solution

Official answer: A

Let Rk be the number of red balls after k draws and N=r+b. Given Rk, the expected red count after one more draw is Rk+Rk/(N+k). Therefore E[Rk+1/(N+k+1)|Rk]=Rk/(N+k). The expected red proportion remains r/N through all trials. The probability of red on trial 4 is E[R3/(N+3)]=r/(r+b), A.

A direct check on the second draw already shows the pattern: (r/N)((r+1)/(N+1))+(b/N)(r/(N+1))=r/N. Reinforcement makes successive colors dependent, but leaves the marginal probability unchanged. Option D is the probability that all four draws are red, which is stronger than only the fourth being red.

Original paper, page 73 · Answer key

1 mark · NAT
Report issue

Equal most-significant bits in independent draws

Probability & Statistics

Question 22, GATE 2019: Choose two numbers independently and uniformly from {1,…,13}. Represent each as a four-bit unsigned binary number, including leading zeros. Find the probability that their most significant bits agree, rounded to three decimal places.
Tap to enlarge
Answer & solution

Official answer: 0.502 to 0.504

Our answer: 0.503

Method: partition the sample space by the value of the leftmost four-bit position.

1. In four-bit unsigned representation, the most significant bit has weight 8. Numbers 1 through 7 have MSB 0; there are seven. Numbers 8 through 13 have MSB 1; there are six. Zero is not in the sampling set.
2. The MSBs agree in two disjoint cases: both draws come from the seven-number group, or both from the six-number group.
3. Independent draws give probability (7/13)² for the first case and (6/13)² for the second. The desired sum is (49+36)/169=85/169.
4. Numerically 85/169≈0.50295858, which rounds to 0.503.

Result: 0.503. Independence permits the same number to be drawn twice. Treating the draws as without replacement would change both denominators and the probability.

Original paper, page 8 · Answer key

2 marks · NAT
Report issue

Real roots under a uniform parameter

Probability & Statistics

Question 47, GATE 2019: Y is uniformly distributed on (1,6). Find the probability that 3x²+6Yx+3Y+6 has only real roots, rounded to one decimal place.
Tap to enlarge
Answer & solution

Official answer: 0.8

1. A real quadratic ax²+bx+c with a≠0 has real roots exactly when its discriminant Δ=b²−4ac is nonnegative. Here a=3, b=6Y, c=3Y+6.
2. Substitute and simplify: Δ=(6Y)²−4×3×(3Y+6)=36Y²−36Y−72=36(Y−2)(Y+1).
3. Throughout the support 1<Y<6, the factor Y+1 is positive. Thus Δ≥0 exactly when Y−2≥0, namely Y≥2. Intersecting with the support gives [2,6).
4. Uniform probability is favorable interval length divided by total interval length: (6−2)/(6−1)=4/5=0.8. This already has the requested one-decimal precision.
5. At Y=2 the quadratic has a repeated real root. Including or excluding that single boundary point does not change probability for a continuous uniform variable. The question asks for real roots, not positive roots; the negative sign of their sum is irrelevant.

Original paper, page 14 · Answer key

1 mark · NAT
Report issue

First decisive dice trial

Probability & Statistics

Question 15, GATE 2018: Each of two players independently rolls a fair six-faced die per trial; ties cause a retry. Find the probability that the game first has a winner on trial 3, rounded to three decimals.
Tap to enlarge
Answer & solution

Official answer: 0.021 to 0.024

Our answer: 0.023

Method

Of the 36 equally likely ordered roll pairs, six are ties: (1,1) through (6,6). The other 30 yield a winner, regardless of which player wins. To reach trial 3, the first two trials must both tie; the third must be non-tied. Independence permits multiplying these three probabilities. Do not multiply by an extra factor 2 for the two players: the decisive probability already includes both possible winners.

Solution

A trial ties with probability 6/36=1/6 and is decisive with probability 5/6. Winning first on trial 3 requires two ties then a decisive roll, probability(1/6)²(5/6)=5/216≈0.023148, rounded 0.023.

Original paper, page 8 · Answer key

1 mark · NAT
Report issue

Probability & Statistics

Question 19, GATE 2017: X is Gaussian with mean 0 and variance σ². Let Y=max(X,0). Find the median of Y.
Tap to enlarge
Answer & solution

Official answer: 0.0

Our answer: 0

1. For positive variance, symmetry of a zero-mean Gaussian gives P(X≤0)=1/2. The map max(X,0) sends every negative input to exactly zero.

2. Thus Y has no negative values and has probability 1/2 concentrated at zero. A median m satisfies P(Y≤m)≥1/2 and P(Y≥m)≥1/2; m=0 satisfies both.

3. For m<0 the first probability is zero; for m>0 the second is less than 1/2. Hence the median is 0. If variance is zero, Y is identically zero and the same answer holds.

Original paper, page 10 · Answer key

2 marks · MCQ
Report issue

Probability & Statistics

Question 26, GATE 2017: P and Q may apply for a job. Given Pr(P)=1/4, Pr(P|Q)=1/2 and Pr(Q|P)=1/3, find Pr(not P | not Q). A:4/5. B:5/6. C:7/8. D:11/12.
Tap to enlarge
Your answer
Answer & solution

Official answer: A

1. Conditional probability gives Pr(P∩Q)=Pr(Q|P)Pr(P)=(1/3)(1/4)=1/12. Use the other conditional to find Pr(Q): (1/12)/Pr(Q)=1/2, so Pr(Q)=1/6.

2. Inclusion-exclusion gives Pr(P∪Q)=1/4+1/6-1/12=1/3. Therefore the probability of neither event is Pr(not P∩not Q)=2/3.

3. Conditioning on not Q restricts the denominator to Pr(not Q)=5/6. Hence the requested probability is (2/3)/(5/6)=4/5, A. Independence was not given and must not be assumed; in fact the supplied conditional probabilities do not equal the unconditional ones.

Original paper, page 10 · Answer key

2 marks · MCQ
Report issue

Probability & Statistics

Question 31, GATE 2017: For a discrete random variable X with probabilities p_j on j=0,…,N, define g_X(z)=Σ(j=0 to N)p_j z^j. Suppose g_Y(z)=(1−β+βz)^N with β∈[0,1]. Find E[Y]. A:Nβ(1−β). B:Nβ. C:N(1−β). D:not expressible from N and β alone.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

1. Differentiate the definition of the probability generating function: g′_Y(z)=Σ(j=1 to N)j pj zj-1. Evaluating at z=1 leaves Σj pj, exactly E[Y].

2. By the chain rule, differentiating the supplied polynomial gives g′_Y(z)=Nβ(1−β+βz)N-1. At z=1 the parenthesized expression is 1, so g′_Y(1)=Nβ.

3. Therefore B is correct. The generating function also identifies a binomial distribution, whose variance is Nβ(1−β), the distractor A. The mean formula remains valid for β=0 or 1 and for the degenerate N=0 case.

Original paper, page 12 · Answer key

1 mark · NAT
Report issue

Probability & Statistics

Question 4, GATE 2016: A probability density equals 1/x^2 on [a,1] and zero outside. Find a.
Tap to enlarge
Answer & solution

Official answer: 0.5 : 0.5

Our answer: 0.5

Normalize the density: integral from a to 1 of x−2 dx=1/a−1=1, yielding a=1/2. The support cannot cross zero because the integral there diverges.

A probability density must be nonnegative and have total area 1. Here its integral is [−1/x]_a1=−1+1/a, provided 0<a<1. Solving the normalization equation gives a=1/2, and substituting back yields 2−1=1. An interval containing zero would make this improper integral diverge, so algebraic manipulations across that singularity would not define a probability distribution.

Original paper, page 4 · Answer key

1 mark · NAT
Report issue

Probability & Statistics

Question 2, GATE 2014: A unit-length stick is cut once at a uniformly random point. Find the expected length of the shorter piece.
Tap to enlarge
Answer & solution

Official answer: 0.24 to 0.27

Our answer: 0.25

1. Method and setup. Let X be the cut position measured from the left endpoint. The two lengths are X and 1−X. The shorter length is X on [0,1/2] and 1−X on [1/2,1]; the two halves contribute equally to the expectation.

2. Work through the result and its assumptions. For a uniform cut X on[0, 1], the shorter length is min(X, 1−X). Symmetry gives E=2∫₀1/2x dx=1/4, within the accepted range.

Original paper, page 8 · Answer key

2 marks · MCQ
Report issue

Matching normal-distribution tails

Probability & Statistics

Question 29, GATE 2008: X is normal with mean +1 and variance 4. Y is normal with mean −1 and unknown variance. If P(X≤−1)=P(Y≥2), what is the standard deviation of Y?

(A) 3
(B) 2
(C) √2
(D) 1
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

1. X has standard deviation √4=2. Standardization gives P(X≤−1)=Φ((−1−1)/2)=Φ(−1).
2. Write Y’s positive standard deviation as s. Then P(Y≥2)=1−Φ((2+1)/s)=Φ(−3/s), using normal symmetry.
3. Φ is strictly increasing, so equality implies −3/s=−1 and s=3, A. The requested quantity is standard deviation, not variance 9.

Original paper, page 6

1 mark · MCQ
Report issue

Integrating a continuous density

Probability & Statistics

Question 12, GATE 2005: For continuous probability density f of X, express P(a<X≤b): A f(b−a); B f(b)−f(a); C ∫_a^b f(x)dx; D ∫_a^b x f(x)dx.
Tap to enlarge
Your answer
Answer & solution

Answer: C (no official key was published)

For a≤b, probability P(a<X≤b)=∫_ab f(x)dx, C. Individual endpoints have probability zero for a continuous distribution. The integral of xf(x) instead contributes to an expectation.

A density is integrated over an interval to obtain probability, so P(a<X≤b)=∫_ab f(x)dx. A single point has probability zero for a continuous density, making endpoint inclusion immaterial here. The expression f(b)−f(a) uses density values rather than cumulative probabilities; multiplying by x would instead compute a truncated first moment. Hence C.

Original paper, page 2

2 marks · MCQ
Report issue

Expected squared radius in a rectangle

Probability & Statistics

Question 80, GATE 2004: Choose a point uniformly from the rectangle with corners (0,0),(1,0),(1,2),(0,2). If p is its distance from the origin, what is E[p²]?
Options:
(A) 2/3
(B) 1
(C) 4/3
(D) 5/3
Tap to enlarge
Your answer
Answer & solution

Answer: D (no official key was published)

1. Uniform sampling over [0,1]×[0,2] makes X and Y uniform on their respective intervals. Since p²=X²+Y², E[p²]=E[X²]+E[Y²]=(integral from 0 to 1 of x² dx)+(1/2)(integral from 0 to 2 of y² dy)=1/3+4/3=5/3, D.

2. This asks for E[p²], not the square of E[p].

3. Teaching check: Uniformity over the rectangle gives density 1/2, so E[Y²]=(1/2)∫₀²y²dy, not simply ∫₀²y²dy. Linearity gives E[X²+Y²] without needing to integrate sqrt(X²+Y²), which would answer a different question.

Original paper, page 11

2 marks · MCQ
Report issue

Distribution of the sum of module runtimes

Probability & Statistics

Question 60, GATE 2003: A program executes two modules sequentially. Their execution times have probability densities f1(t),f2(t). Which expression gives the density of total execution time?
A. f1(t)+f2(t)
B. ∫[0,t] f1(x)f2(x) dx
C. ∫[0,t] f1(x)f2(t−x) dx
D. max{f1(t),f2(t)} [GateForum; GFG instead prints max{f1(t)+f2(t)}.]
The statement does not explicitly assert independence.
Tap to enlarge
Your answer
Answer & solution

Answer: C if the runtimes are independent; otherwise underdetermined (no official key was published)

1. Let T=T1+T2. A contribution to density near t with T1=x must have T2 near t−x, not x. Nonnegative runtimes restrict x to [0,t].
2. If T1,T2 are independent, their joint density is f1(x)f2(y). Integrating along x+y=t yields ∫[0,t]f1(x)f2(t−x)dx, C.
3. Marginal densities alone do not supply that product. For example, if both times are uniform on [0,1], independent times give a triangular sum density, whereas T2=T1 gives a uniform sum on [0,2]. Sequential execution permits either dependency.
4. Therefore C is conditional on independence; the literal problem is underdetermined. One cannot infer independence merely because the modules run one after another.

Solution: For independent nonnegative runtimes T₁,T₂, the density of T₁+T₂ is the convolution f(t)=∫₀ᵗ f₁(x)f₂(t−x) dx, option C. Sequential execution alone does not imply independence. In general the answer is ∫₀ᵗ f₁₂(x,t−x) dx using a joint density, when one exists, and marginal densities f₁,f₂ do not determine it. The same marginal distributions can give different sums under different dependencies, so C requires an extra independence assumption not stated in the paper.

Original paper, page 8