Brainteaser Rep to anyone who even attemps an answer (within reason) - HotUKDeals
We use cookie files to improve site functionality and personalisation. By continuing to use HUKD, you accept our cookie and privacy policy.
Get the HUKD app free at Google Play

Search Error

An error occurred when searching, please try again!

Login / Sign UpSubmit

Brainteaser Rep to anyone who even attemps an answer (within reason)

danmc Avatar
6y, 10m agoPosted 6 years, 10 months ago
I'm trying to make a quiz to help revise for a module at uni and have come across this in the revision notes, anybody fancy a guess?.

An Internet banking system allows customers to select their own 6-digit
security number. Two digits are selected at random by the bank for the
client to enter as an authentication mechanism each time the customer
logs in. Assuming an eavesdropper is able to read the digits entered by
the customer what is the least possible number of logins the
eavesdropper would have to see in order to learn the security number?
danmc Avatar
6y, 10m agoPosted 6 years, 10 months ago
Options

All Comments

(99) Jump to unreadPost a comment
Comments/page:
Page:
1 Like #1
just a guess but 110?
1 Like #2
I would say 3 but I assume its a trick question or something
#4
There are 4 choices.

A 1 login
B 3 logins
C 15 logins
D 30 logins

I'm leaning towards once myself, maybe a trick question?. Either that or a badly written question:)
banned 1 Like #5
once.
#6


yup I'm sitting it on tuesday i'm making a multiple choice quiz on my iphone to help me remember. the first quarter of the exam is multiple choice & I have answered virtually all the rest just this one thats throwing me.
#7
sassie
once.


Thats what I think it just seems to obvious though thats what was throwing me.:thinking:
1 Like #8
Strange question.. Seems like a trick to me.

Gonna go with one.
#9
How can you get a 6digit security number from seeing someone enter 2 numbers?
banned#10
danmc
Thats what I think it just seems to obvious though thats what was throwing me.:thinking:


ide deffo go with one, i think its one of those that throw a load of bits in to make it appear more than it is
1 Like #11
one..
1 Like #12
one, but think the same as you to easy so must be a trick
#13
bigfoot100
How can you get a 6digit security number from seeing someone enter 2 numbers?


sassie
ide deffo go with one, i think its one of those that throw a load of bits in to make it appear more than it is


Trickyjabs
one..


Cheers all think I'm defo going for one If they where using a everypossible 2 combination of 0-9 surely it would be 99.

Cheers again all have some rep i'm off to bed.
banned#14
well it aint any of the other ones
#15
Its obviously 3 - the security number is 6 digits long and the customer types 2 of them in at random each time to login. As long as the random bit selects all 6 different numbers in 3 attempts then the thief gets the entire security number.
banned#16
danmc
Cheers all think I'm defo going for one If they where using a everypossible 2 combination of 0-9 surely it would be 99.

Cheers again all have some rep i'm off to bed.


no because ther is only 6 digits - lol

if it was about the two numbers and they are random it would be 36
#17
3 i think!!!

2 digits of a 6 digit code each time..
if cust is given 2 digits each log in then it would be 3 min, assuming he gets 2 different each time!!!!

maybe...
#18
It's late and I can't wrap my head around the question. When the customer goes to log in, does it mean they have to enter two digits into a string, like so:

4 2 2 [ ? ] [ ? ] 1

Or does it mean that only two digits appear on the screen like so:

4 [ ? ] 2 [ ? ] [ ? ] [? ]

and they have to enter the rest?

Or am I missing the point entirely?
#19
We_Are_138
It's late and I can't wrap my head around the question. When the customer goes to log in, does it mean they have to enter two digits into a string, like so:

4 2 2 [ ? ] [ ? ] 1

Or does it mean that only two digits appear on the screen like so:

4 [ ? ] 2 [ ? ] [ ? ] [? ]

and they have to enter the rest?

Or am I missing the point entirely?


Basically I think it says please enter for example digit 3 and 5 of your security number
#20
I can't see how it can possibly be one, it has to be 3
banned#21
bigfoot100
Basically I think it says please enter for example digit 3 and 5 of your security number


then if completely random it would take 36 goes to cover all possibilities
#22
Assuming the eavesdropper does not see the attempted/failed login guesses the answer would be 3
#23
bigfoot100
Basically I think it says please enter for example digit 3 and 5 of your security number


God, I'm an idiot. Thanks for that.

I get asked this quite often when I use my card online.

If that's the case, then I would agree and say it would be 3 times. If the only information on the screen are the two presumably disguised numbers, I think the minimum would be 3 and then would require a lot of luck, too.
#24
sassie
then if completely random it would take 36 goes to cover all possibilities


Yer but it asks for the least possible which is 3
banned#25
bigfoot100
Yer but it asks for the least possible which is 3


the least possible, but numbers are still random, i dont think it has anything to do with the two numbers
#26
Assuming an eavesdropper is able to read the digits entered by the customer
I'm with Sassie
#27
sassie
then if completely random it would take 36 goes to cover all possibilities


No, not at all. Let's say for example the code was: 1 2 3 4 5 6 - when you get to the screen which requires your code, you will be asked for two numbers. In this case, let's say they asked for the 3rd and 5th number, which in this simple example would be 3 and 5. The next time they may ask for the 1st and 6th one, which will obviously be 1 and 6. Then on the third time they may ask you for the 2nd and 4th, which will be 2 and 4.

If this happened in the above sequence, they would know that your entire 6 digit code is: 1 2 3 4 5 6 after 3 viewings.

However... I guess it could only need one time, as let's say on the first occasion it asked for digits 3 and 5, it might ask for the same digits the next time. So if you were extremely jammy, you could do it in one, however you wouldn't get the entire code, just 2 digits.
#28
sassie
the least possible, but numbers are still random, i dont think it has anything to do with the two numbers


Yer so if they asked for the number of logins that would guarantee the security number then I agree. However they are asking for the least possible number it has nothing to do with the randomness. The least possible logins occurs when each consecutive login has two different numbers from the security numbers which after 3 attempts would give the answer.
#29
We_Are_138
on the first occasion it asked for digits 3 and 5, it might ask for the same digits the next time. So if you were extremely jammy, you could do it in one, however you wouldn't get the entire code, just 2 digits.


Which isnt the question.. it asks you how many times to know the sequrity number, implying the whole 6 digits.

so yes it is 3.
banned#30
We_Are_138
No, not at all. Let's say for example the code was: 1 2 3 4 5 6 - when you get to the screen which requires your code, you will be asked for two numbers. In this case, let's say they asked for the 3rd and 5th number, which in this simple example would be 3 and 5. The next time they may ask for the 1st and 6th one, which will obviously be 1 and 6. Then on the third time they may ask you for the 2nd and 4th, which will be 2 and 4.

If this happened in the above sequence, they would know that your entire 6 digit code is: 1 2 3 4 5 6 after 3 viewings.

However... I guess it could only need one time, as let's say on the first occasion it asked for digits 3 and 5, it might ask for the same digits the next time. So if you were extremely jammy, you could do it in one, however you wouldn't get the entire code, just 2 digits.


pmsl, an evesdropper they said, not someone sat on her shoulder looking at what digits they where asking for
banned#31
Jetpac
Which isnt the question.. it asks you how many times to know the sequrity number, implying the whole 6 digits.

so yes it is 3.


random means random, not 1 of each number
#32
sassie
pmsl, an evesdropper they said, not someone sat on her shoulder looking at what digits they where asking for


What are you talking about? It's asking hypothetically how many times they would have to see someone enter the code.
banned#33
im off to bed, good luck and im sticking with 1, night all xxx
1 Like #34
sassie
pmsl, an evesdropper they said, not someone sat on her shoulder looking at what digits they where asking for


Are you saying they can't see what number the bank ask for? Surely then you could never be sure, because if there was a repeat digit involved you wouldn't know if it was a new digit or where it was in the sequence.
#35
Jetpac
Which isnt the question.. it asks you how many times to know the sequrity number, implying the whole 6 digits.

so yes it is 3.


Sorry, didn't see this post.

As it asks for the entire code, then I agree, it's 3. I was just saying that you could possibly gain access by seeing them enter 2 digits once, even though it's unrelated to the question. ;-)
#36
sassie;7524757
no because ther is only 6 digits - lol

if it was about the two numbers and they are random it would be 36

Wrong because there are no guarantees that all the numbers will come up in a random sequence it could ask for the same number over and over again. Highly improbable but still possible.
#37
Three!!
#38
I say the minimum is 3 (and the maximum is infinite). It's just 6 divided by 2.
#39
sassie
pmsl, an evesdropper they said, not someone sat on her shoulder looking at what digits they where asking for


Assuming an eavesdropper is able to [SIZE="5"]read [/SIZE]the digits entered by
the customer what is the least possible number of logins the
eavesdropper would have to [SIZE="5"]see[/SIZE]


3
#40
Without a doubt 3, it HAS to be.

6 digit security, 2 digits asked for on each attempt, therefore 3 attempts is the MINIMUM number of times that would be required to see the entire code.

Post a Comment

You don't need an account to leave a comment. Just enter your email address. We'll keep it private.

...OR log in with your social account

...OR comment using your social account

Thanks for your comment! Keep it up!
We just need to have a quick look and it will be live soon.
The community is happy to hear your opinion! Keep contributing!