Object Oriented Programming Using C++ - Section 5 Multiple Questions and Answers.




1.The get() function returns _____
A. a character
B. void
C. a reference to the object that invoked it
D. a copy of the object that invoked it

2.The most efficient data type for a variable that the number 20000 is the _____ data type
A. Character
B. Double
C. Float
D. Short Integer

3.The number 5.5e3 is a _____ constant
A. character literal
B. named literal
C. numeric literal
D. string literal

4.The compiler determines the type used in a template function via ___?
A. the name of the function
B. the first variable declared within the function
C. the type of the argument passed to the function
D. the type of the value returned from the function

5.Simple routines that programmers use as place holders while a system is being tested are called __?
A. stubs
B. stumps
C. holders
D. templates

»



Date to Date Current Affairs 2022

PakMCQs.net

Quick Links

GAT Subject



   Computer Science    English Mcqs    Agriculture    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC Papers