Would you like to submit the test?

C++ Questions And Answers Sample Test 9


Sample C++ Test 9 for you to Practice. Evaluate your C++ Test 9 test answering skills by trying the online C++ Sample Test 9 and know your score.

C++ Test 9


You have scored 3 out of 10
You Scored:2
Total Questions:2
Attended Questions:2
Correct Answered:2
1. Which of the following is not the member of class?





2. Which of the following is not a type of constructor?





3. Which of the following type of class allows only one object of it to be created?





4. Which of the following concepts means determining at runtime what method to invoke?





5. Which of the following are available only in the class hierarchy chain?





6. Constructor is executed when _____.





7. Which of the following can be overloaded?





8. Which one of the following options is correct?





9. Which of the following statement is correct?





10.
Which of the following statement is correct?





11. How many objects can be created from an abstract class





12. When are the Global objects destroyed?





13.
  Which of the following approach is adapted by C++?





14. How can we make a class abstract?





15. Which of the following keywords is used to control access to a class member?





16.
Which of the following statements is correct?
Once the variable and the reference are linked they are tied together.
Once the reference of a variable is declared another reference of that variable is not allowed.





17. Which one of the following is the correct way to declare a pure virtual function?





18. Which of the following statements is correct in C++?





19. Which of the following is a mechanism of static polymorphism?





20.
 It is a __________ error to pass arguments to a destructor.





21. Which of the following statement is correct regarding destructor of base class?





22.
Which one of the following is correct about the statements given below?

All function calls are resolved at compile-time in Procedure Oriented Programming.
All function calls are resolved at compile-time in OOPS.





23. Which of the following statements is correct?





24. Constructors __________ to allow different approaches of object construction.





25. Where the default value of parameter have to be specified?





26. Which of the following provides a reuse mechanism?





27.
Functions can be declared to return a reference type. There are reasons to make such a declaration/Which of the following reasons are correct?

The information being returned is a large enough object that returning a reference is more efficient than returning a copy.
The type of the function must be a R-value.





28. Which of the following statements is correct about the constructors and destructors?





29. Which of the following statement is correct with respect to the use of friend keyword inside a class?





30. A reference is declared using the _____ symbol.







FreshersLive - No.1 Job site in India. Here you can find latest 2017 government as well as private job recruitment notifications for different posts vacancies in India. Get top company jobs for both fresher and experienced. Job Seekers can get useful interview tips, resume services & interview Question and answer. Practice online test free which is helpful for interview preparation. Register with us to get latest employment news/rojgar samachar notifications. Also get latest free govt and other sarkari naukri job alerts daily through E-mail.