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
A(n) _____ chart is also known as a structured chart.
Free
(Multiple Choice)
4.9/5
(40)
Correct Answer:
C
In a flowchart, a function call is depicted by a(n) _______________ that has vertical bars.
Free
(Short Answer)
4.9/5
(29)
Correct Answer:
rectangle
What is a group of statements that exists within a program for the purpose of performing a specific task?
Free
(Multiple Choice)
4.8/5
(41)
Correct Answer:
A
The value assigned to a global constant can be changed in the mainline logic.
(True/False)
4.8/5
(35)
One of the reasons not to use global variables is that it makes a program hard to debug.
(True/False)
4.9/5
(40)
The _____ design technique can be used to break down an algorithm into functions.
(Multiple Choice)
4.9/5
(41)
Different functions can have local variables with the same names.
(True/False)
4.9/5
(35)
A(n) _____ is any piece of data that is passed into a function when the function is called.
(Multiple Choice)
4.9/5
(32)
It is recommended that programmers should avoid using _____ variables in a program when possible.
(Multiple Choice)
4.8/5
(31)
A(n) _____ variable is accessible to all the functions in a program file.
(Multiple Choice)
4.8/5
(40)
Arguments are passed by _______________ to the corresponding parameter variables in the function.
(Short Answer)
4.9/5
(44)
A set of statements that belong together as a group and contribute to the function definition is known as a(n) _____.
(Multiple Choice)
4.7/5
(33)
To assign a value to a global variable in a function, the global variable must first be declared in the function.
(True/False)
4.8/5
(36)
The hierarchy chart shows all the steps that are taken inside a function.
(True/False)
4.9/5
(27)
The code for a function is known as a function _______________.
(Short Answer)
4.7/5
(32)
A variable is visible only to statements in the variable's _______________.
(Short Answer)
5.0/5
(40)
A(n) _______________ chart is a visual representation of the relationships between functions.
(Short Answer)
4.8/5
(35)
The _____ argument specifies which parameter the argument should be passed into.
(Multiple Choice)
4.8/5
(28)
Showing 1 - 20 of 34
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)