Exam 3: Simple functions
Exam 1: Introduction to Computers and Programming35 Questions
Exam 2: Input, Processing, and Output35 Questions
Exam 3: Simple functions34 Questions
Exam 4: Decision Structures and Boolean Logic35 Questions
Exam 5: Repetition Structures35 Questions
Exam 6: Value-Returning functions and Modules35 Questions
Exam 7: files and Exceptions35 Questions
Exam 8: Lists and Tuples35 Questions
Exam 9: More About Strings35 Questions
Exam 10: Dictionaries and Sets35 Questions
Exam 11: Classes and Object-Oriented Programming35 Questions
Exam 12: Inheritance35 Questions
Exam 13: Recursion35 Questions
Exam 14: GUI Programming35 Questions
Select questions type
The first line in the function definition is known as the function _____.
(Multiple Choice)
5.0/5
(30)
Python function names follow the same rules for naming variables.
(True/False)
4.8/5
(43)
A function definition specifies what a function does and causes the function to execute.
(True/False)
4.8/5
(39)
A variable's _____ is the part of a program in which the variable may be accessed.
(Multiple Choice)
4.8/5
(31)
A(n) _____ is a variable that receives an argument that is passed into a function.
(Multiple Choice)
4.9/5
(42)
A(n) _____ constant is a global name that references a value that cannot be changed.
(Multiple Choice)
4.8/5
(42)
The approach called _______________ is taking a large task and dividing it into several smaller tasks that are easily performed.
(Short Answer)
4.8/5
(36)
The function header begins with the keyword _______________ followed by the name of the function.
(Short Answer)
4.7/5
(33)
The _____ of a local variable is the function in which the variable is created.
(Multiple Choice)
4.9/5
(36)
The top-down design breaks down the overall task of the program into a series of _______________.
(Short Answer)
4.7/5
(35)
The function header marks the beginning of the function definition.
(True/False)
4.7/5
(34)
The main function contains a program's _______________ logic, which is the overall logic of the program.
(Short Answer)
4.8/5
(43)
Showing 21 - 34 of 34
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)