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
Local variables are also called:
Choose an answer
Automatic variables
Normal variables
Global variables
Basic variables
Previous
Skip
Next
Question # 2
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 # 3
A type of function that is available as part of language is known as:
Choose an answer
User-defined function
Library function
Sun-program
Both a and b
Previous
Skip
Next
Question # 4
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 # 5
Multiple arguments to a function are separated by:
Choose an answer
Comments
Semicolons
Colons
Commas
Previous
Skip
Next
Question # 6
The statement that activities a function is known as:
Choose an answer
Function call
Function output
Function design
Function definition
Previous
Skip
Next
Question # 7
In a C program, two function can have:
Choose an answer
Same name
Same parameters
Same name & Same parameters
Same name but different parameters
Previous
Skip
Next
Question # 8
The function definition consists of:
Choose an answer
Function header or function declaration
Function body
Both a and b
None
Previous
Skip
Next
Question # 9
Function declaration consists of:
Choose an answer
Function name
Function return type
Number and types of parameters
All of these
Previous
Skip
Next
Question # 10
A variable declaration outside any function is known as:
Choose an answer
Global variable
Local variable
External variable
Static variable
Previous
Skip
Next
Question # 11
The first line of function definition is known as:
Choose an answer
Function header
Function body
Arguments
Return type
Previous
Skip
Next
Question # 12
The printf is a :
Choose an answer
Build-in function
User-defined function
Local function
Keyword
Previous
Skip
Next
Question # 13
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 # 14
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
Back