CAT Exam  >  CAT Questions  >  A lock is guarded by a security code that ser... Start Learning for Free
A lock is guarded by a security code that serves as the password. The code is in the following form:

Where a, b, c, d and g are numbers and e, f are alphabets. The following information is also known about the respective characters:
1. 'a' is a prime number from 1 to 10.
2. The 2-digit number 'bc' is also a prime number such that b = a + 1.
3. 'd' = 'bc' % 'a', that is, d is the remainder when the 2-digit number 'bc' is divided by 'a'.
4. 'e' is the alphabet at the index of n, alphabet[n], where n is the highest number of occurrences of any digit(0 to 9) among a,b,c,d. Here,alphabet[1] = A, alphabet[2] = B,..., alphabet[26] = Z.
5. 'f' is the alphabet either preceding or succeeding the alphabet 'e' when all English alphabets are arranged alphabetically.
6. 'g' is the remainder when the sum of digits a, b, c and d is divided by 10. g = (a+b+c+d).
Based on the information given above, answer the questions that follow.
If we consider all possible codes, which digit(0 to 9) does not occur even once in any of the codes? Enter -1 if all 10 digits appear at least once in any of the codes.
    Correct answer is '-1'. Can you explain this answer?
    Verified Answer
    A lock is guarded by a security code that serves as the password. The ...
    a can be 2, 3, 5, 7.
    Hence, when a = 2, b = 3, bc = 31, 37
    When a = 3, b = 4, bc = 41, 43, 47
    When a = 5, b = 6, bc = 61, 67
    When a = 7, b = 8, bc = 83, 89.
    Hence, the different possibilities are,
    2311 _ _ _
    2371 _ _ _
    3412 _ _ _
    3431 _ _ _
    3472 _ _ _
    5611 _ _ _
    5672 _ _ _
    7836 _ _ _
    7895 _ _ _
    Now, when it is 2311 _ _ _, 1 occurs twice, which is the highest, hence e = alphabet[2] = B.
    Similarly, when it is 2371 _ _ _, the highest occurrence of any digit is once, hence e = alphabet[1] = A.
    Similarly, we get the remaining as well,
    2311B _ _
    2371A _ _
    3412A _ _
    3431B _ _
    3472A _ _
    5611B _ _
    5672A _ _
    7836A _ _
    7895A _ _
    Hence, e is always either B or A. If e is B. f can be either A or C, if e is A, f can only be B. Hence, we get the following codes.
    2311BA _
    2311BC _
    2371AB _
    3412AB _
    3431BA _
    3431BC _
    3472AB _
    5611BA _
    5611BC _
    5672AB _
    7836AB _
    7895AB _
    Now, G has to be calculated. For, 2311BA _, g = (2 + 3 + 1 + 1) = 7
    Similarly, we calculate for others as well,
    2311BA7
    2311BC7
    2371AB3
    3412AB0
    3431BA1
    3431BC1
    3472AB6
    5611BA3
    5611BC3
    5672AB0
    7836AB4
    7895AB9
    As we can see every digit appears at least once if all codes are considered.
    Hence, the answer is -1 as asked in the question.
    View all questions of this test
    Explore Courses for CAT exam
    A lock is guarded by a security code that serves as the password. The code is in the following form:Where a, b, c, d and g are numbers and e, f are alphabets. The following information is also known about the respective characters:1. a is a prime number from 1 to 10.2. The 2-digit number bc is also a prime number such that b = a + 1.3. d = bc % a, that is, d is the remainder when the 2-digit number bc is divided by a.4. e is the alphabet at the index of n, alphabet[n], where n is the highest number of occurrences of any digit(0 to 9) among a,b,c,d. Here,alphabet[1] = A, alphabet[2] = B,..., alphabet[26] = Z.5. f is the alphabet either preceding or succeeding the alphabet e when all English alphabets are arranged alphabetically.6. g is the remainder when the sum of digits a, b, c and d is divided by 10. g = (a+b+c+d).Based on the information given above, answer the questions that follow.If we consider all possible codes, which digit(0 to 9) does not occur even once in any of the codes? Enter -1 if all 10 digits appear at least once in any of the codes.Correct answer is '-1'. Can you explain this answer?
    Question Description
    A lock is guarded by a security code that serves as the password. The code is in the following form:Where a, b, c, d and g are numbers and e, f are alphabets. The following information is also known about the respective characters:1. a is a prime number from 1 to 10.2. The 2-digit number bc is also a prime number such that b = a + 1.3. d = bc % a, that is, d is the remainder when the 2-digit number bc is divided by a.4. e is the alphabet at the index of n, alphabet[n], where n is the highest number of occurrences of any digit(0 to 9) among a,b,c,d. Here,alphabet[1] = A, alphabet[2] = B,..., alphabet[26] = Z.5. f is the alphabet either preceding or succeeding the alphabet e when all English alphabets are arranged alphabetically.6. g is the remainder when the sum of digits a, b, c and d is divided by 10. g = (a+b+c+d).Based on the information given above, answer the questions that follow.If we consider all possible codes, which digit(0 to 9) does not occur even once in any of the codes? Enter -1 if all 10 digits appear at least once in any of the codes.Correct answer is '-1'. Can you explain this answer? for CAT 2024 is part of CAT preparation. The Question and answers have been prepared according to the CAT exam syllabus. Information about A lock is guarded by a security code that serves as the password. The code is in the following form:Where a, b, c, d and g are numbers and e, f are alphabets. The following information is also known about the respective characters:1. a is a prime number from 1 to 10.2. The 2-digit number bc is also a prime number such that b = a + 1.3. d = bc % a, that is, d is the remainder when the 2-digit number bc is divided by a.4. e is the alphabet at the index of n, alphabet[n], where n is the highest number of occurrences of any digit(0 to 9) among a,b,c,d. Here,alphabet[1] = A, alphabet[2] = B,..., alphabet[26] = Z.5. f is the alphabet either preceding or succeeding the alphabet e when all English alphabets are arranged alphabetically.6. g is the remainder when the sum of digits a, b, c and d is divided by 10. g = (a+b+c+d).Based on the information given above, answer the questions that follow.If we consider all possible codes, which digit(0 to 9) does not occur even once in any of the codes? Enter -1 if all 10 digits appear at least once in any of the codes.Correct answer is '-1'. Can you explain this answer? covers all topics & solutions for CAT 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for A lock is guarded by a security code that serves as the password. The code is in the following form:Where a, b, c, d and g are numbers and e, f are alphabets. The following information is also known about the respective characters:1. a is a prime number from 1 to 10.2. The 2-digit number bc is also a prime number such that b = a + 1.3. d = bc % a, that is, d is the remainder when the 2-digit number bc is divided by a.4. e is the alphabet at the index of n, alphabet[n], where n is the highest number of occurrences of any digit(0 to 9) among a,b,c,d. Here,alphabet[1] = A, alphabet[2] = B,..., alphabet[26] = Z.5. f is the alphabet either preceding or succeeding the alphabet e when all English alphabets are arranged alphabetically.6. g is the remainder when the sum of digits a, b, c and d is divided by 10. g = (a+b+c+d).Based on the information given above, answer the questions that follow.If we consider all possible codes, which digit(0 to 9) does not occur even once in any of the codes? Enter -1 if all 10 digits appear at least once in any of the codes.Correct answer is '-1'. Can you explain this answer?.
    Solutions for A lock is guarded by a security code that serves as the password. The code is in the following form:Where a, b, c, d and g are numbers and e, f are alphabets. The following information is also known about the respective characters:1. a is a prime number from 1 to 10.2. The 2-digit number bc is also a prime number such that b = a + 1.3. d = bc % a, that is, d is the remainder when the 2-digit number bc is divided by a.4. e is the alphabet at the index of n, alphabet[n], where n is the highest number of occurrences of any digit(0 to 9) among a,b,c,d. Here,alphabet[1] = A, alphabet[2] = B,..., alphabet[26] = Z.5. f is the alphabet either preceding or succeeding the alphabet e when all English alphabets are arranged alphabetically.6. g is the remainder when the sum of digits a, b, c and d is divided by 10. g = (a+b+c+d).Based on the information given above, answer the questions that follow.If we consider all possible codes, which digit(0 to 9) does not occur even once in any of the codes? Enter -1 if all 10 digits appear at least once in any of the codes.Correct answer is '-1'. Can you explain this answer? in English & in Hindi are available as part of our courses for CAT. Download more important topics, notes, lectures and mock test series for CAT Exam by signing up for free.
    Here you can find the meaning of A lock is guarded by a security code that serves as the password. The code is in the following form:Where a, b, c, d and g are numbers and e, f are alphabets. The following information is also known about the respective characters:1. a is a prime number from 1 to 10.2. The 2-digit number bc is also a prime number such that b = a + 1.3. d = bc % a, that is, d is the remainder when the 2-digit number bc is divided by a.4. e is the alphabet at the index of n, alphabet[n], where n is the highest number of occurrences of any digit(0 to 9) among a,b,c,d. Here,alphabet[1] = A, alphabet[2] = B,..., alphabet[26] = Z.5. f is the alphabet either preceding or succeeding the alphabet e when all English alphabets are arranged alphabetically.6. g is the remainder when the sum of digits a, b, c and d is divided by 10. g = (a+b+c+d).Based on the information given above, answer the questions that follow.If we consider all possible codes, which digit(0 to 9) does not occur even once in any of the codes? Enter -1 if all 10 digits appear at least once in any of the codes.Correct answer is '-1'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of A lock is guarded by a security code that serves as the password. The code is in the following form:Where a, b, c, d and g are numbers and e, f are alphabets. The following information is also known about the respective characters:1. a is a prime number from 1 to 10.2. The 2-digit number bc is also a prime number such that b = a + 1.3. d = bc % a, that is, d is the remainder when the 2-digit number bc is divided by a.4. e is the alphabet at the index of n, alphabet[n], where n is the highest number of occurrences of any digit(0 to 9) among a,b,c,d. Here,alphabet[1] = A, alphabet[2] = B,..., alphabet[26] = Z.5. f is the alphabet either preceding or succeeding the alphabet e when all English alphabets are arranged alphabetically.6. g is the remainder when the sum of digits a, b, c and d is divided by 10. g = (a+b+c+d).Based on the information given above, answer the questions that follow.If we consider all possible codes, which digit(0 to 9) does not occur even once in any of the codes? Enter -1 if all 10 digits appear at least once in any of the codes.Correct answer is '-1'. Can you explain this answer?, a detailed solution for A lock is guarded by a security code that serves as the password. The code is in the following form:Where a, b, c, d and g are numbers and e, f are alphabets. The following information is also known about the respective characters:1. a is a prime number from 1 to 10.2. The 2-digit number bc is also a prime number such that b = a + 1.3. d = bc % a, that is, d is the remainder when the 2-digit number bc is divided by a.4. e is the alphabet at the index of n, alphabet[n], where n is the highest number of occurrences of any digit(0 to 9) among a,b,c,d. Here,alphabet[1] = A, alphabet[2] = B,..., alphabet[26] = Z.5. f is the alphabet either preceding or succeeding the alphabet e when all English alphabets are arranged alphabetically.6. g is the remainder when the sum of digits a, b, c and d is divided by 10. g = (a+b+c+d).Based on the information given above, answer the questions that follow.If we consider all possible codes, which digit(0 to 9) does not occur even once in any of the codes? Enter -1 if all 10 digits appear at least once in any of the codes.Correct answer is '-1'. Can you explain this answer? has been provided alongside types of A lock is guarded by a security code that serves as the password. The code is in the following form:Where a, b, c, d and g are numbers and e, f are alphabets. The following information is also known about the respective characters:1. a is a prime number from 1 to 10.2. The 2-digit number bc is also a prime number such that b = a + 1.3. d = bc % a, that is, d is the remainder when the 2-digit number bc is divided by a.4. e is the alphabet at the index of n, alphabet[n], where n is the highest number of occurrences of any digit(0 to 9) among a,b,c,d. Here,alphabet[1] = A, alphabet[2] = B,..., alphabet[26] = Z.5. f is the alphabet either preceding or succeeding the alphabet e when all English alphabets are arranged alphabetically.6. g is the remainder when the sum of digits a, b, c and d is divided by 10. g = (a+b+c+d).Based on the information given above, answer the questions that follow.If we consider all possible codes, which digit(0 to 9) does not occur even once in any of the codes? Enter -1 if all 10 digits appear at least once in any of the codes.Correct answer is '-1'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice A lock is guarded by a security code that serves as the password. The code is in the following form:Where a, b, c, d and g are numbers and e, f are alphabets. The following information is also known about the respective characters:1. a is a prime number from 1 to 10.2. The 2-digit number bc is also a prime number such that b = a + 1.3. d = bc % a, that is, d is the remainder when the 2-digit number bc is divided by a.4. e is the alphabet at the index of n, alphabet[n], where n is the highest number of occurrences of any digit(0 to 9) among a,b,c,d. Here,alphabet[1] = A, alphabet[2] = B,..., alphabet[26] = Z.5. f is the alphabet either preceding or succeeding the alphabet e when all English alphabets are arranged alphabetically.6. g is the remainder when the sum of digits a, b, c and d is divided by 10. g = (a+b+c+d).Based on the information given above, answer the questions that follow.If we consider all possible codes, which digit(0 to 9) does not occur even once in any of the codes? Enter -1 if all 10 digits appear at least once in any of the codes.Correct answer is '-1'. Can you explain this answer? tests, examples and also practice CAT tests.
    Explore Courses for CAT exam

    Top Courses for CAT

    Explore Courses
    Signup for Free!
    Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
    10M+ students study on EduRev