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
CS-201 Final Term Exams Preparation Virtual University MCQs With Answers
Question # 1
What will be the value of ‘a’ and ‘b’ after executing the following statements?A = 3; b = a++;
Choose an answer
3, 4
4, 4
3, 3
4, 3
Previous
Skip
Next
Question # 2
Which one of the following is the declaration of overloaded pre-increment operator implemented as member function?
Choose an answer
Class-name operator +()
Class-name operator +(int)
Class-name operator ++() ;
Class-name operator ++(int) ;
Previous
Skip
Next
Question # 3
Structured Query Language is used for ______________
Choose an answer
Databases Management
Networks
Writing Operating System
none of the given options
Previous
Skip
Next
Question # 4
*.doc is _____________ by type.
Choose an answer
Sequential File
Random Access File
Data File
Record File
Previous
Skip
Next
Question # 5
The normal source of cin object is
Choose an answer
File
Disk
Keyboard
RAM
Previous
Skip
Next
Question # 6
The function free() returns back the allocated memory got thorough calloc andmalloc to _____.
Choose an answer
stack
heap
stack and heap
None of the given options
Previous
Skip
Next
Question # 7
New and Delete are also used with ___________ and data types as well.
Choose an answer
Class, Objects
Structures, Pointers
Both Class and structures
None of above
Previous
Skip
Next
Question # 8
All preprocessor directives are started with the symbol______.
Choose an answer
*
+
@
#
Previous
Skip
Next
Question # 9
Array is a data structure which store
Choose an answer
Memory addresses
Variables
Data Type
Data
Previous
Skip
Next
Question # 10
C is widely known as development language of _______ operating system.
Choose an answer
Linux
Windows
Unix
Mac OS
Previous
Skip
Next
Question # 11
The operator used for casting, in C, is standard ________ operator.
Choose an answer
none of the given options
cast
cost
const
Previous
Skip
Next
Back