Question

Each of the nine words in the sentence "The quick brown fox jumps over the lazy dog" is written on a separate piece of paper. These nine pieces of paper are kept in a box. One of the pieces is drawn at random from the box. The expected length of the word drawn is _____. (The answer should be rounded to one decimal place.)

Official answer and solution
Accepted answers
3.8 to 3.9
From
Official GATE 2014 answer key

Solution

List the lengths of all nine words in the given sentence and calculate their arithmetic mean.

  1. Sentence Words and Their Lengths:

    • "The": 3 letters
    • "quick": 5 letters
    • "brown": 5 letters
    • "fox": 3 letters
    • "jumps": 5 letters
    • "over": 4 letters
    • "the": 3 letters
    • "lazy": 4 letters
    • "dog": 3 letters
  2. Total Length:

    Sum=3+5+5+3+5+4+3+4+3=35.\text{Sum} = 3 + 5 + 5 + 3 + 5 + 4 + 3 + 4 + 3 = 35.
  3. Expected Length:
    Since each of the 9 pieces of paper has an equal probability 19\frac{1}{9} of being drawn:

    E[L]=359≈3.8888⋯≈3.9.E[L] = \frac{35}{9} \approx 3.8888\dots \approx 3.9.

Rounding to one decimal place gives 3.93.9 (official range: [3.8,3.9][3.8, 3.9]).

Final answer

3.9

Common trap

Treating duplicate words (such as 'The' and 'the') as a single unique word instead of distinct pieces of paper.

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2014 Computer Science and Information Technology (CS) Session 2
Question
12 of 65, printed as CS Q.2
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.