Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Programming Languages Principles
Quiz 10: Control II - Procedures and Environments
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 1
True/False
Pass by name is included in all Algol60 descendants.
Question 2
True/False
If a pointer is passed by value,the procedure cannot modify the contents of the pointer.
Question 3
True/False
Pass by value is the default mechanism in C++ and Pascal.
Question 4
True/False
A procedure is a mechanism for abstracting a group of actions or computations.
Question 5
True/False
In C and Java,parameters passed by value behave as local variables of the procedure.
Question 6
True/False
Pass by value-result is also known as copy-in,copy-out.
Question 7
True/False
In pass by name parameter passing,arguments are not evaluated until their actual use as parameters in the procedure.
Question 8
True/False
Pass by name can be described as an advanced inlining process for procedures.
Question 9
True/False
You call a procedure by stating its name,together with arguments to the call.
Question 10
True/False
Pass by value implies that changes cannot occur outside the procedure through the use of parameters.
Question 11
True/False
A procedure specification includes its name,the names and types of its formal parameters and its return type,if any.
Question 12
True/False
An activation record is a stored log recording each time a procedure or function is activated.
Question 13
True/False
When parameters are passed by value,the arguments are expressions that are evaluated at the time of the call,with the arguments' values becoming the values of the parameters during the execution of the procedure.