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




31.Which of the following will store the number 320000 as a Float number?
A. counPop = (float) 3.2e5;
B. counPop = (float) 3.2e6;
C. counPop = (float) .32e5;
D. counPop = (float) .32e7;

32.The arguments that determine the state of the cout object are called
A. classes
B. manipulators
C. format flags or state flags
D. state controllers

33.If a class will serve as a base class, most often the base class data members are
A. private
B. protected
C. public
D. polymorphic

34.You can use the C++ _____ function to assign a value to a String variable
A. assign
B. copy
C. string
D. strcpy

35.A measure of the strength of the connection between two functions is
A. cohesion
B. coupling
C. dependence
D. subjection

«»



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