Online Exam Preparation

MCQs Library

Browse subject-wise multiple choice questions, review answers quickly, and start a test from the same section.

Course Codes

Select a course to load its MCQs.

Selected: CS201 225 MCQs
CS101 533 CS201 225 CS301 232 CS302 174 CS304 192 CS401 224 CS402 258 CS403 228 CS408 113 CS411 121 CS502 249 CS504 268 CS601 679 CS604 381 CS605 261 CS607 184 CS609 230 CS610 300 CS614 100 CS703 65

Questions

Showing page 9 of 12

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