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 it is given that no vowel can be used as an alphabet and no digit should be a multiple of 4, how many codes are possible?
    Correct answer is '2'. 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
    In the question, we are asked to not include any vowel and any digit that is a multiple of 4. Hence, we are left with 2311BC7 and 5611BC3.
    View all questions of this test
    Explore Courses for CAT exam

    Similar CAT Doubts

    The chief scientist of a major vaccine producing company has the responsibility to keep the formula of the vaccine confidential. He stores the formula in his e-device with 3 consecutive locks, all of which need to be unlocked to access the formula. The first of the 3 locks is a pattern lock, the second one is a numeric lock and the third and final one is an alphanumeric lock. The pattern lock is in the form of a regular hexagon with 6 distinct vertices A1, A2, A3, A4, A5, A6, in that order. One needs to connect all the 6 vertices one after the another in any random order connecting each vertex only once and only one order of connecting the 6 vertices exists which will unlock the first lock. The numeric lock has a code of ABC, where A, B and C are single digit natural numbers. A is a multiple of 2. B is a multiple of 3, C is a multiple of 4 but not equal to A.The alphanumeric lock has a code MNPQRS, where M and N are alphabets and P, Q, R and S are digits. M and N have to be consecutive vowels or consecutive consonants, not necessarily in order. Two alphabets are said to be consecutive vowels if both of them are vowels and they are consecutive when all the 5 vowels are written in alphabetical order. For example, E and I are consecutive vowels, but A and O are not. Two alphabets are said to be consecutive consonants if both of them are consonants and they are consecutive when all the 21 consonants are written in alphabetical order. For example, D and F are consecutive consonants but D and V are not. For example, M and N can be A and E respectively or E and A respectively. P is equal to Base-Ten-Index of M. Q is equal to the Base-Ten-Index of N. R and S can only take binary values, that is, 0 or 1.Base-Ten-Index of an alphabet = Index of alphabet % 10, where Index of an alphabet is its position when all alphabets from A to Z are arranged alphabetically and a%b is the remainder when a is divided by b.For example, Base-Ten-Index of J = 10 = 0 , Base-Ten-Index of M = 13 = 3.The chief scientist can only set passwords/patterns which follow all of the conditions mentioned above.Based on the information given above, answer the questions that follow.Q.How many alphanumeric codes for the third lock are possible which necessarily have an A as one of the alphabets in the code?

    The chief scientist of a major vaccine producing company has the responsibility to keep the formula of the vaccine confidential. He stores the formula in his e-device with 3 consecutive locks, all of which need to be unlocked to access the formula. The first of the 3 locks is a pattern lock, the second one is a numeric lock and the third and final one is an alphanumeric lock. The pattern lock is in the form of a regular hexagon with 6 distinct vertices A1, A2, A3, A4, A5, A6, in that order. One needs to connect all the 6 vertices one after the another in any random order connecting each vertex only once and only one order of connecting the 6 vertices exists which will unlock the first lock. The numeric lock has a code of ABC, where A, B and C are single digit natural numbers. A is a multiple of 2. B is a multiple of 3, C is a multiple of 4 but not equal to A.The alphanumeric lock has a code MNPQRS, where M and N are alphabets and P, Q, R and S are digits. M and N have to be consecutive vowels or consecutive consonants, not necessarily in order. Two alphabets are said to be consecutive vowels if both of them are vowels and they are consecutive when all the 5 vowels are written in alphabetical order. For example, E and I are consecutive vowels, but A and O are not. Two alphabets are said to be consecutive consonants if both of them are consonants and they are consecutive when all the 21 consonants are written in alphabetical order. For example, D and F are consecutive consonants but D and V are not. For example, M and N can be A and E respectively or E and A respectively. P is equal to Base-Ten-Index of M. Q is equal to the Base-Ten-Index of N. R and S can only take binary values, that is, 0 or 1.Base-Ten-Index of an alphabet = Index of alphabet % 10, where Index of an alphabet is its position when all alphabets from A to Z are arranged alphabetically and a%b is the remainder when a is divided by b.For example, Base-Ten-Index of J = 10 = 0 , Base-Ten-Index of M = 13 = 3.The chief scientist can only set passwords/patterns which follow all of the conditions mentioned above.Based on the information given above, answer the questions that follow.Q.Given below is a list of patterns/passwords, some of which are in accordance with the rules mentioned and some are not. The chief scientist can use any combination of valid patterns/passwords from the following to lock the e-device. What is the total number of ways in which he can do so?Pattern:(1) A1 A2 A5 A6 A5 A2 A4 (2) A1 A2 A3 A4 A5 A6 (3) A6 A5 A4 A3 A2 A1 (4) A1 A6 A5 A2 A4Numeric password:(1) 234 (2) 434 (3) 298 (4) 634 (5) 894 (6) 230 (7) 638Alphanumeric password:(1) AE1500 (2) CD3410 (3) HJ8000 (4)QP7600 (5) AB1211 (6) YZ4600 Correct answer is '40'. Can you explain this answer?

    Top Courses for CAT

    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 it is given that no vowel can be used as an alphabet and no digit should be a multiple of 4, how many codes are possible?Correct answer is '2'. 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 it is given that no vowel can be used as an alphabet and no digit should be a multiple of 4, how many codes are possible?Correct answer is '2'. 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 it is given that no vowel can be used as an alphabet and no digit should be a multiple of 4, how many codes are possible?Correct answer is '2'. 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 it is given that no vowel can be used as an alphabet and no digit should be a multiple of 4, how many codes are possible?Correct answer is '2'. 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 it is given that no vowel can be used as an alphabet and no digit should be a multiple of 4, how many codes are possible?Correct answer is '2'. 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 it is given that no vowel can be used as an alphabet and no digit should be a multiple of 4, how many codes are possible?Correct answer is '2'. 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 it is given that no vowel can be used as an alphabet and no digit should be a multiple of 4, how many codes are possible?Correct answer is '2'. 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 it is given that no vowel can be used as an alphabet and no digit should be a multiple of 4, how many codes are possible?Correct answer is '2'. 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 it is given that no vowel can be used as an alphabet and no digit should be a multiple of 4, how many codes are possible?Correct answer is '2'. 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 it is given that no vowel can be used as an alphabet and no digit should be a multiple of 4, how many codes are possible?Correct answer is '2'. 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