Placement AptitudeModerateTCS NQT · Accenture
A man has 5 keys, exactly one of which opens a lock. He tries them one by one at random, never trying a key twice. What is the expected number of tries needed to open the lock?
- A. 5
- B. 5/2
- C. 3
- D. 4
Correct answer: C. 3
The right key is equally likely to be in any of the 5 positions of his random order, so the number of tries is uniform on 1 to 5: E = (1 + 2 + 3 + 4 + 5)/5 = 3. Trying with replacement would give 5.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- A set of 5 parallel lines is crossed by another set of 4 parallel lines (not parallel to the first set). How many parallelograms are formed?
- Shortest grid paths go from (0, 0) to (4, 4) using unit steps right or up. How many of them pass through exactly one of the points (2, 2)…
- The four corners of a square are each painted one of 3 colours so that corners joined by a side get different colours (the square is fixed…
- A circular bracelet has 4 equally spaced beads, each black or white. Two bracelets are the same if one can be rotated into the other…
- In how many ways can 4 cards be chosen from a pack of 52 so that there is one card of each suit and no two cards have the same rank?
- Five cards are dealt from a well-shuffled pack. What is the probability of 'two pair' (two cards of one rank, two of another rank, and a…