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 |
"New" And "Delete" Keywords Are __________ In C++ Language.
|
Built-In- Function
|
Operators
|
Memory Allocation Function
|
None Of The Given Options
|
C |
| CS201 |
__________ Statement Interrupts The Flow Of Control.
|
Switch
|
Continue
|
Goto
|
Break
|
D |
| CS201 |
__________.
|
Paying Attention To Detail
|
Think About The Reusability
|
Think About User Interface
|
All Of The Given Options
|
D |
| CS201 |
___________ Keyword Is Used To Return Some Value From A Function.
|
Break
|
Return
|
Continue
|
Goto
|
B |
| CS201 |
___________Are Conventional Names Of The Command Line Parameters Of The ‘Main()’ Function.
|
‘Argb’ And ‘Argv’
|
‘Argc’ And ‘Argv’
|
Argc’ And ‘Argu’
|
None Of The Given
|
B |
| CS201 |
< <= > >= Are Called __________ Operators.
|
Arithmetic
|
Logical
|
Relational
|
Conational
|
B |
| CS201 |
A Class Can Contain Instances Of Other Classes As Its Data Members.
|
True
|
False
|
A | ||
| CS201 |
A Copy Constructor
|
Takes No Arguments
|
Copies The Data Of Any Two Constructors In That Class
|
Creates An Object Initialized With The Same Data As An Existing Object
|
Creates A New Object That Later May Be Assigned The Data Of An Existing Object
|
C |
| CS201 |
A Copy Constructor
|
Creates An Object Initialized With The Same Data As An Existing Object
|
Creates A New Object That Later May Be Assigned The Data Of An Existing Object
|
Creates A New Object That Later May Be Assigned The Data Of An Existing Object
|
Takes An Arbitrary Number Of Arguments
|
B |
| CS201 |
A Copy Constructor Is Always Called When
|
An Object Is Initialized With Another Object Data Of The Same Class When It’S Created
|
An Object Is Initialized With Another Object Of Any Class When It’S Created
|
An Object Is Initialized With A Variable Of A Basic Type When It’S Created
|
An Object Is Not Initialized When It’S Created
|
A |
| CS201 |
A For Loop Usually Consist Of __________ Expressions.
|
1
|
2
|
3
|
4
|
C |
| CS201 |
A Friend Function
|
Must Be Having A Prototype With No Arguments
|
Can Access The Private Data Of The Class That Declares It A Friend
|
Cannot Access The Data Members Of A Class
|
Must Be Invoked By The Class That Declares It A Friend
|
B |
| CS201 |
A Friend Function Of A Class Has Access
|
To All Data Member And Functions Of The Class
|
Only To Other Friend Functions Of The Class
|
Only To Private Data Of The Class
|
Only To Public Data Of The Class
|
A |
| CS201 |
A Function Declaration Has The Same Relationship To A Function Definition That
|
A Class Definition Has To An Object Definition
|
An Object Declaration Has To An Object
|
A Variable Has To A Variable Declaration
|
A Variable Declaration Has To The Variable Itself
|
A |
| CS201 |
A Function That Calls Itself Is Known As
|
Iterative Function
|
Inline Function
|
Recursive Function
|
Main ()
|
C |
| CS201 |
A Pointer Variable Can Be
|
Decremented Only
|
Incremented Only
|
Multiplied Only
|
Both 1 And 2
|
D |
| CS201 |
A Preprocessor Directive Is Identified By ___________ Symbol
|
#
|
{
|
(
|
~
|
A |
| CS201 |
A Stream Is An Ordered Sequence Of Bytes.
|
True
|
False
|
A | ||
| CS201 |
A Template Function Must Have At Least ---------- Generic Data Type
|
0
|
1
|
2
|
3
|
B |
| CS201 |
A Variable Which Is Defined Inside A Function Is Called
|
Automatic Variable
|
Global Variable
|
Functional Variable
|
None Of The Given Option
|
C |