Engineering MathematicsModerateGATE CS (PYQ pattern)

The elements of a uniformly random permutation of {1, …, 8} are written in a row. An entry is called a record if it is larger than every entry to its left (the first entry is always a record). What is the expected number of records?

  1. A. 363/140
  2. B. 7129/2520
  3. C. 11/4
  4. D. 761/280

Correct answer: D. 761/280

Position k holds a record with probability 1/k (the largest of the first k entries is equally likely to be anywhere), and these indicators add by linearity: H₈ = 761/280 ≈ 2.718. 363/140 is H₇ and 7129/2520 is H₉.

More Engineering Mathematics (GATE) questions

Exams that ask this topic