Programming - Syntax & Logic Errors

Programming - Syntax & Logic Errors

3rd - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Errors in Programming

Errors in Programming

9th Grade

10 Qs

Debugging Process on Code.org

Debugging Process on Code.org

4th Grade

15 Qs

2.3 Producing Robust Programs

2.3 Producing Robust Programs

10th Grade

12 Qs

L1 - Translators

L1 - Translators

8th Grade

10 Qs

GCSE Edexcel Translators

GCSE Edexcel Translators

9th - 12th Grade

13 Qs

Lesson 9 - The internet

Lesson 9 - The internet

8th Grade

12 Qs

PCEP Section 1A: Understand fundamental terms and definitions

PCEP Section 1A: Understand fundamental terms and definitions

12th Grade

15 Qs

OCR Computer Science 2.3 Testing

OCR Computer Science 2.3 Testing

8th - 11th Grade

7 Qs

Programming - Syntax & Logic Errors

Programming - Syntax & Logic Errors

Assessment

Quiz

Computers

3rd - 12th Grade

Hard

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

+5

Standards-aligned

Created by

Matt Fearn

Used 529+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

Tags

CCSS.RI.11-12.4

CCSS.RI.4.10

CCSS.RI.5.10

CCSS.RI.8.4

CCSS.RI.9-10.4

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

Tags

CCSS.RI.11-12.4

CCSS.RI.3.10

CCSS.RI.4.10

CCSS.RI.6.4

CCSS.RI.9-10.4

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of these pseudocode statements is an example of a logic error?
FOR x=0 TO 10 STEP -1
FOR x=0 TO 10 STEP 1
FOR x=10 TO 0 STEP -1
FOR x=0 TOO 10 STEP 1

Tags

CCSS.RI.11-12.4

CCSS.RI.4.10

CCSS.RI.6.4

CCSS.RI.8.4

CCSS.RI.9-10.4

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

Tags

CCSS.RI.11-12.4

CCSS.RI.3.10

CCSS.RI.4.10

CCSS.RI.5.10

CCSS.RI.8.4

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of these pseudocode statements contains a syntax error?
pounds = pence x 100
pounds = pence * 100
pounds = pence / 100
pounds = 100 / pence

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

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?