1 |
A type of functions written by the programmer is known as: |
- A. User-defined
- B. Subprograms
- C. Subroutines
- D. Built-in function
|
2 |
Multiple arguments to a function are separated by: |
- A. Comments
- B. Semicolons
- C. Colons
- D. Commas
|
3 |
A variable declared inside a function is known as: |
- A. Local variable
- B. Global variable
- C. Automatic variable
- D. A and C
|
4 |
Which of the following steps takes place when function is called: |
- A. The control moves to the function that is called
- B. All statements in the function body are executed
- C. The control returns back to the calling funciton
- D. All of these
|
5 |
The name of actual and formal parameters: |
- A. May or may not be same
- B. Must be same
- C. Must be different
- D. Must be in lower case
|
6 |
A build-in function: |
- A. Cannot be redefine
- B. Can be redefined
- C. Cannot return a value
- D. Should be redefined
|
7 |
Which of the following is incorrect? |
- A. A function can call another function
- B. A function can be called many times in a program
- C. A function can return values input by the user
- D. A function must at least one variable parameter
|
8 |
Local variables are also called: |
- A. Automatic variables
- B. Normal variables
- C. Global variables
- D. Basic variables
|
9 |
The statement that activities a function is known as: |
- A. Function call
- B. Function output
- C. Function design
- D. Function definition
|
10 |
Th process of sending an argument to a function is called: |
- A. Sending
- B. Filtering
- C. Delivering
- D. Passing
|