Search Header Logo

10 question quiz on identifying and correcting errors

Authored by Jacob Hicks

Computers

9th - 12th Grade

Used 2+ times

10 question quiz on identifying and correcting errors
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what occurs when the spelling and/or punctuation of a program are not followed correctly

Runtime errors
Semantic errors
Syntax errors
Logic errors

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A mistake in a program's base logic that causes behavior that is unexpected.

Logic error

Run-time errors

Syntax error

Overflow error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You can start your program with this error, however something unexpected will happen if you try to run your program normally.

Run-Time errors

Logic error

Syntax error

Overflow Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An error that occurs when the computer tries to comprehend a number too big for it to handle because it is outside it's defined range of values.

Limit Error
Out of Bounds Error
Overflow Error
Underflow Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Line 1: PROCEDURE countNumOccurences (myList, val)

Line 2: {

Line 3: FOR EACH item IN myList

Line 4: {

Line 5: count <- 0

Line 6: IF(item = val)

Line 7: {

Line 8: count <- count + 1

Line 9: }

Line 10: }

Line 11: RETURN(count)

Line 12: }

What will be the programs return value?

1

3

2

4

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is this an example of?

Fore loop(myList)

Syntax error

overflow error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

John makes a program that is supposed to make fast food suggestions after a quick survey. However, whenever the results screen comes up, the results are completely different than what they are supposed to be! What type of error is this?

Syntax error
Runtime error
Logic error
Compilation error

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?