Exam 5: Functions and Modules
Exam 1: Introduction to Computers and Programming36 Questions
Exam 2: Input, Processing, and Output35 Questions
Exam 3: Decision Structures and Boolean Logic35 Questions
Exam 4: Repetition Structures34 Questions
Exam 5: Functions and Modules69 Questions
Exam 6: Files and Exceptions34 Questions
Exam 7: Lists and Tuples35 Questions
Exam 8: More About Strings35 Questions
Exam 9: Dictionaries and Sets35 Questions
Exam 10: Classes and Object Oriented Programming35 Questions
Exam 11: Inheritance35 Questions
Exam 12: Recursion35 Questions
Exam 13: GUI Programming35 Questions
Select questions type
The Python standard library's _____ module contains numerous functions that can be used in mathematical calculations.
(Multiple Choice)
4.9/5
(44)
A variable's _____ is the part of a program in which the variable may be accessed.
(Multiple Choice)
4.7/5
(39)
To refer to a function in a module, in our program we have to use the _______________ notation.
(Short Answer)
4.9/5
(37)
A(n) _______________ program displays a list of the operations on the screen and allows the user to select the operation that the program should perform.
(Short Answer)
4.8/5
(43)
A value-returning function is like a simple function except that when it finishes it returns a value back to the called part of the program.
(True/False)
4.8/5
(41)
A(n) _____ variable is accessible to all the functions in a program file.
(Multiple Choice)
4.9/5
(46)
What makes it easier to reuse the same code in more than one program?
(Multiple Choice)
4.9/5
(42)
Given the following function definition, what would the statement print magic(5) display?
Def magic(num):
Return num + 2 * 10
(Multiple Choice)
5.0/5
(36)
Showing 61 - 69 of 69
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)