Question

In: Statistics and Probability

You need to make up a password which contains 6 digits, which can be one of...

You need to make up a password which contains 6 digits, which can be one of 26 letters, 10 numbers (0-9) or 10 punctuation marks (!.,%$#*&=+).

The first digit of the password must be a letter, and the last digit must also be a letter. There are no other restrictions. How many possible passwords are there?

Solutions

Expert Solution

Restrictions:

1) First digit should be a letter

2) Last digit should be a letter

There is a bit of ambiguity in the question regarding use of uppercase and lowercase letters. I'll solve it for both cases.

Case 1: Both uppercases and lowercases allowed

The first digit can be chosen in 26 x 2 = 52 ways. Similarly, last digit can also be chosen in 26 x 2 = 52 ways.

For the 2nd digit, one can choose a character in 52 + 10 + 10 = 72 ways.

Similarly 3rd, 4th and 5th digits can also be chosen in 72 ways each.

Now, by standard rules of counting, no of such passwords possible = 52 x 72 x 72 x 72 x 72 x 52 = 72666906624

Case 2: Only lowercases allowed (or only uppercases allowed)

The first digit can be chosen in 26 ways. Similarly, last digit can also be chosen in 26 ways.

For the 2nd digit, one can choose a character in 26 + 10 + 10 = 46 ways.

Similarly 3rd, 4th and 5th digits can also be chosen in 46 ways each.

Now, by standard rules of counting, no of such passwords possible = 26 x 46 x 46 x 46 x 46 x 26 = 3026760256


Related Solutions

6. 7-Up Example: A can of 7-Up states that the can contains 355 ml. A quality...
6. 7-Up Example: A can of 7-Up states that the can contains 355 ml. A quality control engineer is worried that the filling machine is mis calibrated. In other words, she wants to make sure the machine is not under- or over-filling the cans. She randomly selects 9 cans of 7-Up and measures the contents. She obtains the following data. 351 360 358 356 359 358 355 361 352 Is there evidence at the α=0.05 level, to support the quality...
An 8-digit password is required to have exactly three 0’s. The other 5 digits can be...
An 8-digit password is required to have exactly three 0’s. The other 5 digits can be any number 1-7, but numbers 1-7 may not be repeated. Write a program that lists all the possible outcomes. Provide your code and first 100 outcomes (Python).
Password consists of five characters: one lowercase letter and four digits 0 – 9. How many...
Password consists of five characters: one lowercase letter and four digits 0 – 9. How many possible combinations for the password are there if digits can be repeated? How many possible combinations for the password are there if digits can not be repeated? What is a percentage of passwords with repeated digits?
i need a phone number with 9 digits but those digits should use only one time...
i need a phone number with 9 digits but those digits should use only one time and be dividable by 3-5-7-11-13-17 numbers.the phone number must not contain 0. Write a code with c sharp. note: answer is 869143275. i need to find this phone number
a) You went on spring vacation and missed school so you need to make up your...
a) You went on spring vacation and missed school so you need to make up your homework. You are missing 4 math assignments and 2 science assignments and 3 social studies assignments. What is the probability that the assignments from each class will be completed together (i.e. all of one class, then all of another class, then all of another class)? Round to 4 decimals. b) A family is planning on having 5 children. A baby food company told the...
How many 3-digit numbers can we make using the digits 1, 2, 3, 4, 5, 6...
How many 3-digit numbers can we make using the digits 1, 2, 3, 4, 5, 6 without repetitions? How about with repetitions (meaning different digits can hold the same number; e.g., 223 and 444 are valid 3-digit numbers in the with repetitions case)?
Unsure how to set this up properly in excel? Assignment #6 The Nimble Digits Division of...
Unsure how to set this up properly in excel? Assignment #6 The Nimble Digits Division of Block C Enterprises manufactures computer furniture and accessories.At the present time 15 different components are being produced.Each product is some combination of steel, plastic, wood, aluminum and formica.The availability of these component materials is 980 pounds of steel alloy, 400 sq ft of plastic, 600 bd ft of wood, 2500 pounds of aluminum, 1800 bd ft of Formica and labor is limited to 1000...
Unsure how to set this up properly in excel? Assignment #6 The Nimble Digits Division of...
Unsure how to set this up properly in excel? Assignment #6 The Nimble Digits Division of Block C Enterprises manufactures computer furniture and accessories.At the present time 15 different components are being produced.Each product is some combination of steel, plastic, wood, aluminum and formica.The availability of these component materials is 980 pounds of steel alloy, 400 sq ft of plastic, 600 bd ft of wood, 2500 pounds of aluminum, 1800 bd ft of Formica and labor is limited to 1000...
Give a real world example (or be creative and make one up) in which a unanimity...
Give a real world example (or be creative and make one up) in which a unanimity rule might be a good option for making a group decision. (Be sure to explain why you think so - this won't rely on economic logic per se, but you should still state your reason). Then, try to think of how your unanimity rule might violate one or more of the six desirable features. (You must explain how it violates at least one of...
(a) How many passwords can you make with 8 characters using Uppercase, Lowercase, digits using at...
(a) How many passwords can you make with 8 characters using Uppercase, Lowercase, digits using at least one Uppercase, at least one Lowercase and at least one digit? (b) How many numbers between 1 and 1,000,000 (inclusive) are divisible by at least one of 3,4 and 5? (c) How many numbers between 1 and 1,000,000 (inclusive) are divisible by at least one of 12, 14, 15?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT