115k views
4 votes
How many passwords of 4 digits are there(a)if none of the digits can be repeated?(b)start with 5 and end in an even digit?

User Ben Bracha
by
5.6k points

1 Answer

2 votes

Answer:

5040,56

Explanation:

We have to construct pass words of 4 digits

a) None of the digits can be repeated

We have total digits as 0 to 9.

4 digits can be selected form these 10 in 10P4 ways (since order matters in numbers)

No of passwords = 10P4

=
10(9)(8)(7)\\=5040

b) start with 5 and end in even digit

Here we restrain the choices by putting conditions

I digit is compulsorily 5 and hence only one way

Last digit can be any one of 0,2,4,6,8 hence 5 ways

Once first and last selected remaining 2 digits can be selected from remaining 8 digits in 8P2 ways (order counts here)

=56

User Panda Pajama
by
6.2k points