c++ multiple choice questions with answers :Abstraction, Encapsulation, Polymorphism Link-1

c++ multiple choice questions with answers :Abstraction, Encapsulation, Polymorphism :Link-1

C++ Programming MCQ & Answers

       Are you worried about the answers to C++ Programming questions :Abstraction, Encapsulation, Polymorphism? We have arranged the Show Answer button under the each question. Candidates can click on it to know the right option among the given alternatives. Furthermore, the applicants can check our web portal @ www.totalmcq.com to take part in more MCQ on various subject. Wish, the given information about the C++ Programming MCQ will helpful to the advance and can learn the various types of questions and answers.


Q.1. C++ was originally developed by-------

A. Clocksin and Mellish                                                     B. Donald E. Knuth
C. Sir Richard Hadlee                                                        D. Bjame Stroustrup

Q.2. What is cfront?

A. is a tool that translates a C++ code to its equivalent C code
B. is the pre-processor of a C compiler
C. is the front end of a C compiler
D. none of the above

Q.3. C++ encourages structuring.a software as a collection of components that are--------

A.not highly cohesive but loosely coupled
B. highly cohesive and tightly coupled
C. highly cohesive and loosely coupled
D. not highly cohesive but tightly coupled

Q.4. The process of combining data and functions that enables them to be together as a single entity is called------

A. inheritance                                                                 B. classification
C. attributes code                                                          D. encapsulation

Q.5. Which of the following is not an object oriented programming language?

A. C++                                                                                B. BASIC
C. php                                                                                D. Java

Q.6. The OOPs concept in C++, exposing only necessary information to users is known as------

A. Encapsulation                                                             B. Abstraction
C. Data hiding                                                                  D. Hiding complexity

Q.7. The best description of polymorphism is----------

A. It is the ability for undefined message/data to be processed in at least one way
B. It is the ability for a message/data to be processed in more than one form
C. It is the ability for many messages/data to be processed in many ways
D. none of these

Q.8. The feature that its specification is if same message is passed to objects of several different classes and all of those can respond in a different way then it is called------------

A. Inheritance                                                                                 B. Classes
C. Polymorphism                                                                            D. none of these

Q.9. The languages that not support polymorphism but classes is called-------

A. child Class-based language                               B. Object-based language
C. Class-based language                                        D. Procedure Oriented language

Q.10. Which one is the language that does not support polymorphism but support classes?

A. C#                                                                               B. C++
C. Ada                                                                              D. Java

Q.11. "Polymorphism is also possible in C language", State true or false.

A. True                                                                              B. False

Q.12. In procedural programming, the stress is place on:

A. class                                                                      B. function
C. data                                                                       D. object

Q.13. Hiding the complexity is known as-----

A. Abstraction                                                                                     B. Encapsulation
C. Data hiding                                                                                     D. Composition

Q.14. Using operation or function in different ways depending on what they are operating on is called-------

A. classes                                                                                  B. polymorphism
C. inheritence                                                                          D. dimorphism

Q.15. Which of the following principle does not allow to access directly from outside the class premises?

A. data hiding                                                                          B. encapsulation
C. abstraction                                                                         D. all of the above