Knowee
Questions
Features
Study Tools

A Dubai based gangster Chhota Vakil is in Switzerland. He wants to rob a bank there, whose locker code according to his information is an odd number between 50 and 450. He also knows that the numbers are from the set: 0, 1, 2, 3, 4, 5}. How many maximum trials he has to take to unlock the locker?Choices:- 54 72 78 106

Question

A Dubai based gangster Chhota Vakil is in Switzerland. He wants to rob a bank there, whose locker code according to his information is an odd number between 50 and 450. He also knows that the numbers are from the set: 0, 1, 2, 3, 4, 5}. How many maximum trials he has to take to unlock the locker?Choices:- 54 72 78 106

🧐 Not the exact question you are looking for?Go ask a question

Solution 1

The problem is asking for the maximum number of odd numbers that can be formed between 50 and 450 using the digits 0, 1, 2, 3, 4, 5.

Step 1: Identify the possible number of digits for the code. The code is a number between 50 and 450, so it can be either a two-digit number or a three-digit number.

Step 2: Calculate the number of two-digit odd numbers that can be formed. For a two-digit number to be odd, the units place must be an odd digit. From the given set, the odd digits are 1, 3, 5. So, there are 3 possibilities for the units place. For the tens place, any of the 6 digits can be used. So, there are 6 possibilities for the tens place. Therefore, the total number of two-digit odd numbers that can be formed is 3*6 = 18.

Step 3: Calculate the number of three-digit odd numbers that can be formed. For a three-digit number to be odd, again, the units place must be an odd digit. So, there are 3 possibilities for the units place. For the tens place, any of the 6 digits can be used. So, there are 6 possibilities for the tens place. For the hundreds place, 0 cannot be used because the number would not be a three-digit number. So, there are 5 possibilities for the hundreds place. Therefore, the total number of three-digit odd numbers that can be formed is 365 = 90.

Step 4: Add the number of two-digit and three-digit odd numbers to get the total number of trials. 18 + 90 = 108.

However, the numbers 101, 103, 105, 201, 203, 205, 301, 303, 305, 401, 403, 405 are not between 50 and 450. So, we subtract these 12 numbers from the total.

108 - 12 = 96.

But the options provided do not include 96. This suggests that there may be a mistake in the problem or the provided options.

This problem has been solved

Solution 2

The problem can be solved by considering the possible combinations of the digits given. The locker code is a three-digit odd number between 50 and 450. This means the first digit can be any number from 1 to 4, the second digit can be any number from 0 to 5, and the third digit, since the number has to be odd, can be 1, 3, or 5.

So, the total number of possible combinations is the product of the number of choices for each digit, which is 4 choices for the first digit, 6 choices for the second digit, and 3 choices for the third digit.

Therefore, the maximum number of trials Chhota Vakil has to take to unlock the locker is 463 = 72.

So, the correct answer is 72.

This problem has been solved

Similar Questions

A numerical lock can be opened using any possible combination of these five digits 0, 1, 0, 3 and 2 (example 20031). John used all possible incorrect combinations on the 5-digit lock before finally opening the lock at the next attempt. How many total attempts did he make? The digits available are 0-5 in lock ​

5. There are three keys for three suitcases with different locks. Each key only fits one of them. What is the minimum number of trials needed to find a key for each?23456789

The diagram shows a security lock.You have to enter the correct code to open the lock. The correct code is B3Dan does not know the code.He enters at random one of the letters.He then enters at random one of the numbers.Work out the probability that Dan enters the correct code.

One day a thief plans to rob PQR bank. All the money in the bank is kept in a secret room. The secret room has N vaults arranged in a circle and the amount of money inside each vault will be displayed on the vault door. An alarm sounds If the thief attempt to break more than 2 of any 5 adjacent vaults and thief will be caught. Calculate the maximum amount of money that he can rob without sounding the alarm. Note: The vaults are arranged in a circle, the last vault is adjacent to the first one. Input Format: The first line contains an integer N which is the number of vaults. The next line has a sequence of positive integers of length N, giving the amount of cash in the vaults in order. Output Format: The maximum amount of money that the thief can rob without sounding the alarm. Constraints: N<=25, Amount in each vault <=50000 Sample Input 1: 9 1000 2000 1000 5000 9000 5000 3000 4000 1000 Sample Output 1: 15000 Explanation: The vaults 1, 5, 6 are looted, giving a total loot of (1000+5000+9000) = 15000 Sample Input 2: 10 1000 2000 3000 5000 9000 7000 6000 4000 7000 5000 Sample Output 2: 26000 Explanation: One way of getting the maximum amount is to loot vaults 4, 5, 9 and 10 giving a total of 26000. Hence the output is 26000. Note that no 5 adjacent vaults have more than 2 looted. give the code in c++

A person must enter a 4 digit code to gain access to his cell phone. He will enter codes until he is successful, however he cannot try more than 3 times or the phone will lock him out. Let S denote a successful attempt and F denote a failed attempt. What is the sample space for this random experime

1/1

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.