Sunday, January 5, 2014

50 TOP C++ multiple choice questions and answers for freshers and experienced pdf free download

OOPS Concepts - C++ Programming Questions and Answers


1. Which of the following languages is a subset of C++ language?
2. Which of the following correctly describes C++ language?
3. Which of the following keyword supports dynamic method resolution?
4. Which of the following language is not supported by C++?
5. Which of the following language feature is not an access specifier in C++?
6. What does STL stand for?
7. Which of the following is the most common way of implementingC++?
8. What is the implicit pointer that is passed as the first argument for nonstatic member functions?
9. If X is the name of the class, what is the correct way to declare copy constructor of X?
10. Which of the following operator cannot be overloaded?
11. Which of the following operators can be overloaded?
12. How do we declare an abstract class?
13. How do we declare an ‘interface’ class?
14. How many copies of a class static member are shared between objects of the class?
15. Which of the following is true about const member functions?
16. When is std::bad_alloc exception thrown?
17. Which header file should we include for using std::auto_ptr?
18. STL is based on which of the following programming paradigms?
19. Which of the following correctly describes the meaning of ‘namespace’ feature in C++?
20. Which of the following is the most general exception handler that catches exception of any type?
21. STL is based on which of the following programmingparadigms?
22. Which of the following correctly describes the meaning of‘namespace’ feature in C++?
23. Which of the following is the most general exception handler that catches exception of ‘any type’?
24. Which of the following relationship is known as inheritancerelationship?
25. Which of the following operators can be implemented as a nonmember operator?
26. Which of the STL containers store the elements contiguously (in adjecent memory locations)?
27. Which of the following is not recommended in a header file?
28. If the class name is X, what is the type of its “this” pointer (in a nonstatic, non-const member function)?
29. Which of the following is the most preferred way of throwing and handling exceptions?
30. If class A is friend of class B and if class B is friend of class C, which of the following is true?
31. The conditional compilation
32. Originally ‘C’ was developed as:
33. Minimum number of temporary variagble needed to swap the contents of 2 variable is:
34. A direct access file is:
35. Which of the following is not an advantage of secondary memory
36. An inverted file
37. Which of the following is not a file operation:
38. Which of the following is not a component of file system
39. Seek time is
40. Latency time is:
41. ‘Prime area’ in context of file system is defined as
42. The two types of file structure existing in VSAM file are
43. In mulit-list organization
44. Which of the following is/are advantages of cellular partitioned structure:
45. *ptr++ is equivalenet to:
46. Statement scanf(“%d”,80);
47. Value of ix+j, if i,j are integer type and ix long type would be
48. In a C language ‘3’ represents
49. In C language, a hexadecimal number is represented by writing
50. Expression C=i++ causes

More C++ Interview Questions & Answers: Click Here
More C++ Multiple Choice Questions & Answers: Click Here

No comments: