Procedural Programming (OCR A-Level Computer Science): Quizzes
📚Quizzes
Practise the questions
12 questions from this quiz
ShowHide
Practise the questions
12 questions from this quiz
What is procedural programming based on?
What is procedural programming based on?
Structured, sequential steps
What are variables in procedural programming?
What are variables in procedural programming?
Named storage with changeable values
How are constants typically written in Python?
How are constants typically written in Python?
In UPPERCASE letters
What does sequence refer to in procedural programming?
What does sequence refer to in procedural programming?
Line-by-line execution in order
What is the purpose of selection in procedural programming?
What is the purpose of selection in procedural programming?
Choose paths based on conditions
What does iteration enable in procedural programming?
What does iteration enable in procedural programming?
Repeating code blocks
What distinguishes functions from procedures?
What distinguishes functions from procedures?
Functions return a value
What does string handling allow?
What does string handling allow?
Manipulation of text-based data
Why is file handling crucial?
Why is file handling crucial?
For persistent data storage
Which are Boolean operators?
Which are Boolean operators?
and, or, not
What does the operator do in Python?
What does the operator do in Python?
Exponentiation
When must you use the global keyword in Python?
When must you use the global keyword in Python?
To modify global variables in functions
