Exam 10: Control II - Procedures and Environments

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

In Ada,parameters can be declared as in or out,but not both.

(True/False)
4.8/5
(28)

Variables declared in the calling method are said to be in the ____ environment.

(Multiple Choice)
4.8/5
(36)

The access link provides access to ____.

(Multiple Choice)
4.8/5
(31)

The ____ maintains the location of the current activation record.

(Multiple Choice)
4.8/5
(38)

____ occurs when multiple access links must be followed to arrive at a nonlocal variable.

(Multiple Choice)
4.8/5
(40)

You call a procedure by stating its name,together with arguments to the call.

(True/False)
4.9/5
(38)

Pass by value implies that changes cannot occur outside the procedure through the use of parameters.

(True/False)
4.8/5
(40)

If a pointer is passed by value,the procedure cannot modify the contents of the pointer.

(True/False)
4.7/5
(37)

Pass by name is included in all Algol60 descendants.

(True/False)
4.9/5
(37)

Mark and sweep is a lazy method of storage reclamation.

(True/False)
4.9/5
(36)

In a(n)____ environment,activation records are not removed as long as there are references to any of its local objects.

(Multiple Choice)
4.7/5
(40)

____ are used to revert control back to a method caller.

(Multiple Choice)
4.8/5
(33)

Recursion is allowed in Fortran77.

(True/False)
4.8/5
(39)

____ are known as actual parameters.

(Multiple Choice)
4.8/5
(32)

The ____ environment houses global variables.

(Multiple Choice)
4.9/5
(37)

An activation record is a stored log recording each time a procedure or function is activated.

(True/False)
4.9/5
(33)

Pass by value is the default mechanism in C++ and Pascal.

(True/False)
4.8/5
(39)

A procedure declaration creates a constant procedure value and associates a symbolic name with that value.

(True/False)
4.8/5
(36)

A procedure is defined by providing a(n)____ and a body.

(Multiple Choice)
4.9/5
(33)

The ____ is the memory allocated for the local objects of a procedure block.

(Multiple Choice)
4.8/5
(33)
Showing 21 - 40 of 50
close modal

Filters

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