CS201
|
When An Array Is Passed To A Function Then Default Way Of Passing This Array Is
|
By Data
|
By Reference
|
By Value
|
By Data Type
|
B
|
CS201
|
What Is The Functionality Of The Following Syntax To Delete An Array Of 5 Objects Named Arr Allocated Using New Operator? Delete Arr ;
|
Deletes All The Objects Of Array
|
Deletes One Object Of Array
|
Do Not Delete Any Object
|
Results Into Syntax Error
|
C
|
CS201
|
Look At The Statement Given Below Int & A; And Tell What Will Happen ?
|
Compiler Will Compile Successfully
|
Compiler Will Show A Warning To You
|
Null Value Will Be Assigned To A
|
Compiler Will Generate An Error: ‘A Declared As Reference But Not Initialized
|
D
|
CS201
|
In While Loop The Loop Counter Must Be Initialized
|
With In The Loop
|
Before Entering The Loop
|
At The End Of The Loop
|
None Of The Given Options
|
B
|
CS201
|
A Variable Which Is Defined Inside A Function Is Called
|
Automatic Variable
|
Global Variable
|
Functional Variable
|
None Of The Given Option
|
C
|
CS201
|
The Destructor Is Used To __________.
|
Allocate Memory
|
Allocate Memory
|
Create Objects
|
Allocate Static Memory
|
B
|
CS201
|
The First Parameter Of Overloaded Stream Insertion Operator Is ___________ Where Second Parameter Is
|
Input Stream Object Of Class
|
Object Of Class Output Stream
|
Output Stream Object Of Class
|
Object Of Class Input Stream
|
C
|
CS201
|
Array Is A Data Structure Which Store
|
Memory Addresses
|
Variables
|
Data Type
|
Data
|
A
|
CS201
|
A Class Can Contain Instances Of Other Classes As Its Data Members.
|
True
|
False
|
|
|
A
|
CS201
|
The Default Value Of A Parameter Can Be Provided Inside The ____________________
|
Function Prototype
|
Function Definition
|
Both Function Prototype Or Function Definition
|
None Of The Given Options.
|
B
|
CS201
|
We Can Also Use Member Functions With Cin And Cout Objects
|
True
|
False
|
|
|
B
|
CS201
|
Which Of The Following Data Type Will Be Assumed If No Data Type Is Specified With Constant?
|
Short
|
Float
|
Int
|
Double
|
C
|
CS201
|
By Overloading The Array Operator ( [] ) One Can Implement Mechanism To Check For Array Bound.
|
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
|
|
|
A
|
CS201
|
For Operator >> The Second Parameter Must Also Be Passed By Reference.
|
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
|
When We Define An Array Of Objects Then
|
Destructor Will Call Once For Whole Array
|
Destructor Will Call For Each Object Of The Array
|
Destructor Will Never Call
|
Depends On The Size Of Array
|
B
|
CS201
|
When We Use Manipulators In Our Program Then Which Header File Should Be Included?
|
Iostream.H
|
Stdlib.H
|
Stdio.H
|
Iomanip.H
|
D
|
CS201
|
Structured Query Language Is Used For __________
|
Databases Management
|
Networks
|
Writing Operating System
|
None Of The Given Options
|
A
|
CS201
|
Which Of The Following Option Will Be True To Overload The -= Operator?
|
Minus (-) And = Operators Need To Be Overloaded
|
The -= Operator Need To Be Overloaded Explicitly
|
The - And = Operators Need To Be Overloaded Implicitly
|
Non Of Given
|
C
|