Probability and Random Variables: GATE ECE practice questions with solutions

This topic covers Bayes' rule, discrete and continuous variables, Gaussian, exponential, Poisson and Rayleigh distributions, and joint densities. The 15 original questions follow the GATE EC format: 9 MCQ, 2 MSQ and 4 NAT, from 5 easy, 7 medium and 3 hard.

Three ideas to know:

  • The variance of a uniform variable depends only on the width of its interval.
  • Bayes' rule weights the channel probability by the prior of each symbol.
  • The envelope of two independent zero-mean Gaussian components is Rayleigh distributed.

It helps GATE EC and ECE students revising Communications for the exam or a semester test. Helpful background: Classical probability and Uniform distribution. Start with the 5 easy questions, then work up to the 3 hard ones.

Q.1

EasyMCQ1 mark

Two fair six-sided dice are rolled. The probability that the sum of the faces is 8 is

  1. Option A: 5/36
  2. Option B: 1/6
  3. Option C: 1/9
  4. Option D: 7/36
Show answer and solutionHide answer and solution

Answer: (A)

Key idea: Count ordered outcomes when every ordered pair is equally likely.

1. There are 36 equally likely ordered outcomes.

2. Sum 8: (2,6), (3,5), (4,4), (5,3), (6,2), which is 5 outcomes.

3. P = 5/36.

Common mistake: Assuming every sum from 2 to 12 has six outcomes, as the sum 7 does, gives 6/36 = 1/6, option (B).

You need: Classical probability

Q.2

EasyMCQ1 mark

A random variable X is uniformly distributed on the interval [−1, 3]. Its variance is

  1. Option A: 1/3
  2. Option B: 4/3
  3. Option C: 2
  4. Option D: 3/4
Show answer and solutionHide answer and solution

Answer: (B)

Key idea: The variance of a uniform variable depends only on the width of its interval.

1. For a uniform variable on [a, b], Var = (b − a)²/12. 2. b − a = 4.

3. Var = 16/12 = 4/3.

Common mistake: Forgetting to square the width gives 4/12 = 1/3, option (A).

You need: Uniform distribution

Q.3

EasyNAT1 mark

A discrete random variable X takes the value 0 with probability 0.2, the value 1 with probability 0.5 and the value 3 with probability 0.3. Its mean E[X] is ______.

Numerical answer: type a number.

Show answer and solutionHide answer and solution

Answer: 1.4

Key idea: The mean weights each value by its probability.

1. E[X] = Σ x P(x). 2. = 0 × 0.2 + 1 × 0.5 + 3 × 0.3. 3. = 0 + 0.5 + 0.9 = 1.4.

Common mistake: Taking the plain average of the values, (0 + 1 + 3)/3 = 1.33.

You need: Expectation of a discrete variable

Q.4

EasyMCQ1 mark

A noise sample X is Gaussian with mean 2 and variance 4. Use Q(1) = 0.1587, Q(2) = 0.0228 and Q(3) = 0.00135. The probability P(X > 6) is

  1. Option A: 0.1587
  2. Option B: 0.0228
  3. Option C: 0.00135
  4. Option D: 0.9772
Show answer and solutionHide answer and solution

Answer: (B)

Key idea: Standardize with the standard deviation, not the variance.

1. σ = √4 = 2.

2. P(X > 6) = Q((6 − 2)/σ) = Q(2).

3. Q(2) = 0.0228.

Common mistake: Dividing by the variance 4 gives Q(1) = 0.1587, option (A).

You need: Gaussian distribution, Q-function

Q.5

EasyMCQ1 mark

X and Y are independent random variables with variances 3 and 5. The variance of 2X − Y is

  1. Option A: 1
  2. Option B: 11
  3. Option C: 17
  4. Option D: 7
Show answer and solutionHide answer and solution

Answer: (C)

Key idea: Coefficients are squared, so a minus sign never reduces the variance.

1. For independent variables, Var(aX + bY) = a²Var X + b²Var Y. 2. = 4 × 3 + 1 × 5 = 17.

Common mistake: Subtracting the variances because of the minus sign gives 12 − 5 = 7, option (D).

You need: Properties of variance

Q.6

MediumMCQ1 mark

A binary source sends 0 with probability 0.6 and 1 with probability 0.4 over a binary symmetric channel with crossover probability 0.1. Given that a 1 is received, the probability that a 1 was sent is closest to

  1. Option A: 0.857
  2. Option B: 0.9
  3. Option C: 0.36
  4. Option D: 0.42
Show answer and solutionHide answer and solution

Answer: (A)

Key idea: Bayes' rule weights the channel probability by the prior of each symbol.

1. P(receive 1) = 0.6 × 0.1 + 0.4 × 0.9 = 0.06 + 0.36 = 0.42.

2. P(sent 1 | received 1) = 0.36/0.42 = 0.857.

Common mistake: Ignoring the priors and answering with the channel's correct-transfer probability 0.9, option (B).

You need: Bayes' theorem, binary symmetric channel

Q.7

MediumNAT1 mark

The time between packet arrivals is exponentially distributed with mean 2 ms. The probability that the next gap is longer than 4 ms is ______ (round to three decimal places).

Numerical answer: type a number.

Show answer and solutionHide answer and solution

Answer: 0.135 (accepted 0.134 to 0.136)

Key idea: For an exponential variable, P(T > t) = e^(−t/mean).

1. Rate λ = 1/mean = 0.5 per ms.

2. P(T > t) = e^(−λt) = e^(−0.5 × 4). 3. = e^(−2) = 0.135.

Common mistake: Using the mean 2 as the rate gives e^(−8) = 0.000335.

You need: Exponential distribution

Q.8

MediumMCQ2 marks

A random variable has probability density f(x) = kx for 0 ≤ x ≤ 2 and zero elsewhere. Its mean E[X] is

  1. Option A: 1
  2. Option B: 2/3
  3. Option C: 4/3
  4. Option D: 8/3
Show answer and solutionHide answer and solution

Answer: (C)

Key idea: Find the constant from total probability 1 before computing any moment.

1. Normalize: ∫₀² kx dx = 2k = 1, so k = 1/2.

2. E[X] = ∫₀² x × x/2 dx = (1/2)(8/3) = 4/3.

Common mistake: Skipping the normalization (k = 1) gives ∫₀² x² dx = 8/3, option (D).

You need: Probability density functions

Q.9

MediumMSQ2 marks

X is uniformly distributed on [0, 1] and Y = 2X + 1. Which of the following statements are correct?

One or more options are correct.

  1. Option A: Y is uniformly distributed on [1, 3].
  2. Option B: E[Y] = 2.
  3. Option C: Var(Y) = 1/3.
  4. Option D: The density of Y equals 1 on [1, 3].
Show answer and solutionHide answer and solution

Answer: (A), (B) and (C)

Key idea: Under Y = aX + b the density is divided by |a|.

1. A linear map of a uniform variable is uniform: X = 0 gives 1 and X = 1 gives 3.

2. E[Y] = 2 × 0.5 + 1 = 2.

3. Var(Y) = 4 × 1/12 = 1/3.

4. The density must integrate to 1 over a width of 2, so it equals 1/2, and (D) is false.

Common mistake: Keeping the original density height 1 after stretching the interval, statement (D).

You need: Functions of a random variable

Q.10

MediumMCQ2 marks

A 10-bit word is sent over a channel that flips each bit independently with probability 0.1. The probability that the word has at most one bit error is closest to

  1. Option A: 0.736
  2. Option B: 0.387
  3. Option C: 0.349
  4. Option D: 0.651
Show answer and solutionHide answer and solution

Answer: (A)

Key idea: "At most one" means the sum of the binomial terms for 0 and 1.

1. P(0 errors) = 0.9¹⁰ = 0.349.

2. P(1 error) = 10 × 0.1 × 0.9⁹ = 0.387.

3. Sum: 0.736.

Common mistake: Computing only the probability of exactly one error, 0.387, option (B).

You need: Binomial distribution

Q.11

MediumNAT2 marks

X and Y are independent, zero-mean random variables with variances 4 and 9. Define Z = X + Y and W = X − Y. The correlation coefficient between Z and W is ______ (round to two decimal places).

Numerical answer: type a number.

Show answer and solutionHide answer and solution

Answer: −0.38 (accepted −0.39 to −0.38)

Key idea: The cross terms cancel in (X + Y)(X − Y), leaving the difference of the variances.

1. Cov(Z, W) = E[(X + Y)(X − Y)] = E[X²] − E[Y²] = 4 − 9 = −5.

2. Var Z = Var W = 4 + 9 = 13. 3. ρ = −5/√(13 × 13) = −5/13 = −0.385.

Common mistake: Adding the variances in the covariance (4 + 9 = 13) gives ρ = 13/13 = 1.

You need: Covariance, correlation coefficient

Q.12

MediumMCQ2 marks

Packets arrive at a router as a Poisson process with an average of 3 packets per second. The probability of exactly 2 arrivals in a given 1-second interval is closest to (use e⁻³ = 0.0498)

  1. Option A: 0.149
  2. Option B: 0.050
  3. Option C: 0.448
  4. Option D: 0.224
Show answer and solutionHide answer and solution

Answer: (D)

Key idea: The Poisson probability includes division by k!.

1. P(k) = e^(−λ) λᵏ/k! with λ = 3.

2. P(2) = 0.0498 × 9/2. 3. = 0.224.

Common mistake: Forgetting the 2! in the denominator gives 9 × 0.0498 = 0.448, option (C).

You need: Poisson distribution

Q.13

HardMCQ2 marks

The in-phase and quadrature noise components X and Y are independent Gaussian variables, each with zero mean and unit variance. The envelope is R = √(X² + Y²). The probability P(R > 2) is closest to

  1. Option A: 0.0228
  2. Option B: 0.0456
  3. Option C: 0.0183
  4. Option D: 0.1353
Show answer and solutionHide answer and solution

Answer: (D)

Key idea: The envelope of two independent zero-mean Gaussian components is Rayleigh distributed.

1. R is Rayleigh distributed with density (r/σ²)e^(−r²/(2σ²)) and σ² = 1.

2. P(R > r) = e^(−r²/(2σ²)).

3. P(R > 2) = e^(−4/2) = e^(−2) = 0.1353.

Common mistake: Leaving out the 2 in the exponent gives e^(−4) = 0.0183, option (C).

You need: Rayleigh distribution, transformation of variables

Q.14

HardNAT2 marks

X and Y are independent and each uniformly distributed on [0, 1]. The probability P(X + Y ≤ 1.5) is ______.

Numerical answer: type a number.

Show answer and solutionHide answer and solution

Answer: 0.875

Key idea: The sum of two independent uniform variables has a triangular density, not a uniform one.

1. (X, Y) is uniform on the unit square.

2. The region X + Y > 1.5 is a corner triangle with legs 0.5 and 0.5, area 0.125.

3. P(X + Y ≤ 1.5) = 1 − 0.125 = 0.875.

Common mistake: Treating X + Y as uniform on [0, 2] gives 1.5/2 = 0.75.

You need: Joint distributions, convolution of densities

Q.15

HardMSQ2 marks

The joint density of X and Y is f(x, y) = c(x + y) for 0 ≤ x ≤ 1 and 0 ≤ y ≤ 1, and zero elsewhere. Which of the following statements are correct?

One or more options are correct.

  1. Option A: c = 1.
  2. Option B: The marginal density of X is x + 1/2 for 0 ≤ x ≤ 1.
  3. Option C: X and Y are independent.
  4. Option D: E[X] = 7/12.
Show answer and solutionHide answer and solution

Answer: (A), (B) and (D)

Key idea: Independence needs the joint density to equal the product of the marginals everywhere.

1. ∫∫(x + y) dx dy = 1/2 + 1/2 = 1, so c = 1. 2. f_X(x) = ∫₀¹(x + y) dy = x + 1/2. 3. f_X(x)f_Y(y) = (x + 1/2)(y + 1/2), which differs from x + y, so they are not independent.

4. E[X] = ∫₀¹ x(x + 1/2) dx = 1/3 + 1/4 = 7/12.

Common mistake: Thinking a density built as a sum of separate x and y terms means independence, statement (C); independence needs a product.

You need: Joint and marginal densities