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++ [11] Pageviews=1

 

 CS201 Quiz Introduction to Programming C++ [11]

Go down 
AuthorMessage
Admin
Admin



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

CS201 Quiz Introduction to Programming C++ [11] Empty
PostSubject: CS201 Quiz Introduction to Programming C++ [11]   CS201 Quiz Introduction to Programming C++ [11] EmptySat Aug 06, 2011 6:44 pm

CS201 Quiz Introduction to Programming C++ [11]

Question # 1
We cannot do arithmetic with references like pointers.
1) : True
2) : FALSE
3) :
4) :


Question # 2
In functions that return reference, use global or static variables.
1) : True
2) : FALSE
3) :
4) :


Question # 3
In functions that return reference, use only static variables.
1) : True
2) : FALSE
3) :
4) :


Question # 4
The reference data types are used as ordinary variables without any dereference operator.
1) : True
2) : FALSE
3) :
4) :


Question # 5
Which of the following operators can not be overloaded?
1) : new
2) : delete
3) : +=
4) : sizeof


Question # 6
The declarator of Plus (+) member operator function is
1) : Class-Name operator + (Class-Name rhs)
2) : operator Class-Name + ( )
3) : operator Class-Name + ( rhs)
4) : Class-Name operator + ( )


Question # 7
We can create a new operator through operator overloading.
1) : TRUE
2) : FALSE
3) :
4) :


Question # 8
In overloading the assignment (=) operator, which object will call the operator function?
1) : Right object of the assignment operator
2) : Left object of the assignment operator
3) : Both objects will call the assignment operator
4) : No object will call the assignment operator


Question # 9
Which statement about operator overloading is false?
1) : New operators can never be created
2) : Certain overloaded operators can change the number of arguments they take.
3) : The precedence of an operator cannot be changed by overloading.
4) : Overloading cannot change how an operator works on built-in types.


Question # 10
Initializing the data members in the definition of the class is ___________
1) : syntax error
2) : logical error
3) : not an error
4) : none of the given options
[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++ [11]
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++ [7]
» CS201 Quiz Introduction to Programming C++ [6]
» CS201 Quiz Introduction to Programming C++ [5]

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: