Basics Concepts of C++ Quiz 1

0%
4

Basics Concepts of C++ Quiz 1

1 / 50

Who created C++?

2 / 50

Which of the following is correct?

3 / 50

What happens if a class does not have a name?

4 / 50

Which function is used to read a single character from the console in C++?

5 / 50

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

6 / 50

Which of the following is used for comments in C++?

7 / 50

What does polymorphism in OOPs mean?

8 / 50

Which of the following shows multiple inheritances?

9 / 50

What are the formal parameters in C++?

10 / 50

Which of the following is correct?

11 / 50

1. Which of the following escape sequence represents tab?

12 / 50

Which of the following is called address operator?

13 / 50

Which of the following is an abstract data type?

14 / 50

Which of the following is used to make an abstract class?

15 / 50

Which of the following cannot be a friend?

16 / 50

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

17 / 50

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

18 / 50

Which concept means the addition of new components to a program as it runs?

19 / 50

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

20 / 50

Why references are different from pointers?

21 / 50

Which of the following is called insertion/put to operator?

22 / 50

Which operator is overloaded for a cout object?

23 / 50

Which concept allows you to reuse the written code?

24 / 50

Which of the following is not a type of inheritance?

25 / 50

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

26 / 50

Which of the following is correct?

27 / 50

Which members are inherited but are not accessible in any case?

28 / 50

C++ is ______________

29 / 50

Which concept is used to implement late binding?

30 / 50

Which of the following is a correct identifier in C++?

31 / 50

Which of the following is called extraction/get from operator?

32 / 50

Which of the following cannot be used with the virtual keyword?

33 / 50

Which of the following approach is used by C++?

34 / 50

How access specifiers in Class helps in Abstraction?

35 / 50

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

36 / 50

Which of the following is the correct syntax of including a user defined header files in C++?

37 / 50

Which of the following is a static polymorphism mechanism?

38 / 50

Which of the following is correct in C++?

39 / 50

A language which has the capability to generate new data types are called ________________

40 / 50

What are the actual parameters in C++?

41 / 50

Which function is used to write a single character to console in C++?

42 / 50

Which of the following escape sequence represents carriage return?

43 / 50

Which of the following is not a type of Constructor?

44 / 50

How structures and classes in C++ differ?

45 / 50

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

46 / 50

Which of the following explains the overloading of functions?

47 / 50

Which of the following supports the concept that reusability is a desirable feature of a language?

48 / 50

What does modularity mean?

49 / 50

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

50 / 50

What are the escape sequences?

Provide Your Information

Your score is

The average score is 72%

0%

Qunoot e Nazilah
Dua e Hajat
4 Qul
6 Kalma
Dua-e-Akasha
Darood Akbar
Surah Fatiha
Dua-e-Ganj Ul Arsh
Dua-e-Jamilah
Ayat-ul-Kursi