1 |
If there are three return statements in the function body, ..... of them will be executed. |
- A. One
- B. Two
- C. Three
- D. First and last
|
2 |
Char cd () { return 'a} , in this function " char" is............ |
- A. Bodies
- B. Return type
- C. Array
- D. Arguments
|
3 |
Which are variables of different data types that are used to receive the values passed t the function as input. |
- A. Value
- B. Input
- C. Price
- D. Parameter
|
4 |
A function can have multiple parameters, bu tit cannot return more that ..... values. |
- A. One
- B. Two
- C. Three
- D. Four
|
5 |
The advantages of using functions are. |
- A. Readability
- B. Reusability
- C. Easy debugging
- D. All
|
6 |
Which of the following are advantages of using functions. |
- A. Reusability of code
- B. Separation of tasks
- C. Readability of code
- D. All of these
|
7 |
Dividing the program into multiple functions improves the ....... of the program. |
- A. Readability
- B. Open
- C. Read
- D. Write
|
8 |
If the definition of called function appears before the definition of calling functiion, then ...... is not required. |
- A. Function signature
- B. Call
- C. Read
- D. Function
|
9 |
The ____ of the function shold be related to its task. |
- A. Name
- B. Setup
- C. Routine
- D. Work
|
10 |
__________ means to transfer the control to another function. |
- A. Calling
- B. Defining
- C. re-writing
- D. Including
|