| Snaprecruit.com

| Snaprecruit.com

Interview question based on skill :

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. Wrapping data and its related functionality into a single entity is known as _____________

Correct Answer is :

2. How structures and classes in C++ differ?

Correct Answer is :

3. What does polymorphism in OOPs mean?

Correct Answer is : fstream.h

4. Which concept allows you to reuse the written code?

Correct Answer is : 4

5. Which of the following explains Polymorphism?

Correct Answer is : Used for fast retrieval & organising the elements

6. Which of the following shows multiple inheritances?

Correct Answer is : Highest value

7. How access specifiers in Class helps in Abstraction?

Correct Answer is : Both comp &<

8. C++ is ______________

Correct Answer is : 5 10 15 20 99

9. What does modularity mean?

Correct Answer is : 33

10. Which of the following class allows to declare only one object of it?

Correct Answer is : 10

11. Which of the following is not a type of Constructor?

Correct Answer is : 5 6 7 9 8

12. Which of the following is correct?

Correct Answer is : All of the mentioned

13. Out of the following, which is not a member of the class?

Correct Answer is : priority_queue

14. What is the other name used for functions inside a class?

Correct Answer is : 2

15. Which of the following cannot be a friend?

Correct Answer is : both increment & decrement

16. Why references are different from pointers?

Correct Answer is : 2

17. Which of the following provides a programmer with the facility of using object of a class inside other classes?

Correct Answer is : Increment operator ++ adds 1 to its operand

18. How many types of polymorphism are there in C++?

Correct Answer is : 21

19. How run-time polymorphisms are implemented in C++?

Correct Answer is : 64

20. How compile-time polymorphisms are implemented in C++?

Correct Answer is : 10