Question

Suppose that a computer randomly generates four-digit codes to match ATM pin codes among {0000, 0001,...

Suppose that a computer randomly generates four-digit codes to match ATM pin codes among {0000, 0001, . . . , 9999}.

  1. Explain carefully why there are 10000 possible four-digit codes when the digits are among 0-9.

  2. Note that 10000 = 104. Explain how this connects the number of digits, the choice of digits, and the possible four-digit pin codes.

  3. Among the 10000 possible four-digit pin codes, how many involve exactly three 1s or exactly three 2s? Write out the possibilities.

  4. Using the previous part, what is the probability that a randomly selected four-digit pin code will contain exactly three 1s or exactly three 2s?

  5. Using the complement rule, what is the probability that a randomly selected four-digit pin code will not contain exactly three 1s or exactly three 2s?

Homework Answers

Answer #1

(a)

each digit can be filled by any one of the number {0,1,2,3,4,5,6,7,8,9}

so each digit has 10 possibility and our code has 4 digit

Number of possibe four-digit code=10*10*10*10=10000

(b)

number of codes having exactly three 1s or exactly three 2s are=36+36=72

0111,2111,3111,4111,5111,6111,7111,8111,9111,

1011,1211,1311,1411,1511,1611,1711,1811,1911,

1101,1121,1131,1141,1151,1161,1171,1181,1191,

1110,1112,1113,1114,1115,1116,1117,1118,1119

0222,1222,3222,4222,5222,6222,7222,8222,9222,

2022,2122,2322,2422,2522,2622,2722,2822,2922,

2202,2212,2232,2242,2252,2262,2272,2282,2292,

2220,2221,2223,2224,2225,2226,2227,2228,2229

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Exercise 48. Suppose that a computer randomly generates four-digit codes to match ATM pin codes among...
Exercise 48. Suppose that a computer randomly generates four-digit codes to match ATM pin codes among {0000, 0001, . . . , 9999}. Explain carefully why there are 10000 possible four-digit codes when the digits are among 0-9. Note that 10000 = 104. Explain how this connects the number of digits, the choice of digits, and the possible four-digit pin codes. Among the 10000 possible four-digit pin codes, how many involve exactly three 1s or exactly three 2s? Write out...
why there are 10000 possible four-digit codes for a pin when digits are 0-9.
why there are 10000 possible four-digit codes for a pin when digits are 0-9.
1.a Let X = the number of nonzero digits in a randomly selected 4-digit PIN that...
1.a Let X = the number of nonzero digits in a randomly selected 4-digit PIN that has no restriction on the digits. What are the possible values of X? 1, 2, 3, 4 0, 1, 2, 3, 4, ... 0, 1, 2, 3, 4 0, 1, 2, 3 1, 2, 3, 4, ... For the following possible outcomes, give their associated X values. PIN associated value 1107 2070 7177 1b. The number of pumps in use at both a six-pump...
Do the following problems. 1. Each of three barrels from a manufacturing line are classified as...
Do the following problems. 1. Each of three barrels from a manufacturing line are classified as either above (a) or below (b) the target weight. Provide the ordered sample space. 2. The heat on each of two soldered parts is measured and labeled as either low (l), medium (m), or high (h). State the number of elements in the ordered sample space. 3. Consider the set of Beatles songs with a primary writer as either Paul McCartney (P) or John...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT