Placement AptitudeModerateCAT · TCS NQT Advanced

Two numbers x and y are picked independently and uniformly at random from the interval [0, 2]. What is the probability that |x − y| < 1?

  1. A. 1/2
  2. B. 1/4
  3. C. 2/3
  4. D. 3/4

Correct answer: D. 3/4

In the 2 × 2 square of area 4, the region |x − y| ≥ 1 is two corner triangles, each of area ½ × 1 × 1. So the favourable area is 4 − 1 = 3 and P = 3/4.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic