More Classes
5th Class
6th Class
7th Class
8th Class
9th Class
10th Class
11th Class
12th Class
NAT I
NAT II
CSS
IQ
General Knowledge
MDCAT
ECAT
GAT General
GAT Subject
Other Links
Go to Home
Online Tests
Computer Science Ics Part 2 Chapter 13 Online Test MCQs With Answers
Question # 1
Another name for build-in function is:
Choose an answer
User-defined function
Arithmetic function
Library function
Both a and b
Previous
Skip
Next
Question # 2
Local variables are also called:
Choose an answer
Automatic variables
Normal variables
Global variables
Basic variables
Previous
Skip
Next
Question # 3
Which of the following is true about a function call?
Choose an answer
Stops the execution of the program
Transfer control to the called function
Transfer control to the main function
Resumes the execution of the function
Previous
Skip
Next
Question # 4
Which statement is used by a function use to return a value?
Choose an answer
Give
Return
Continue
Send
Previous
Skip
Next
Question # 5
Th process of sending an argument to a function is called:
Choose an answer
Sending
Filtering
Delivering
Passing
Previous
Skip
Next
Question # 6
Which of the following steps takes place when function is called:
Choose an answer
The control moves to the function that is called
All statements in the function body are executed
The control returns back to the calling funciton
All of these
Previous
Skip
Next
Question # 7
A build-in function:
Choose an answer
Cannot be redefine
Can be redefined
Cannot return a value
Should be redefined
Previous
Skip
Next
Question # 8
Function define can be written:
Choose an answer
Before main() function
After main() function
in a separate file
All of these
Previous
Skip
Next
Question # 9
Which of the following is incorrect?
Choose an answer
A function can call another function
A function can be called many times in a program
A function can return values input by the user
A function must at least one variable parameter
Previous
Skip
Next
Question # 10
Global variable are created in:
Choose an answer
RAM
ROM
Hard Disk
Cache
Previous
Skip
Next
Question # 11
The function definition consists of:
Choose an answer
Function header or function declaration
Function body
Both a and b
None
Previous
Skip
Next
Back