Answer to Question #234484 in Statistics and Probability for chisenga

Question #234484
Two new computer codes are being developed to prevent unauthorized
access to classified information. The first consists of six digits (each chosen
from 0 to 9); the second consists of three digits (from 0 to 9) followed by two
letters (A to Z, excluding I and O).

(ii) If both codes are implemented, the first followed by the second, what is
probability of gaining access in a single attempt?
1
Expert's answer
2021-09-08T15:28:10-0400

(i) Code1: It has 6 digits chosen from 0 to 9. So the total available combinations are 106. In one attempt a person can only try one combination, so the probability that this combination is the correct code is 1/106 = 10-6

Code 2: The second code has 3 digits taken from 0 to 9, and 2 letters taken from 24 alphabets(Since I and O are excluded) . So total available combinations are 103 multiplied by 242. So 576,000 combinations. In one attempt a person can only try one combination, so the probability that this combination is the correct code is 1/576000 which is equal to 1.736*10-6

Since the probability for breaking the code in one try is more for code2, Code1 is the better code for preventing unauthorized access!

(ii) If both codes are implemented the first followed by the second, there will be 9 digits and 2 letters in the new code. So the total available combinations are 109 multiplied by 242. So 5.76*1011 combinations. In one attempt a person can only try one combination, so the probability that this combination is the correct code is 1/(5.76*1011) which is equal to 1.736*10-12. As expected, this is really small when compared to the other two probabilities that we found out because this code is longer and is harder to break.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS