Search Header Logo

Programming - Syntax & Logic Errors

Authored by Christopher Cook

Computers

3rd - 12th Grade

CCSS covered

Used 112+ times

Programming - Syntax & Logic Errors
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 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.3.10

CCSS.RI.9-10.4

CCSS.RI.9-10.4

CCSS.RI.5.10

CCSS.RI.6.4

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Logic errors are detected by the programming IDE being used.

False
True

Tags

CCSS.RI.3.10

CCSS.RI.4.10

CCSS.RI.5.10

CCSS.RI.11-12.4

CCSS.RI.7.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.3.10

CCSS.RI.9-10.4

CCSS.RI.9-10.4

CCSS.RI.4.10

CCSS.RI.5.10

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.3.10

CCSS.RI.9-10.4

CCSS.RI.9-10.4

CCSS.RI.4.10

CCSS.RI.5.10

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?