Which of these remarks about formal parameters is correct?

a) A formal parameter is a kind of place holder that is filled with the argument at the
time of call to the function.
b) A call-by-value formal parameter is a global variable that is initialized to the
value set just before the function is called.
c) A call-by-reference formal parameter is modeled on a substitution mechanism.
The argument should be an expression, not a variable, since there is never a need
to assign such a variable.
d) The & (ampersand) character is used to indicate call-by-reference. This is done by
placing the & after the type name which is followed by the parameter name in the
definition of the parameter in the function header.
e) The argument corresponding to a call-by-value parameter cannot be changed by
anything that happens in the function call.


a) A formal parameter is a kind of place holder that is filled with the argument at the time of call to the function.
d) The & (ampersand) character is used to indicate call-by-reference. This is done by placing the & after the type name which is followed by the parameter name in the definition of the parameter in the function header.
e) The argument corresponding to a call-by-value parameter cannot be changed by anything that happens in the function call.

Computer Science & Information Technology

You might also like to view...

Big – Oh notation establishes a(n) ____________ on a growth function

a) lower bound b) upper bound c) average (or mean) bound d) both a) and b) e) all of a), b), and c)

Computer Science & Information Technology

When an entire message is encrypted for confidentiality using either symmetric or asymmetric encryption the security of the scheme generally depends on the __________ of the key.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

A multimedia virtual museum system offering virtual experiences of ancient Greece is to be developed for a consortium of European museums. The system should provide users with the facility to view 3-D models of ancient Greece through a standard web browser and should also support an immersive virtual reality experience. Develop a conceptual design for such a system, highlighting its key characteristics and essential high-level requirements.

What will be an ideal response?

Computer Science & Information Technology

It's important to work with your clients to determine a strategy for revealing your design to those who were not involved in its creation

Indicate whether the statement is true or false

Computer Science & Information Technology