Fundamental Programming Concepts (OCR GCSE Computer Science): Quizzes
📚Quizzes
Practise the questions
10 questions from this quiz
ShowHide
Practise the questions
10 questions from this quiz
What is a variable in programming?
What is a variable in programming?
A named storage location holding data
Why are constants used in programs?
Why are constants used in programs?
To ensure fixed values stay unchanged
What is the key difference between variables and constants?
What is the key difference between variables and constants?
Variables can change, constants are fixed
Which symbols are arithmetic operators?
Which symbols are arithmetic operators?
+, -, *, /
What do comparison operators do?
What do comparison operators do?
Compare values for decision-making
Which are examples of Boolean operators?
Which are examples of Boolean operators?
AND, OR, NOT
What do inputs allow a program to do?
What do inputs allow a program to do?
Receive data from users
What is the purpose of outputs in a program?
What is the purpose of outputs in a program?
To communicate results to users
In an assignment like x = 5, what goes on the left of the = symbol?
In an assignment like x = 5, what goes on the left of the = symbol?
The variable name
Which function is used to capture user input?
Which function is used to capture user input?
input()
