Civil Services Prep

Prelims 2022 · CSAT / Quantitative Aptitude · Question 55

There is a numeric lock which has a 3-digit PIN. The PIN contains digits 1 to 7. There is no repetition of digits. The digits in the PIN from left to right are in decreasing order. Any two digits in the PIN differ by at least 2. How many maximum attempts does one need to find out the PIN with certainty?

  1. 6
  2. 8
  3. 10
  4. 12

Answer

10

Key conditions: choose 3 distinct digits from 1 to 7, digits are already fixed in decreasing order, and any two chosen digits differ by at least 2. So we only need to count valid 3-digit sets.

  • Starting with 1: possible sets are {1,3,5}, {1,3,6}, {1,3,7}, {1,4,6}, {1,4,7}, {1,5,7}6 valid PINs.
  • Starting with 2: possible sets are {2,4,6}, {2,4,7}, {2,5,7}3 valid PINs.
  • Starting with 3: only {3,5,7}1 valid PIN.
  • Starting with 4 or more: impossible to choose 3 digits with gap at least 2.

Total valid PINs = 6 + 3 + 1 = 10. In the worst case, one may need to try all valid PINs to be certain.

Option-wise verdict:

  • (a) 6: Incorrect — valid PINs are more than 6.
  • (b) 8: Incorrect — count reaches 10.
  • (c) 10: Correct — total valid PINs = 10.
  • (d) 12: Incorrect — only 10 satisfy all conditions.
  1. X receives three coins of different denominations : 1, 2, 5, 10 and 20. If the total amount received by X is…
  2. For two distinct real numbers x and y, which of them is bigger? Statement I : x^2 Statement II : y
  3. If x and y are integers, then is x even? Statement I : x^2 y^2 is even. Statement II : 1 + x^2 + y^2 is odd.
  4. X is a collection of certain odd numbers whereas Y is a collection of certain even numbers. T consists of the…
  5. If x, y and z are integers, each greater than 1, then is x a prime number? Statement I : xy^2 = 116 Statement…
  6. Which of the following conclusions are valid? 1. Seven Sanskriti Angans, representing different regions of…