Question #234577

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).
I) which code is better at preventing unauthorized access ( defined as breaking the code in one attempt)?
ii) if both codes are implemented, the first followed by the second, what is probability of gaining access in a single attempt?

Expert's answer

Number of combinations for the first code: N1=106=1000000.N_1=10^6=1000000.

Number of combinations for the second code: N2=103242=576000.N_2=10^3*24^2=576000.

i) Since N1>N2N_1>N_2, the first code is better.

ii) N=N1N2=1000000576000=576000000000=5.761011.N=N_1N_2=1000000*576000=576000000000=5.76*10^{11}.

P=1N=1.73611012.P=\frac{1}{N}=1.7361*10^{-12}.



LATEST TUTORIALS
APPROVED BY CLIENTS