Computer Science GCES EDEXCEL
-
Decomposition And Abstraction Edexcel2 主题
-
Algorithms Edexcel11 主题
-
Follow And Write Algorithms Edexcel
-
Introduction To Programming Concepts Edexcel
-
Basic Programming Concepts Edexcel
-
Variables Constants And Assignments Edexcel
-
Data Structures And Arrays Edexcel
-
Arithmetic Relational And Logical Operations Edexcel
-
Determine Outputs Of An Algorithm Edexcel
-
Types Of Errors Edexcel
-
Standard Sorting Algorithms Edexcel
-
Standard Searching Algorithms Edexcel
-
Algorithm Efficiency Edexcel
-
Follow And Write Algorithms Edexcel
-
Truth Tables Edexcel3 主题
-
Binary Edexcel6 主题
-
Data Representation Edexcel4 主题
-
Data Storage And Compression Edexcel2 主题
-
Hardware Edexcel5 主题
-
Software Edexcel3 主题
-
Programming Languages Edexcel2 主题
-
Networks Edexcel7 主题
-
Network Security Edexcel2 主题
-
Environmental Issues Edexcel1 主题
-
Ethical And Legal Issues Edexcel3 主题
-
Cybersecurity Edexcel2 主题
-
Develop Code Edexcel6 主题
-
Constructs Edexcel4 主题
-
Data Types And Data Structures Edexcel5 主题
-
Operators Edexcel1 主题
-
Subprograms Edexcel2 主题
Programming Authentication Edexcel
Exam code:1CP2
Programming Authentication
What is Authentication?
-
Authentication is the process of ensuring that a system is secure by asking the user to complete tasks to prove they are an authorised user of the system
-
Authentication is done because bots can submit data in online forms
-
Authentication can be done in several ways, these include
-
Usernames and Passwords
-
CAPTCHA
-
-
Other methods that programmers can do to authenticate the user include
-
Allowing users to recover passwords via email links and SMS codes
-
Encrypting data
-

How can authentication be programmed?
-
Authentication of usernames and passwords can be programmed in several ways, including using lists, databases and encryption
-
Students are required to be able to program looking up usernames and passwords using a list/array
-
To do this successfully, a 2-dimensional list/array will be used
|
Python example |
||
|---|---|---|
|
# Set a Boolean flag to track if the username is found
# List of usernames and corresponding passwords
# Ask the user to input their username
# Loop through each username in the list
# Check if the entered username matches any in the list
# Check if the username was not found
|
||
Responses