Q1) A computer system uses passwords that are five characters, and each character is one of of the 26 letters (a-z) or 10 integers (0-9). The first character has to be a letter. You may assume that passwords are not case sensitive. Determine: (a) the total number of possible passwords (b) the proportion of passwords that begin with a consonant; (c) the proportion of passwords that end with an even number (0,2,4,6,8);
Contingency Table
A contingency table can be defined as the visual representation of the relationship between two or more categorical variables that can be evaluated and registered. It is a categorical version of the scatterplot, which is used to investigate the linear relationship between two variables. A contingency table is indeed a type of frequency distribution table that displays two variables at the same time.
Binomial Distribution
Binomial is an algebraic expression of the sum or the difference of two terms. Before knowing about binomial distribution, we must know about the binomial theorem.
Q1) A computer system uses passwords that are five characters, and each character is one of
of the 26 letters (a-z) or 10 integers (0-9). The first character has to be a letter.
You may assume that passwords are not case sensitive.
Determine:
(a) the total number of possible passwords
(b) the proportion of passwords that begin with a consonant;
(c) the proportion of passwords that end with an even number (0,2,4,6,8);
(d) the proportion of possible passwords begin with a consonant OR end with an even number (OR both)
hint: use the addition law of
(e) if a password was selected at random, what is the probability the password would read the
same backwards as forwards?
(f) solve (e) by making a simulation in R i.e. write some code to generate lots of passwords using the sample
Trending now
This is a popular solution!
Step by step
Solved in 3 steps