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);

A First Course in Probability (10th Edition)
10th Edition
ISBN:9780134753119
Author:Sheldon Ross
Publisher:Sheldon Ross
Chapter1: Combinatorial Analysis
Section: Chapter Questions
Problem 1.1P: a. How many different 7-place license plates are possible if the first 2 places are for letters and...
icon
Related questions
Topic Video
Question

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 probability: P(A U B) = P(A) + P(B) - P(A ∩ B)
(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 function, and count how many time you get a palindromic password. You will want to get a large number of samples here for to generate an accurate estimate (i.e. 100,000).

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Discrete Probability Distributions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, probability and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
A First Course in Probability (10th Edition)
A First Course in Probability (10th Edition)
Probability
ISBN:
9780134753119
Author:
Sheldon Ross
Publisher:
PEARSON
A First Course in Probability
A First Course in Probability
Probability
ISBN:
9780321794772
Author:
Sheldon Ross
Publisher:
PEARSON