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
What is the variable name that is used by a function to receive passed values?
Choose an answer
Funciton
Parameter
Expression
Constant
Previous
Skip
Next
Question # 2
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 # 3
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 # 4
Memory is allocated to a local variable at the time of the :
Choose an answer
Declaration
Destruction
Definition
First reference
Previous
Skip
Next
Question # 5
Which of the following is NOT a valid function declaration?
Choose an answer
int ave3(int a, int b, int c)
int 3ave(int a, int b, int c)
int ave3(int, int, int)
int ave_3(int a1, int b2, int c3)
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
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
Global variable are created in:
Choose an answer
RAM
ROM
Hard Disk
Cache
Previous
Skip
Next
Question # 9
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 # 10
A type of functions written by the programmer is known as:
Choose an answer
User-defined
Subprograms
Subroutines
Built-in function
Previous
Skip
Next
Back