Welcome to PAKITWORLD!
I hope you will find PAKITWORLD forum useful...
Welcome to PAKITWORLD!
I hope you will find PAKITWORLD forum useful...
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
HomeSearchLatest imagesLog inRegister
Search
 
 

Display results as :
 
Rechercher Advanced Search
Freelancer.com
Visitors
Live Trafic
CS201 Quiz Introduction to Programming C++ [2] Pageviews=1

 

 CS201 Quiz Introduction to Programming C++ [2]

Go down 
AuthorMessage
Admin
Admin



Posts : 216
Join date : 2011-06-17
Location : Rawalpindi

CS201 Quiz Introduction to Programming C++ [2] Empty
PostSubject: CS201 Quiz Introduction to Programming C++ [2]   CS201 Quiz Introduction to Programming C++ [2] EmptySat Aug 06, 2011 5:53 pm

CS201 Quiz Introduction to Programming C++

Question No: 1 ( Marks: 1 ) - Please choose one
The return type of operator function must always be void.
► True
► False

Question No: 2 ( Marks: 1 ) - Please choose one
What does (*this) represents?
► The current function of the class
► The current pointer of the class
► The current object of the class
► A value of the data member

Question No: 3 ( Marks: 1 ) - Please choose one
The statement cin.get (); is used to,
► Read a string from keyboard
► Read a character from keyboard
► Read a string from file
► Read a character from file

Question No: 4 ( Marks: 1 ) - Please choose one
When we do dynamic memory allocation in the constructor of a class, then it is necessary to provide a destructor.
► True
► False

Question No: 5 ( Marks: 1 ) - Please choose one
Overloaded new operator function takes parameter of type size_t and returns
► void (nothing)
► void pointer
► object pointer
► int pointer

Question No: 6 ( Marks: 1 ) - Please choose one
What will be the correct syntax to assign an array named arr of 5 elements to a pointer ptr?
► *ptr = arr ;
► ptr = arr ;
► *ptr = arr[5] ;
► ptr = arr[5] ;


Question No: 7 ( Marks: 1 ) - Please choose one
C++ is a case-sensitive language
► True
► False

Question No: 9 ( Marks: 1 ) - Please choose one
To include code from the library in the program, such as iostream, a directive would be called up using this command.
► #include “iostream.h”
► include
► include
► #include


Question No: 10 ( Marks: 1 ) - Please choose one
A template function must have only generic data types.
► True
► False

[You must be registered and logged in to see this link.]
Back to top Go down
https://pakitworld.board-directory.net
 
CS201 Quiz Introduction to Programming C++ [2]
Back to top 
Page 1 of 1
 Similar topics
-
» CS201 Quiz Introduction to Programming C++ [9]
» CS201 Quiz Introduction to Programming C++ [10]
» CS201 Quiz Introduction to Programming C++ [11]
» CS201 Quiz Introduction to Programming C++ [7]
» CS201 Quiz Introduction to Programming C++ [6]

Permissions in this forum:You cannot reply to topics in this forum
 :: MCS/BCS/MIT/BIT/BSCS :: Computer Science :: CS201 Introduction to Programming C++-
Jump to: