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: CS304 192 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 7 of 10

Code Question Option A Option B Option C Option D Answer
CS304
The Copy() Algorithm Returns An Iterator To
The Last Element Copied From
The Last Element Copied To
The Element One Past The Last Element Copied From
The Element One Past The Last Element Copied To
D
CS304
The Dot Operator (Or Class Member Access Operator) Connects The Following Two Entities (Reading From Left To Right):
A Class Member And A Class Object
A Class Object And A Class
A Class And A Member Of That Class
A Class Object And A Member Of That Class
C
CS304
The Find() Algorithm
Finds Matching Sequences Of Elements In Two Containers
Finds A Container That Matches A Specified Container
Takes Iterators As Its First Two Arguments
Takes Container Elements As Its First Two Arguments
B
CS304
The Keyword That Is Used That The Variable Can Not Change State?
Static
Const
Friend
Private
B
CS304
The Life Of Sub Object Is Dependant On The Life Of Master Class In __________
Separation
Composition
Aggregation
None Of The Given
B
CS304
The Main Function Of Scope Resolution Operator (::) Is
To Define An Object
To Define A Data Member
To Link The Definition Of An Identifier To Its Declaration
All Of The Given
B
CS304
The Main Function Of Scope Resolution Operator (::) Is
To Define An Object
O Define A Data Member
To Link The Definition Of An Identifier To Its Declaration
To Make A Class Private
A
CS304
The Mechanism Of Selecting Function At Run Time According To The Nature Of Calling Object Is Called
Late Binding
Static Binding
Virtual Binding
None Of The Given Options
D
CS304
The Members Of A Class That Can Be Accessed Without Creating The Object Of The Class Is Called
Private Member
Data Member
Public Member
Static
D
CS304
The Return Type Of A Constructor Is Of -------------
Integer
Chracter
Double
No Type
D
CS304
The Sentence -Object Oriented Programming Book In Bookshelf? Is An Example Of
Association
Multiple Association
Aggregation
None Of The Given
C
CS304
The Specialization Pattern <T*> After The Name Says That This Specialization Is To Be Used For Every
Data Type
Meta Type
Virtual Type
Pointer Type
D
CS304
The Statement Obja=Objb; Will Cause A Compiler Error If The Objects Are Of Different Classes
True
False
Na
Na
A
CS304
The Sub-Object‘S Life Is Not Dependent On The Life Of Master Class In __________
Composition
Aggregation
Separation
Non Of The Given
B
CS304
The Sub-Object’S Life Is Not Dependent On The Life Of Master Class In __________
Composition
Aggregation
Separation
Non Of The Given
B
CS304
The Technique In Which We Visualize Our Programming Problems According To Real Life‘S Problems Is Called ----------------
Structured Programming
Object Oriented Programming
Procedural Programming
Non Of The Given
B
CS304
The Type That Is Used To Declare A Reference Or Pointer Is Called Its ---------
Default Type
Static Type
Abstract Type
Reference Type
D
CS304
The User Must Define The Operation Of The Copy Constructor
True
False
Na
Na
A
CS304
This Pointer Does Not Pass Implicitly To __________ Functions
Static Member
Non-Static Member
Instance Number
None Of The Given
A
CS304
This Pointer Does Not Point To Current Object Of Any Class
True
False
Na
Na
B