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 1 of 12

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