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
Which of the following is type of function available in C language?
Choose an answer
User-defined
Build-in
Subprogram
Both a and b
Previous
Skip
Next
Question # 2
The first line of function definition is known as:
Choose an answer
Function header
Function body
Arguments
Return type
Previous
Skip
Next
Question # 3
Local variables are also called:
Choose an answer
Automatic variables
Normal variables
Global variables
Basic variables
Previous
Skip
Next
Question # 4
The function definition consists of:
Choose an answer
Function header or function declaration
Function body
Both a and b
None
Previous
Skip
Next
Question # 5
Memory is allocated to a local variable at the time of the :
Choose an answer
Declaration
Destruction
Definition
First reference
Previous
Skip
Next
Question # 6
A value that can be sent to a function is known as:
Choose an answer
Return value
Indicator
Argument
Automatic variable
Previous
Skip
Next
Question # 7
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 # 8
Which of the following is true for return statement in a function?
Choose an answer
It can return one value only
It can return integer value
It cannot return any value
It cannot be used in a function
Previous
Skip
Next
Question # 9
A build-in function:
Choose an answer
Cannot be redefine
Can be redefined
Cannot return a value
Should be redefined
Previous
Skip
Next
Question # 10
The name of actual and formal parameters:
Choose an answer
May or may not be same
Must be same
Must be different
Must be in lower case
Previous
Skip
Next
Question # 11
Global variable are created in:
Choose an answer
RAM
ROM
Hard Disk
Cache
Previous
Skip
Next
Back