Watch
Announcements
#1
A spy is trying to open a security door by entering the correct code into a key pad. The
key pad has 10 buttons (for the digits 0; 1; : : : ; 9). How many possible codes does she have
to try at most if...

(a) ...she only knows that the correct code is 4 digits long? I think this is 10!/10C4
(b) ...she knows that the correct code consists of 4 distinct digits?
(c) ...she knows which 4 distinct digits are involved in the correct code?
0
4 weeks ago
#2
(Original post by Nerdygeek12)
A spy is trying to open a security door by entering the correct code into a key pad. The
key pad has 10 buttons (for the digits 0; 1; : : : ; 9). How many possible codes does she have
to try at most if...

(a) ...she only knows that the correct code is 4 digits long? I think this is 10!/10C4
(b) ...she knows that the correct code consists of 4 distinct digits?
(c) ...she knows which 4 distinct digits are involved in the correct code?
For part (a) would your reasoning work if there was only one button? Maybe start by considering how many possible codes there would be for one button, then two buttons.
0
#3
(Original post by old_engineer)
For part (a) would your reasoning work if there was only one button? Maybe start by considering how many possible codes there would be for one button, then two buttons.
I don't understand?
0
#4
(Original post by old_engineer)
For part (a) would your reasoning work if there was only one button? Maybe start by considering how many possible codes there would be for one button, then two buttons.
Is it like 10!/4!*3!*2!*1!
0
4 weeks ago
#5
(Original post by Nerdygeek12)
I don't understand?
Sorry, I may have added confusion by using the word button in the wrong context. If there are ten buttons (as in the question) but the code consists of just one number, how many possible codes are there?
0
4 weeks ago
#6
(Original post by old_engineer)
Sorry, I may have added confusion by using the word button in the wrong context. If there are ten buttons (as in the question) but the code consists of just one number, how many possible codes are there?
I'm trying not to labour the point, but if the code was just one digit long, the possible codes would be 0, 1, 2, 3, 4, 5, 6, 7, 8 or 9, i.e. there are ten possible codes. Now, if the code was two digits long, the possible codes would be 00, 01, 02 etc all the way up to 99. How many possible codes is that? And can you now extend the reasoning to the case where the code consists of four digits?
0
X

new posts
Back
to top
Latest
My Feed

### Oops, nobody has postedin the last few hours.

Why not re-start the conversation?

see more

### See more of what you like onThe Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

### Poll

Join the discussion

#### How are you feeling about starting university this autumn?

Really excited (69)
22.85%
Excited but a bit nervous (134)
44.37%
Not bothered either way (37)
12.25%
I'm really nervous (62)
20.53%