Object Oriented Programming Concept Using C++ Test 2 Online MCQs
Home / Tests / Object Oriented Programming Concept Using C++ Test 2 Online MCQs

Object Oriented Programming Concept Using C++ Test 2 Online MCQs

Test Name Object Oriented Programming Concept Using C++ Test 2
Subject Computer
Test Type MCQs
Total Question 15
Total Marks 30
Total Time 15 Mints
Test Help For
  • Basic Knowledge about IT
  • IT General Knowledge Quiz
  • Computer History
  • IT & Computer Tests
  • General Ability
  • Competitive Exams.

Object Oriented Programming Concept Using C++ Test 2 Online MCQs

Computer

1. mark reviewMethods provide the interface between the object’s data & the program

Question 1 of 15

2. mark reviewWhat is the final value of x when the code int x; for (x=0; x<10; x++) {} is run?

Question 2 of 15

3. mark reviewAll of the following are valid expressions in C++
a = 2 + (b = 5);
a = b = c = 5
a = 11 % 3

Question 3 of 15

4. mark reviewIn an assignment statement
a=b;
Which of the following statement is true?

Question 4 of 15

5. mark reviewThe property or the ability to take more than one form is called as Polymorphism

Question 5 of 15

6. mark reviewThe insulation of data from direct access by the program is called as data hiding

Question 6 of 15

7. mark reviewTo increase the value of c by one which of the following statement is wrong?

Question 7 of 15

8. mark reviewThe concept of inheritance provides the idea of reusability

Question 8 of 15

9. mark reviewThe derived class is known as subclass

Question 9 of 15

10. mark reviewThe process in which the code to be link with the procedure call is not known till execution time it is called as Dynamic binding

Question 10 of 15

11. mark reviewClass variables are global to the class

Question 11 of 15

12. mark reviewThe wrapping up of data & methods into a single unit is called as Encapsulation

Question 12 of 15

13. mark reviewWhen following piece of code is executed what happens?
b = 3;
a = b++;

Question 13 of 15

14. mark reviewHow many times is a do while loop guaranteed to loop?

Question 14 of 15

15. mark reviewThe process of linking of a procedure call with the code to be executed is called as binding

Question 15 of 15


 

Test By Subject
Test By Topics
Have any Problem or Error please mention in below comments section.

Leave a Reply

Your email address will not be published. Required fields are marked *