1/10
Flashcards covering key vocabulary terms from the Python programming lesson, focusing on loops, validation, and randomness.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Iteration
The computing term for repeating something again and again.
While-loop
A Python construct that keeps repeating a block of code while a certain condition is true.
Validation
Checking that inputted data is in the correct format, typically performed by a computer program.
Presence Checking
A type of validation that ensures something has been entered.
Existence Checking
A type of validation that ensures that data exists on a database.
Length Checking
A type of validation that ensures data is not too short or too long.
Format Checking
A type of validation that ensures data is in the correct form.
Verification
Showing a user what they have already inputted so they can check its correctness; usually performed by a person.
Pseudo-random Numbers (PRNs)
Numbers generated by algorithms that appear random but are produced using mathematical formulas or pre-calculated tables.
Random.seed()
Helps to make the numbers ‘more random’.
Random.randrange()
Picks a random number between two values.