Chapter 11: Functions and Methods

1.	A function with many definitions is called _____
a)	Floating function
b)	Multiple function
c)	Function overloading
d)	None of the above

2.	If a function does not return any value its return type is void.
a)	True
b)	False

3.	A function in the main function can be invoked through the _____ object
a)	System
b)	Class
c)	Parameter
d)	None

4.	A function indicating the function name, return type along with function arguments is known as 
a)	True 
b)	False

5.	A nested function is:
a)	A function within a function
b)	A function within a class 
c)	A function within curly brackets
d)	None of these

6.	A function body is enclosed within which bracket?
a)	[ ]
b)	( )
c)	{ }
d)	Under a rectangular box

7.	A function within another function is known as ______
a)	Inline function
b)	Recursive function
c)	Built-in function
d)	Nested function

8.	A function can return only primitive value to its caller program.
a)	True
b)	False

9.	Parameters used in the function call statement are known as?
a)	Actual parameters
b)	Passed parameters
c)	Defined parameters
d)	Formal parameters

10.	The process of calling a function in such a way that the change in the formal arguments reflects on the actual parameter is known as?
a)	Call by value
b)	Call by reference
c)	Call by method
d)	None of the above

11.	Local variable also exists outside the function.
a)	True
b)	False

12.	Parameters used in the function definition are called:
a)	Formal parameter
b)	Actual parameter
c)	Forward parameter
d)	None of the above

13.	Overloading of methods even depends on return type
a)	True
b)	False

14.	Can a function be defined without parameters?
a)	Yes
b)	No

15.	Each function must be associated with:
a)	Promote
b)	Call
c)	Return
d)	None