Question
1. F or a list of numbers, the function that will total all the numbers in the list is called __________________? A. total, B. add,
1. For a list of numbers, the function that will total all the numbers in the list is called __________________? A. total, B. add, C. accumulate, D. Sum
2. What type of exception is raised by Python when the user enters a word, e.g. zero, when the program expects a number, e.g.0, to be entered? A. TypeError, B. ValueError, c. ZeroDivisionError, D. ArithmeticError
3. The finally block in exception handling will always execute whether or not an exception has occurred. True or False
4. Your program can only catch one exception per try block? True or False
5. If we use an import statement such as "import math" we do not need to put "math" in front of the math function we wish to use, e.g. sqrt(4)? True or False
6. using already known programming elements and combining them into new, more complex structure is known as ________ design. A. Top down, B. Bottom up, C. Quantitative Analysis, D. Qualitative Analysis
7. In turtle graphics in Python, for the forward and backward functions, you specify how much to move the turtle inside the paranthesis. For these two functions, the amount of movement is measured in ________. A. inches, B. Millimeters, C. Pixels, D. Centimeters
8. In turtle graphics in Python, for the left and right functions, you specify how much to rotate the turtle inside the parenthesis. For these two functions, the amount of rotation is measured in ______________. A. Arcs, B. Degrees, C. Radians, D. Sectors
9. In turtle graphics in Python, for the left and right functions, you specify how much to rotate the turtle inside the parenthesis. For these two functions, the amount of rotation is measured in ______________. A. Pencolor, B. Linecolor, C. Pen, D. Line
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started