
Exas 2 chapter5
Quiz
•
Other
•
University
•
Practice Problem
•
Medium
Michelle Solorzano
Used 1+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of error prevents a program from compiling a running?
Exceptional
Syntax
Runtime
Logic
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which tupe of error throws an execption that stops execution of the program?
Exceptional
Syntax
Runtime
Logic
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a common type of syntax error?
Forgetting a colon
Forgetting to close a parenthesis
Invalid varible name
Improper indention
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When you plan the test runs for a program, you should do all but one of the following. Which one is it?
List the valid entries for each test run
List the invalid entiries and unexpected user actions for each test run
List the ecpected exceptions for each test run
List the expected results for each test run
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When you trace the execution for a program, you insert print() function at key points in the program. It makes sense for these fucntions to do all but one of the following. Which one is it?
display the name of the function that the print() function is in
display the values of the local variables in the function
display the values of the global constast used by the function
display the values of the global variables used by the function
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT true about top-down coding and testing?
You start with just a few functions and the code in the main() function that calls thoes functions
You add the code for a few functions at a time, including the code in the mian() fucntiuons that calls thoes functions
You should always start by coding and testing the most difficult function
Top-down testing makes debugging easier because you know that any error are caused by the code you've just added
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To test the function of a MODULE from the IDLE shell, you
run the module with varying input values
runs the module and then call any function from the IDLE shell
import the module and then call any function from the IDLE shell
call any function in the module by using the default namespace
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Latest Technology in Modern Hotel
Quiz
•
University
10 questions
Dragon Mania Ledgends Quiz
Quiz
•
1st Grade - Professio...
17 questions
Ecosystem Services
Quiz
•
University
11 questions
Media Analysis_Lez.1
Quiz
•
University
20 questions
UAS Dinamika Kelompok
Quiz
•
University
20 questions
SOAL SUMATIF TENGAH SEMSETER 1B.INGGRIS
Quiz
•
6th Grade - University
15 questions
Taxation - Introduction to Tax
Quiz
•
University
10 questions
Prime Ministers of India
Quiz
•
1st Grade - University
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
Discover more resources for Other
10 questions
Identifying equations
Quiz
•
KG - University
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
HS2C2 AB QUIZIZZ
Quiz
•
1st Grade - Professio...
14 questions
Homonyms Quiz
Quiz
•
KG - University
16 questions
Parts of a Parabola
Quiz
•
8th Grade - University
10 questions
A Brief History of Geologic Time
Interactive video
•
11th Grade - University
15 questions
Black Friday/Cyber Monday
Quiz
•
9th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
