
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
Access all questions and much more by creating a free account
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
20 questions
Staircase
Quiz
•
University
20 questions
General knowledge
Quiz
•
3rd Grade - University
20 questions
Fantastic beasts The crimes of Grindelwald
Quiz
•
1st Grade - University
15 questions
Football Quiz
Quiz
•
KG - Professional Dev...
10 questions
Exoictic cars.
Quiz
•
5th Grade - Professio...
10 questions
Capital Budgeting and Capital Ratioining Quiz
Quiz
•
University
20 questions
Materials and Methods and Results Discussions Conclusion Rec
Quiz
•
University
10 questions
Dental Amalgam Quiz
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Other
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University
