Authentication (Edexcel GCSE Computer Science): Quizzes
📚Quizzes
Practise the questions
12 questions from this quiz
ShowHide
Practise the questions
12 questions from this quiz
What is the main purpose of authentication?
What is the main purpose of authentication?
To verify identity and permission
In authentication, what does the username represent?
In authentication, what does the username represent?
Who you claim to be
What type of data structure typically stores username and password pairs?
What type of data structure typically stores username and password pairs?
Two-dimensional data structure
In a 2D user credential structure, what does each row represent?
In a 2D user credential structure, what does each row represent?
One user
What search technique is used to find matching credentials?
What search technique is used to find matching credentials?
Linear search
What data types does the len() function work on?
What data types does the len() function work on?
Strings and lists
What is the initial value of the 'found' boolean flag?
What is the initial value of the 'found' boolean flag?
False
The while loop continues searching while which two conditions are true?
The while loop continues searching while which two conditions are true?
index < len(userTable) and not found
Why must authentication check BOTH username AND password?
Why must authentication check BOTH username AND password?
For security through exact matching
What happens when found = True is set during the search?
What happens when found = True is set during the search?
The loop stops immediately
Why are partial matches a problem in authentication?
Why are partial matches a problem in authentication?
They could be security vulnerabilities
How can passcodes differ from regular passwords in storage?
How can passcodes differ from regular passwords in storage?
Stored as integers not strings
