Concept explainers
Keep your password safe: A computer password consists of eight characters. Replications are allowed.
- a. How many different passwords are possible if each character may be any lowercase letter or digit?
- b. How many different passwords are possible if each character may be any lowercase letter?
- c. How many different passwords are possible if each character may be any lowercase letter or digit, and at least one character must be a digit?
- d. A computer is generating passwords. The computer generates eight characters at random, and each is equally likely to be any of the 26 letters or 10 digits. Replications are allowed. What is the
probability that the password will contain all letters? - e. A computer system requires that passwords contain at least one digit. If eight characters are generated at random, what is the probability that they will form a valid password?
a.
Find the possible number of passwords.
Answer to Problem 36E
There are
Explanation of Solution
Calculation:
The password consists 8 characters. Replications are possible. Each character are either lowercase letters or digits.
The Fundamental Principle of Counting:
If an action can be perform in m ways and another action can be perform in n ways then both the action can be done together in mn different ways.
The password consist 8 characters. Each character are either lowercase letters or digits.
Each digit can arrange in 10 different ways and letters can arrange in 26 different ways. That is each character can be arranged in 36
Thus, there are
b.
Find the possible number of passwords if each character may be any lowercase letters.
Answer to Problem 36E
There are
Explanation of Solution
Calculation:
The number plate contains lowercase letters. Each letters can arrange in 26 different ways. Substitute these values in the fundamental principle of counting.
Thus, there are
c.
Find the possible number of passwords if each character may be any lowercase letters or digits, and at least one character must be digit.
Answer to Problem 36E
There are
Explanation of Solution
Calculation:
Number of passwords with each character may be any lowercase letters or digits, and at least one character must be digit can be obtained by the formula:
From part (a), it is clear that there are
From part (b), it is clear that there are
Substitute these values in the above equation.
Therefore, required number is,
Thus, there are
d.
Find the probability that the password will contain all letters.
Answer to Problem 36E
The probability that the password will contain all letters is 0.074.
Explanation of Solution
Calculation:
The probability of an event can be obtained as shown below:
Event A denotes that the password will contain all letters.
From part (a), total number of password is
From part (b), numbers of password will contain all letters is
Substitute
The required probability is obtained as follows:
Thus, the probability that the password will contain all letters is 0.074.
e.
Find the probability that the password contain at least one digit form a valid password.
Answer to Problem 36E
The probability that the password contain at least one digit form a valid password is 0.9260.
Explanation of Solution
Calculation:
Event B denotes that the password contain at least one digit.
From part (a), total number of password is
From part (c), numbers of password will contain at least one digit is
Substitute
The required probability is obtained as follows:
Thus, the probability that the password contain at least one digit form a valid password is 0.9260.
Want to see more full solutions like this?
Chapter 4 Solutions
Essential Statistics
- License Plate Numbers In the state of Pennsylvania, each standard automobile license plate number consists of three letters followed by a four-digit number. How many distinct license plate numbers are possible in Pennsylvania?arrow_forwardHow many distinguishable words can be formed from the letters of the word casserole if each letter is used exactly once?arrow_forwardHow many permutations of the letters W, X, Y, and Z are possible?arrow_forward
- A wholesale T-shirt company oilers sizes small, medium, large, and extra-large in organic or non- organic cotton and colors white, black, gray, blue, and red. How many different T-shirts are there to choose from?arrow_forwardA coin club has five members. In how many different ways can there be a president and a vice-president?arrow_forwardIn how many different ways can two letters be chosen from the letters A, B, C, D, E, F, and G? (The order of the two letters is not important.)arrow_forward
- How many ways are there to construct a 4-digit code if numbers can be repeated?arrow_forwardAlice and Bill have four grandchild, and they have three framed pictures of each grandchild. They wish to choose one picture of each grandchild to display on the piano in their living room, arranged from oldest to youngest. In how many ways can they do this?arrow_forwardA product’s catalog number is made up of one letter from the English alphabet followed by a five-digit number. How many different catalog numbers are possible?arrow_forward
- Algebra and Trigonometry (MindTap Course List)AlgebraISBN:9781305071742Author:James Stewart, Lothar Redlin, Saleem WatsonPublisher:Cengage Learning
- College AlgebraAlgebraISBN:9781305115545Author:James Stewart, Lothar Redlin, Saleem WatsonPublisher:Cengage LearningCollege Algebra (MindTap Course List)AlgebraISBN:9781305652231Author:R. David Gustafson, Jeff HughesPublisher:Cengage LearningHolt Mcdougal Larson Pre-algebra: Student Edition...AlgebraISBN:9780547587776Author:HOLT MCDOUGALPublisher:HOLT MCDOUGAL