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




1.To execute a C++ program, you first need to translate the source code into object code. This process is called
A. coding
B. compiling
C. sourcing
D. translating

2.The rules of a programming language are called its _____
A. code
B. guidelines
C. procedures
D. regulations

3.An array element is accessed using
A. a first-in-first-out approach
B. the dot operator
C. a member name
D. an index number

4.The program can access the private members of a class
A. directly
B. only through other private members of the class
C. only through other public members of the class
D. None of the above - the program cannot access the private members of a class in any way

5.To hide a data member from the program, you must declare the data member in the _____ section of the class
A. concealed
B. confidential
C. hidden
D. private

»



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