1 |
Which functions performs commonly used mathematical calculations, string operation, imput/output operations etc. |
- A. Built -in function
- B. Library functions
- C. Standard functions
- D. All of these
|
2 |
The advantages of using functions are. |
- A. Readability
- B. Reusability
- C. Easy debugging
- D. All
|
3 |
A ____ is a block of statements that gets some inputs and provides some output. |
- A. Function
- B. Program
- C. Reader
- D. Printer
|
4 |
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
|
5 |
Output of the function is called its. |
- A. Return values
- B. Input
- C. Output
- D. Reader
|
6 |
Which is approach of good problem solver. |
- A. Divide
- B. Divide and conquer
- C. Simple problem
- D. Complex problem
|
7 |
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
|
8 |
Which is a block of statements that performs a particular task. |
- A. Function
- B. Program
- C. Routine
- D. Block
|
9 |
Which is wrong return statement. |
- A. Return x
- B. Return (x,y)
- C. Retrun (4,5)
- D. Both b and c
|
10 |
The __ of the function is the data type of the value returned by function. |
- A. Return type
- B. Input
- C. Output
- D. Value
|