Python Ch 5 Test Review

Quiz
•
Computers
•
8th Grade
•
Medium
Carie Sheridan
Used 33+ times
FREE Resource
19 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?
Bugs
Breakpoints
Tracepoints
Flops
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT displayed in a syntax error message?
The suggested best practice for avoiding the error in the future
The file name where the error was found
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 halts completely with an error message
Your program hangs forever without any more input or output
Your program continues to run but may not behave the way you wanted
An automatic error report is sent to the Python Software Foundation
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Python Recap

Quiz
•
7th Grade - University
14 questions
year 8 lesson 2 quiz - python

Quiz
•
8th - 10th Grade
16 questions
ICT SPM Section A (Programming)

Quiz
•
1st - 10th Grade
20 questions
CodeCombat

Quiz
•
8th Grade
15 questions
Scope of Variables in Python

Quiz
•
1st Grade - Professio...
20 questions
Intro to Python

Quiz
•
6th - 8th Grade
20 questions
Python 1

Quiz
•
7th - 9th Grade
20 questions
Programming - PSEUDOCODE (IGCSE)

Quiz
•
6th - 10th Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade