Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. On a certain website, a password is 7 characters long. It can contain lowercase letters or digits (0-9). Repetition of characters is allowed. (a)

2. On a certain website, a password is 7 characters long. It can contain lowercase letters or

digits (0-9). Repetition of characters is allowed.

(a) A password must contain at least 1 lowercase letter and at least 1 digit. How many valid passwords are there?

(b) What is the probability that a randomly chosen password from (a) contains the string "prob"?

(c) Now suppose a password can be 7, 8, or 9 characters long (the same restrictions in (a) still apply). Now how many valid passwords are there?

(d) What is the probability that a randomly chosen password from (a) contains the digit '1'?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Continuous Nowhere Differentiable Functions The Monsters Of Analysis

Authors: Marek Jarnicki, Peter Pflug

1st Edition

3319126709, 9783319126708

More Books

Students also viewed these Mathematics questions