password

This topic has expert replies
Senior | Next Rank: 100 Posts
Posts: 60
Joined: Sat Jul 16, 2011 11:56 pm
Location: hyderabad
Thanked: 2 times
Followed by:1 members

password

by naveen451 » Thu Jul 28, 2011 11:06 pm
5. A password of a computer used five digits where they are from 0 and 9. What is the probability that the password solely consists of prime numbers and zero?
A 1/32
B 1/16
C 1/8
D 2/5
E ½
Source: — Problem Solving |

User avatar
Senior | Next Rank: 100 Posts
Posts: 54
Joined: Sun Nov 29, 2009 7:11 pm
Location: Bangalore
Thanked: 4 times

by abhisays » Thu Jul 28, 2011 11:19 pm
The answer is A


prob. = fav. no. of cases / total no. of cases.

fav. no. of cases = 5*5*5*5*5

total no. of cases = 10*10*10*10*10

hence prob. = 5*5*5*5*5/10*10*10*10*10 = 1/32

logic is...

for favorable no. of cases.

we have to make a password from 5 digits (0,2,3,5,7) means five digits are there to fill five spots.. repetition is allowed as password can be 00000 or 22233.. so first place in five digit password can be filled with 5 options.. similarly for second.. third and so on..

apply this logic for total no. of cases.

User avatar
Master | Next Rank: 500 Posts
Posts: 144
Joined: Sun Aug 29, 2010 9:17 am
Thanked: 40 times
Followed by:4 members
GMAT Score:760

by jaymw » Fri Jul 29, 2011 2:19 am
5. A password of a computer used five digits where they are from 0 and 9. What is the probability that the password solely consists of prime numbers and zero?
A 1/32
B 1/16
C 1/8
D 2/5
E ½
The digits: 0,2,3,5,7 fulfill the requirements of the password. The digits 1,4,6,8,9 do not.

Therefore, for the first digit of the password there is a 5/10 = 1/2 chance that it will fit the requirements.

Since repetition is allowed, the same is true for the remaining four digits of the password.

Hence:

(1/2)^5=1/32

The answer is A.