1.
Which of the following is the correct syntax for including a user defined header files in C++?
2.
Which of the following is for a correct identifier in C++
3.
Which of the these is called address operator?
4.
Which of the these is used for comments in C++?
5.
What are actual parameters in C++?
6.
What are formal parameters in C++?
7.
Which function can read a single character from the console in C++?
8.
Which function can write a single character to console in C++?
9.
What are escape sequences?
10.
Which of these escape sequence represents carriage return?
11.
Which of these escape sequence represents tab?
12.
Which person created C++?
13.
Which of the these is called insertion/put to operator?
14.
Which of the following is called extraction/get from operator?
15.
A language which has capability of generating new data types are called ________________
1 out of 4
16.
Wrapping data and its related functionality into a single entity is known as _____________
17.
How structures and classes in C++ differ?
18.
What does polymorphism in OOPs mean?
19.
Which concept allows you to reuse the written code?
20.
Which of the following explains Polymorphism?
21.
Which of the following shows multiple inheritances?
22.
How access specifiers in Class helps in Abstraction?
23.
C++ is ______________
24.
What does modularity mean?
25.
Which of the following feature of OOPs is not used in the following C++ code?
class A { int i; public: void print(){cout<<"hello"<<i;} } class B: public A { int j; public: void assign(int a){j = a;} }
2 out of 4
26.
Which of the following class allows to declare only one object of it?
27.
Which of the following is not a type of Constructor?
28.
Which of the following is correct?
29.
Out of the following, which is not a member of the class?
30.
What is the other name used for functions inside a class?
31.
Which of the following cannot be a friend?
32.
Why references are different from pointers?
33.
Which of the following provides a programmer with the facility of using object of a class inside other classes?
34.
How many types of polymorphism are there in C++?
35.
How run-time polymorphisms are implemented in C++?
36.
How compile-time polymorphisms are implemented in C++?
37.
Which of the following is an abstract data type?
38.
Which concept means the addition of new components to a program as it runs?
39.
Which of the following explains the overloading of functions?
40.
Which of the following approach is used by C++?
3 out of 4
41.
Which operator is overloaded for a cout object?
42.
Which of the following cannot be used with the virtual keyword?
43.
Which concept is used to implement late binding?
44.
Which of the following is correct?
45.
Which of the following supports the concept that reusability is a desirable feature of a language?
46.
Which of the following is a static polymorphism mechanism?
47.
Which of the following is true?
I) All operators in C++ can be overloaded.
II) The basic meaning of an operator can be changed.
48.
Which of the following is not a type of inheritance?
49.
What happens if a class does not have a name?
50.
Which of the following statement is true?
I) In Procedural programming languages, all function calls are resolved at compile-time
II) In Object Oriented programming languages, all function calls are resolved at compile-time
51.
Which members are inherited but are not accessible in any case?
52.
Which of the following is correct?
53.
Which of the following is correct in C++?
54.
Which of the following is used to make an abstract class?
55.
Which of the following is correct?
4 out of 4