A hacker finds that the ATM PIN of a person has first two digits ranging from…

2023

A hacker finds that the ATM PIN of a person has first two digits ranging from 3 to 8, and the fourth digit is either 0 or 9. How many attempts must the hacker try in order to decode the PIN?

  1. A.

    48

  2. B.

    24

  3. C.

    720

  4. D.

    More than one of the above

  5. E.

    None of the above

Attempted by 82 students.

Show answer & explanation

Correct answer: C

To determine the number of attempts needed to decode the PIN, we analyze the constraints on each digit:

1. First digit: must be between 3 and 8 (inclusive) → 6 possible values (3, 4, 5, 6, 7, 8).

2. Second digit: also between 3 and 8 → 6 possible values.

3. Third digit: no restriction → 10 possible values (0 to 9).

4. Fourth digit: must be either 0 or 9 → 2 possible values.

Using the multiplication principle, total number of possible PINs = 6 × 6 × 10 × 2 = 720.

Therefore, the hacker must try up to 720 attempts to decode the PIN.

हिन्दी उत्तर:

पिन को डिकोड करने के लिए आवश्यक प्रयासों की संख्या निर्धारित करने के लिए, हम प्रत्येक अंक पर लागू नियमों का विश्लेषण करते हैं:

1. पहला अंक: 3 से 8 (सहित) के बीच होना चाहिए → 6 संभावित मान (3, 4, 5, 6, 7, 8)।

2. दूसरा अंक: 3 से 8 के बीच → 6 संभावित मान।

3. तीसरा अंक: कोई प्रतिबंध नहीं → 10 संभावित मान (0 से 9)।

4. चौथा अंक: या तो 0 या 9 होना चाहिए → 2 संभावित मान।

गुणन सिद्धांत का उपयोग करके, संभावित पिनों की कुल संख्या = 6 × 6 × 10 × 2 = 720।

इसलिए, हैकर को पिन को डिकोड करने के लिए अधिकतम 720 प्रयास करने होंगे।

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Up Lt Grade Assistant Teacher 2025