Syntax and Logic Errors

Syntax and Logic Errors

9th - 11th Grade

12 Qs

quiz-placeholder

Similar activities

ocr computer science 2.5

ocr computer science 2.5

10th Grade

16 Qs

Coding - Computer Programming

Coding - Computer Programming

KG - University

10 Qs

Syntax or logical errors

Syntax or logical errors

10th Grade

15 Qs

Programming - Syntax & Logic Errors

Programming - Syntax & Logic Errors

3rd - 12th Grade

10 Qs

errors and testing

errors and testing

8th - 11th Grade

15 Qs

Loops and trace tables

Loops and trace tables

11th Grade

13 Qs

AP CSP Vocab Quiz BI 1, 2

AP CSP Vocab Quiz BI 1, 2

9th - 12th Grade

11 Qs

Error Handling and Debugging in Programming

Error Handling and Debugging in Programming

9th Grade

17 Qs

Syntax and Logic Errors

Syntax and Logic Errors

Assessment

Quiz

Computers

9th - 11th Grade

Medium

CCSS
RI.9-10.4, RI.11-12.4, RI.7.4

+1

Standards-aligned

Created by

Paul Greenwood

Used 84+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Syntax errors are always spotted when the program is compiled or interpreted.
True
False

Tags

CCSS.RI.11-12.4

CCSS.RI.7.4

CCSS.RI.8.4

CCSS.RI.9-10.4

CCSS.RI.9-10.4

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Logic errors are detected by the programming IDE being used.
False
True

Tags

CCSS.RI.11-12.4

CCSS.RI.7.4

CCSS.RI.8.4

CCSS.RI.9-10.4

CCSS.RI.9-10.4

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Syntax errors are caused by incorrectly typed source code.
True
False

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A program won't run if there is a logic error.
False
True

Tags

CCSS.RI.11-12.4

CCSS.RI.7.4

CCSS.RI.8.4

CCSS.RI.9-10.4

CCSS.RI.9-10.4

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Modern IDEs are able to spot syntax errors as the programmer types.
True
False

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which statement best describes logic errors?
An error in a program that causes it to produce incorrect ouputs but not a crash.
An error in a program that causes it to crash.
An error in the program caused by mis-spelt instructions.
An error in a program caused by hardware failure.

Tags

CCSS.RI.11-12.4

CCSS.RI.7.4

CCSS.RI.8.4

CCSS.RI.9-10.4

CCSS.RI.9-10.4

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image
What's the mistake in this code?
The variable "surname" needs a capital letter (first line of code)
"print" needs a capital letter
"input" needs a capital letter
There are plus signs in the final line of code

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?