C++ Online Quiz
C++ Quiz Online:
Instruction:
Number of Questions: 20
Time: 20 minutes
Each question carry 1 mark each
No negative marking
Quiz-summary
0 of 21 questions completed
Questions:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
Information
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading...
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
Results
0 of 21 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Average score |
|
Your score |
|
Categories
- Not categorized 0%
-
Thanks for Submitting
Webeduclick C++ Quiz Test
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- Answered
- Review
-
Question 1 of 21
1. Question
1 pointsWho developed C++ Language?
Correct
Incorrect
-
Question 2 of 21
2. Question
1 pointsWhat is the only function all C++ programs must contain?
Correct
Incorrect
-
Question 3 of 21
3. Question
1 pointsThe directives for the preprocessors begin with –
Correct
Incorrect
-
Question 4 of 21
4. Question
1 pointsEvery function in C++ are followed by –
Correct
Incorrect
-
Question 5 of 21
5. Question
1 pointsThe difference between ‘x’ and “x”is –
Correct
Incorrect
-
Question 6 of 21
6. Question
1 pointsWhich classes allow primitive types to be accessed as objects?
Correct
Incorrect
-
Question 7 of 21
7. Question
1 pointsWhich of the following correctly describes C++ language?
Correct
Incorrect
-
Question 8 of 21
8. Question
1 pointsWhich of the following keyword supports dynamic method resolution?
Correct
Incorrect
-
Question 9 of 21
9. Question
1 pointsWhich of the following is the most preferred way of throwing and handling exceptions?
Correct
Incorrect
-
Question 10 of 21
10. Question
1 pointsWhat’s wrong?
while( (i < 10) && (i > 24))Correct
Incorrect
-
Question 11 of 21
11. Question
1 pointsA continue statement causes execution to skip to –
Correct
Incorrect
-
Question 12 of 21
12. Question
1 pointsWhat does STL stand for?
Correct
Incorrect
-
Question 13 of 21
13. Question
1 pointsWhich of the following relationship is known as inheritance relationship?
Correct
Incorrect
-
Question 14 of 21
14. Question
1 pointsWhat’s wrong?
for (int k = 2, k <=12, k++)Correct
Incorrect
-
Question 15 of 21
15. Question
1 points*ptr++ is equivalent to –
Correct
Incorrect
-
Question 16 of 21
16. Question
1 pointsint main ()
{
cout << “Hello World!” return 0; }Correct
Incorrect
-
Question 17 of 21
17. Question
1 pointsWhich of the following correctly describes the meaning of ‘namespace’ feature in C++?
Correct
Incorrect
-
Question 18 of 21
18. Question
1 pointsWhen class B is inherited from class A, what is the order in which the constructors of those classes are called –
Correct
Incorrect
-
Question 19 of 21
19. Question
1 pointsValue of a in a = (b = 5, b + 5) ; is –
Correct
Incorrect
-
Question 20 of 21
20. Question
1 pointsint a = 10;
void main()
{
int a = 20;
cout << a << ::a; } The output of this program is -Correct
Incorrect
-
Question 21 of 21
21. Question
1 pointsWhat will be the output after the following statements?
x = 1
while x < 10: print(x, end='') x = x + 1Correct
Incorrect
NOTE:
Click the ‘Quiz-summary‘ button and then click ‘Finish quiz‘ button to submit your quiz answers
Your Online quiz will be submitted after the time is expired
Do not refresh the Page.