Exam 10: Control II - Procedures and Environments

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

In C and Java,parameters passed by value behave as local variables of the procedure.

(True/False)
4.9/5
(31)

Reference counting is a lazy method of storage reclamation.

(True/False)
4.8/5
(36)

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
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)