Answer the following statements true (T) or false (F)
1. 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.
2. A hierarchy chart does not reveal details of the steps taken inside the module.
3. 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.
4. An attempt to pass a non-variable argument into a reference variable parameter will cause an error.
5. Modules can be written for commonly needed tasks, and those modules can be incorporated into each program that needs them.
1. FALSE
2. TRUE
3. TRUE
4. TRUE
5. TRUE
You might also like to view...
A linked list can hold ______ nodes
a) 10 b) 100 c) 1000 d) a number specified when the linked list is instantiated. e) any number of
The postfix expression 2 4 6 * + 15 - 21 7 / + = evaluates to ____.
A. 4 B. 14 C. 24 D. 26