Home / Tests / Object Oriented Programming Concept Using C++ Test 3 Online MCQs

Object Oriented Programming Concept Using C++ Test 3 Online MCQs

Test Name Object Oriented Programming Concept Using C++ Test 3 Online MCQs
Subject Computer
Test Type MCQs
Total Question 15
Total Marks 30
Total Time 15 Mints
Test Help For
  • Basic Knowledge about IT
  • IT General Knowledge Quiz
  • Computer History
  • IT & Computer Tests
  • General Ability
  • Competitive Exams.

Object Oriented Programming Concept Using C++ Test 3 Online MCQs

Computer

1. Overloaded functions are

Question 1 of 15

2. Regarding the use of new line character (/n) and endl manipulator with cout statement

Question 2 of 15

3. Looping in a program means

Question 3 of 15

4. Functions can be declared with default values in parameters. We use default keyword to specify the value of such parameters.

Question 4 of 15

5. Identify the correct statement regarding scope of variables

Question 5 of 15

6. Which of the following is extraction operator in C++?

Question 6 of 15

7. In case of pass by reference

Question 7 of 15

8. Observe the following statements and decide what do they do.
String my string;
Get line(cin, my string);

Question 8 of 15

9. Regarding string stream identify the invalid statement

Question 9 of 15

10. By default, the standard input device for C++ program is

Question 10 of 15

11. Type specifier is optional when declaring a function

Question 11 of 15

12. Study the following piece of code and choose the best answer
Int x=5, y=3, z;
a=addition(x,y)

Question 12 of 15

13. Find out the error in following block of code.
If (x = 100)
Cout << “x is 100”;

Question 13 of 15

14. You must specify void in parameters if a function does not have any arguments.

Question 14 of 15

Uncategorized

15. The difference between while structure and do structure for looping is

Question 15 of 15


 

Test By Subject
Test By Topics
Have any Problem or Error please mention in below comments section.

Leave a Reply

Your email address will not be published. Required fields are marked *