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 |
|---|---|---|---|---|---|---|
| CS304 |
----------------- Follow Try Block To Catch The Object Thrown
|
Catch Block
|
Throw Block
|
Main Block
|
Non Of The Given
|
A |
| CS304 |
------------- Members Are Somewhere Between Public And Private Members. They Are Used In Inheritance
|
Protected
|
Public
|
Private
|
Global
|
A |
| CS304 |
__________ And Methods May Not Be Declared Abstract
|
Private Static
|
Private Public
|
Static Public
|
None Of Given
|
A |
| CS304 |
__________ Is Automatically Called When The Object Is Created
|
Member Function
|
Object
|
Constructor
|
None Of The Given
|
C |
| CS304 |
__________ Is/Are Used To Access Information Hidden Within An Object?
|
Interface
|
Private Data Members
|
Private Member Functions
|
Both Public And Private Members
|
A |
| CS304 |
__________ Operator Will Take Only One Operand
|
New
|
Int
|
Object
|
None Of The Given
|
A |
| CS304 |
__________ Provide The Facility To Access The Data Member
|
Accesser Function
|
Private Function
|
Inline Function
|
None Of The Given
|
A |
| CS304 |
__________ Which Means If A Declares B As Its Friend It Does Not Mean That A Can
Access Private Data Of B. It Only Means That B Can Access All Data Of A
|
Friendship Is One Way Only
|
Friendship Is Two Way Only
|
No Friendship Between Classes
|
Any Kind Of Friendship
|
A |
| CS304 |
A C++ Class Is Similar To --------------------
|
Structure
|
Header File
|
Library File
|
None Of The Given
|
A |
| CS304 |
A C++ Class Is Similar To --------------------
|
Structure
|
Header File
|
Library File
|
None Of The Given
|
A |
| CS304 |
A Class Can Be Identified From A Statement By -------------
|
Noun
|
Pronoun
|
Verb
|
Adverb
|
A |
| CS304 |
A Class Template May Inherit From Another Class Template
|
True
|
False
|
Na
|
Na
|
A |
| CS304 |
A Copy Constructor Is Invoked When
|
A Function Do Not Returns By Value
|
An Argument Is Passed By Value
|
A Function Returns By Reference
|
An Argument Is Passed By Reference
|
C |
| CS304 |
A Function Call Is Resolved At Run-Time In__________
|
Non-Virtual Member Function
|
Virtual Member Function
|
Both Non-Virtual Member And Virtual Member Function
|
None Of Given
|
B |
| CS304 |
A Function Template Can Not Be Overloaded By Another Function Template
|
True
|
False
|
Na
|
Na
|
B |
| CS304 |
A Generalization-Specialization Relation Between Classes Are Implemented Using
|
Data Hiding
|
Friend Classes
|
Encapsulation
|
Inheritance
|
D |
| CS304 |
A Good Model Is ................ Related To A Real Life Problem
|
Loosely
|
Openly
|
Closely
|
None Of Given
|
C |
| CS304 |
A Member Function Having The Same Name As That Of A Class And A ~ Sign With It Is Called
|
Constructor
|
Getter
|
Setter
|
Destructor
|
D |
| CS304 |
A Non-Virtual Member Function Is Defined In A Base Class And Overridden In A Derived Class; If That Function Is Called Through A Base-Class Pointer To A Derived Class Object The Derived-Class Version Is Used
|
True
|
False
|
Na
|
Na
|
A |
| CS304 |
A Normal C++ Operator That Acts In Special Ways On Newly Defined Data Types Is Said To Be
|
Glorified
|
Encapsulated
|
Classified
|
Overloaded
|
C |