Identifying Syntax and Logic Errors (AQA 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 syntax error?
What is a syntax error?
An error that breaks language rules
What happens when a program has a syntax error?
What happens when a program has a syntax error?
It stops from running entirely
Which is an example of a syntax error?
Which is an example of a syntax error?
Misspelling OUTPUT as OUTTPU
What is a logic error?
What is a logic error?
Code follows rules but does wrong thing
How do logic errors affect program execution?
How do logic errors affect program execution?
Program runs but produces wrong results
In the addup example, what result does give if it multiplies instead of adds?
In the addup example, what result does give if it multiplies instead of adds?
What are the three types of test data?
What are the three types of test data?
Normal, boundary, and erroneous
Which type of error is harder to detect?
Which type of error is harder to detect?
Logic errors
When are syntax errors caught?
When are syntax errors caught?
Immediately by the programming environment
Why are logic errors particularly dangerous?
Why are logic errors particularly dangerous?
Program appears to work but gives wrong data
