c++_anilcomputers

C ++ Language QUIZ 01

Total no of Question = 25

All Questionnaire compulsory to answered

Quiz created by :   Anilcomputersudaipur.com

Add: Anil Computers, 368, Prem Kutir, Univestiy Main Road Nr. Tulsi Garden, Udaipur- 094142 34600

C++ Language Quiz 01

Please enter your email:

1. A direct access file is:

 
 
 
 

2. Which of the STL containers store the elements contiguously (in adjacent memory locations)?

 
 
 
 

3. Which of the following keyword supports dynamic method resolution?

 
 
 
 

4. Which one of the following is not a valid reserved keyword in C++

 
 
 
 

5. What?s wrong? while( (i < 10) && (i > 24))

 
 
 
 

6. Which classes allow primitive types to be accessed as objects?

 
 
 
 

7. A continue statement causes execution to skip to

 
 
 
 

8. If class A is friend of class B and if class B is friend of class C, which of the following is true?

 
 
 
 

9. What is the difference between overloaded functions and overridden functions?

 
 
 
 

10. Which of the following correctly describes C++ language?

 
 
 
 

11. Which of the following is not a standard exception built in C++.

 
 
 
 

12. If the class name is X, what is the type of its ?this? pointer (in a nonstatic, non-const member function)?

 
 
 
 

13. Which of the following is true about const member functions?

 
 
 
 

14. Which of the following is a valid destructor of the class name ?Country?

 
 
 
 

15. Which of the following is not true about preprocessor directives

 
 
 
 

16. Which of the following is not recommended in a header file?

 
 
 
 

17. Which of the following is the most preferred way of throwing and handling exceptions?

 
 
 
 

18. What?s wrong? for (int k = 2, k <=12, k++)

 
 
 
 

19. Each pass through a loop is called a/an

 
 
 
 

20. Which one of the following is not a fundamental data type in C++

 
 
 
 

21. . What does STL stand for?

 
 
 
 

22. What?s wrong? (x = 4 && y = 5) ? (a = 5) ; (b = 6);

 
 
 
 

23. When is std::bad_alloc exception thrown?

 
 
 
 

24. Which of the following relationship is known as inheritancerelationship?

 
 
 
 

25. Which of the following is not a component of file system

 
 
 
 

Question 1 of 25

Anil Computers

Anil Computers

Best computer Institute in Udaipur

Quiz_Anilcomputers1

सर्टिफिकेट  पाने के लिए अपने रिजल्ट का Screen shot नीचे दिये गये मोबाइल नम्बर पर send करें। Strictly call not allowed.