Online Exam Preparation
MCQs Library
Browse subject-wise multiple choice questions, review answers quickly, and start a test from the same section.
Questions
| Code | Question | Option A | Option B | Option C | Option D | Answer |
|---|---|---|---|---|---|---|
| CS201 |
There Are Two Types Of Operators To Overload: Unary And Binary.
|
True
|
False
|
A | ||
| CS201 |
There Is A Class Student Which One Of The Following Is A Valid Destructor For This Class.
|
Student();
|
Student(Int);
|
~ Student();
|
~ Student(Int);
|
C |
| CS201 |
There Is A Pointer Variable Named Ptr Of Type Int Then Address Of Which Type Of Variable The Ptr Will Store In It?
|
Variable Of Type Char
|
Variable Of Type Short
|
Variable Of Type Int
|
Variable Of Type Double
|
C |
| CS201 |
This Is A Pointer Which Always Points To The Current Object.
|
True
|
False
|
A | ||
| CS201 |
To Access The 8Th Element Of An Int Array Named Myarray Of 15 Elements You Would Write
|
Int[8]
|
Int[7]
|
Myarray[7]
|
Myarray[8]
|
C |
| CS201 |
To Perform Manipulation With Input/Output We Have To Include Header File.
|
Iostream.H
|
Stdlib.H
|
Iomanip.H
|
Fstream.H
|
A |
| CS201 |
Transpose Of A Matrix Means That When We Interchange Rows And Columns__________
|
The First Row Becomes The Last Column
|
The First Row Becomes The First Column
|
The Last Row Becomes The First Column
|
The First Column Becomes The First Row
|
B |
| CS201 |
User-Defined Manipulators Are Allowed In C++.
|
True
|
False
|
A | ||
| CS201 |
Using Dynamic Memory Is More __________ Then The Static Memory.
|
Costly
|
Expansive
|
Efficient
|
Difficult
|
C |
| CS201 |
Using Dynamic Memory Is More Efficient Then The Static Memory.
|
True
|
False
|
A | ||
| CS201 |
We Can Also Create An Array Of User Define Data Type.
|
True
|
False
|
A | ||
| CS201 |
We Can Also Define A User-Defines Manipulators.
|
True
|
False
|
A | ||
| CS201 |
We Can Also Do Conditional Compilation With Preprocessor Directives.
|
True
|
False
|
A | ||
| CS201 |
We Can Also Use Member Functions With Cin And Cout Objects
|
True
|
False
|
B | ||
| CS201 |
We Can Change A Unary Operator To Binary Operator Through Operator Overloading.
|
True
|
False
|
B | ||
| CS201 |
We Can Create A New Operator Through Operator Overloading.
|
True
|
False
|
B | ||
| CS201 |
We Can Delete An Array Of Objects Without Specifying [] Brackets If A Class Is Not Doing Dynamic Memory Allocation Internally.
|
True
|
False
|
A | ||
| CS201 |
We Can Delete An Array Of Objects Without Specifying [] Brackets If A Class Is Not Doing Dynamic Memory Allocation Internally.
|
True
|
False
|
B | ||
| CS201 |
We Cannot Do Arithmetic With References Like Pointers.
|
True
|
False
|
A | ||
| CS201 |
What Does Stl Stand For?
|
Source Template Library
|
Standard Template Library
|
Stream Template Library
|
Standard Temporary Library
|
B |