NEW
Font size
WorksheetsChapter 9 Computing II
Total questions: 13
Worksheet time: 7mins
Which statement CORRECT for functions
consist 3 types
consist 2 types
consist 1 type
consist 4 types
Which is function below is user defined function?
sqrt()
abs()
sumofnumber()
isdigit()
Which statement is function definition?
A
B
C
D
Tells the compiler about the return type function, number of parameters used by functions and its data types. Which answer is CORRECT?
function main
function declaration
function definition
invoke/ call function
Which statement is CORRECT? int sum(int, int, int);
function definition which return type and pass parameter
function declaration which return type and pass parameter
function declaration does not return type but pass two parameter
function definition does not return type but pass two parameter
Which answer is CORRECT?
both function does not return type function
both function received same parameter
both function return type function and received different parameter
both function is void function
Which one is CORRECT result?
none
12
5
19
Which one is CORRECT result?
The first number is 5, The second number is 4. The first number is 5, The second number is 4
The first number is 4, The second number is 5. The first number is 4, The second number is 5
The first number is 4, The second number is 5. The first number is 5, The second number is 4
The first number is 5, The second number is 4. The first number is 4, The second number is 5
Which one is CORRECT result?
none
15
11
19
Which one is CORRECT result?
2,15
15,2
2,22
22,2
sqrt(), abs(), isdigit() are examples of ______ function in C++
standard library
User defined
cmath
calculus
why user uses Function in programming?
maximise the statement using function to do a same process and any function can call many times
minimise the statement using function to do a same process and any function can call many times
maximise the statement using function to do a same process and any function can call only one time
minimise the statement using function to do a same process and any function can call only one time
standard library function is also called as ______
C++ function
Buit-in Function
function definition
function declaration
