Programming Concepts (AQA GCSE Computer Science): Quizzes
📚Quizzes
Practise the questions
12 questions from this quiz
ShowHide
Practise the questions
12 questions from this quiz
What is a variable in programming?
What is a variable in programming?
A named storage location with changing data
Which variable name breaks the naming rules?
Which variable name breaks the naming rules?
player score
Which variable name is invalid because it starts incorrectly?
Which variable name is invalid because it starts incorrectly?
123score
What should you avoid when naming variables?
What should you avoid when naming variables?
Reserved keywords
How does a programming language treat 'score' and 'Score'?
How does a programming language treat 'score' and 'Score'?
As completely different variables
What is a constant in programming?
What is a constant in programming?
A fixed value that stays the same
Which is a good example of when to use a constant?
Which is a good example of when to use a constant?
Storing PI as 3.14159 for calculations
Which symbol is used for assignment in pseudocode?
Which symbol is used for assignment in pseudocode?
←
Which symbol is used for assignment in Python, VB.Net, and C#?
Which symbol is used for assignment in Python, VB.Net, and C#?
=
What happens when you assign a new value to a variable?
What happens when you assign a new value to a variable?
Old value is replaced and lost forever
How does Python handle variable declarations?
How does Python handle variable declarations?
No declaration needed, just assign values
What does C# require at the end of each statement?
What does C# require at the end of each statement?
A semicolon
