
Quiz on Error Types in Programming

Quiz
•
Information Technology (IT)
•
8th Grade
•
Medium
Ashley Brown
Used 16+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a general category of error?
Sneaky Error
Syntax error
Logical error
Runtime exception
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What general term to software engineers use to describe errors in programs?
Flops
Breakpoints
Tracepoints
Bugs
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT displayed in a syntax error message?
The file name where the error was found
The suggested best practice for avoiding the error in the future
The line of code where the error was found
A carat (^) pointing at the likely location of the error within a statement
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When you get a syntax error, what should you do if you can't find the problem at the line of code where the carat is pointing?
Look backwards (upwards) at earlier statements to see where the problem starts
Look downwards (forwards) at later statements to see where the problem ends
Engage the debugger and set a breakpoint
Call the Python support hotline
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If a program runs without any error messages, but doesn't do what you want it to do, what kind of error do you likely have in your code?
Logical error
Syntax error
Runtime exception
Any of these is possible
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When do you normally see the effects of a logical error?
When the program is running
Before the program starts
After the program ends
Any of these times is possible
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when a runtime exception is encountered?
Your program continues to run but may not behave the way you wanted
Your program hangs forever without any more input or output
Your program halts completely with an error message
An automatic error report is sent to the Python Software Foundation
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Quiz sobre el ornitorrinco y la programación

Quiz
•
8th Grade - University
20 questions
Ch. 15 Exam Review

Quiz
•
8th Grade
25 questions
Code.org lesson 3 and 4 quiz

Quiz
•
7th Grade - University
19 questions
Arduino Quiz

Quiz
•
8th Grade
25 questions
Semester 1 games Review

Quiz
•
8th Grade
16 questions
HTML Level 1

Quiz
•
8th Grade - University
20 questions
Web prog

Quiz
•
6th - 8th Grade
20 questions
Chapter 6 Exam

Quiz
•
8th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Information Technology (IT)
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
24 questions
Flinn Lab Safety Quiz

Quiz
•
5th - 8th Grade
15 questions
Wren Pride and School Procedures Worksheet

Quiz
•
8th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
10 questions
Converting Repeating Decimals to Fractions

Quiz
•
8th Grade