Answer the following statements true (T) or false (F)

1. The argument-passing mechanism for a function's input arguments is known as call-by-value.
2. The argument-passing mechanism for a function's output arguments is known as call-by-reference.
3. The ampersand symbol indicates that the call-by-reference mechanism is to be used.
4. Using the call-by-reference mechanism, the address of the formal argument is passed to the called function
5. For arguments used only as input, the value of the actual argument is copied to the called function's memory space.

1. (True)
2. (True)
3. (True)
4. (False)
5. (True)

Computer Science & Information Technology

You might also like to view...

Answer the following statements true (T) or false (F)

1. Indentation is used in pseudocode to improve readability. 2. A nested IFTHENELSE pattern cannot contain a null ELSE. 3. The decision point in an IFTHENELSE statement is called an unconditional branch. 4. Pseudocode may be a more suitable tool than flow charting when working on complex problems. 5. In a nested IFTHENELSE pattern, it is probable that many of the tests will be skipped.

Computer Science & Information Technology

Which of the following is not recommended to protect against hardware failure?

A. surge protector B. UPS C. cables and locks D. duplicate components

Computer Science & Information Technology