Exam 10: Control II - Procedures and Environments
Exam 1: Introduction50 Questions
Exam 2: Language Design Criteria50 Questions
Exam 3: Functional Programming50 Questions
Exam 4: Logic Programming50 Questions
Exam 5: Object-Oriented Programming50 Questions
Exam 6: Syntax50 Questions
Exam 7: Basic Semantics50 Questions
Exam 8: Data Types50 Questions
Exam 9: Control I - Expressions and Statements50 Questions
Exam 10: Control II - Procedures and Environments50 Questions
Exam 11: Abstract Data Types and Modules50 Questions
Exam 12: Formal Semantics50 Questions
Exam 13: Parallel Programming51 Questions
Select questions type
In C and Java,parameters passed by value behave as local variables of the procedure.
(True/False)
4.9/5
(31)
A procedure specification includes its name,the names and types of its formal parameters and its return type,if any.
(True/False)
5.0/5
(39)
When you define a procedure,the parameters you list in the interface are the formal parameters.
(True/False)
4.7/5
(40)
In strongly typed languages,procedure calls must be checked so that the arguments agree in type and number with the parameters of the procedure.
(True/False)
4.8/5
(41)
A procedure with no nonlocal dependencies is considered to be in ____ form.
(Multiple Choice)
4.8/5
(35)
If a parameter behaves as a constant value during execution,the parameter is passed ___.
(Multiple Choice)
4.9/5
(37)
Pass ____ copies in the parameter value,and at the end of execution,copies out the final value of the parameter.
(Multiple Choice)
4.9/5
(40)
In a(n)____ environment,all memory allocation can be performed at load time,and the location of all variables are fixed for the duration of program execution.
(Multiple Choice)
4.9/5
(44)
In pass by name parameter passing,arguments are not evaluated until their actual use as parameters in the procedure.
(True/False)
4.8/5
(44)
Showing 41 - 50 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)