Errors that can occur in programs (Edexcel 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 programming error?
What is a programming error?
A mistake that stops the program working
How many main categories of programming errors are there?
How many main categories of programming errors are there?
Three
Why are syntax errors the easiest type to fix?
Why are syntax errors the easiest type to fix?
Computer tells you exactly where it is
Which is an example of a syntax error?
Which is an example of a syntax error?
Misspelling 'print' as 'pritn'
What causes a syntax error?
What causes a syntax error?
Breaking the programming language rules
When do runtime errors appear?
When do runtime errors appear?
Only when the program is running
Which is an example of a runtime error?
Which is an example of a runtime error?
Accessing index 5 in a 3-item list
What happens when a runtime error occurs?
What happens when a runtime error occurs?
Program typically crashes
Why are logic errors the most challenging to find?
Why are logic errors the most challenging to find?
No error messages appear
Why can't the computer help find logic errors?
Why can't the computer help find logic errors?
It's doing exactly what you told it
Which debugging technique helps find logic errors?
Which debugging technique helps find logic errors?
Using print statements to see values
In the worked example, what should 'numbMarks' be initialized to?
In the worked example, what should 'numbMarks' be initialized to?
0
