MODULE 3 SELF TEST QUESTIONS WITH COMPLETE
ANSWERS (100% ACCURATE)
Question 1.
Modules make it impossible for programmers to work in teams.
ANSWER
false
Question 2.
The top-down design process is sometimes referred to as stepwise refinement.
ANSWER
True
Question 3.
The scope of a variable is the segment of the program in which the variable can be accessed.
ANSWER
True
Question 4.
A module can have two or more variables with the same name because they are within the same
scope.
ANSWER
False
Question 5.
The arguments in a module call and the parameters listed in the module header must be of compatible
data types.
ANSWER
True
1/7
, Question 6.
The scope of the parameter variables is the entire program and they are visible to any statement in the
program.
ANSWER
False
Question 7.
When a variable is passed by value, changes to that argument made within the module also affect the
value of the variable in the part of the program that made the call to that module.
ANSWER
False
Question 8.
A hierarchy chart does not reveal details of the steps taken inside the module.
ANSWER
True
Question 9.
When a variable is passed by reference to a module, changes to the value of the argument in the
module will also affect the variable in the part of the program that sent that argument.
ANSWER
True
Question 10.
An attempt to pass a non-variable argument into a reference variable parameter will cause an error.
ANSWER
True
2/7
ANSWERS (100% ACCURATE)
Question 1.
Modules make it impossible for programmers to work in teams.
ANSWER
false
Question 2.
The top-down design process is sometimes referred to as stepwise refinement.
ANSWER
True
Question 3.
The scope of a variable is the segment of the program in which the variable can be accessed.
ANSWER
True
Question 4.
A module can have two or more variables with the same name because they are within the same
scope.
ANSWER
False
Question 5.
The arguments in a module call and the parameters listed in the module header must be of compatible
data types.
ANSWER
True
1/7
, Question 6.
The scope of the parameter variables is the entire program and they are visible to any statement in the
program.
ANSWER
False
Question 7.
When a variable is passed by value, changes to that argument made within the module also affect the
value of the variable in the part of the program that made the call to that module.
ANSWER
False
Question 8.
A hierarchy chart does not reveal details of the steps taken inside the module.
ANSWER
True
Question 9.
When a variable is passed by reference to a module, changes to the value of the argument in the
module will also affect the variable in the part of the program that sent that argument.
ANSWER
True
Question 10.
An attempt to pass a non-variable argument into a reference variable parameter will cause an error.
ANSWER
True
2/7