Object Oriented Programming Concept Using C++ Test 3 Online MCQs
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. Study the following piece of code and choose the best answer
Int x=5, y=3, z;
a=addition(x,y)

Question 1 of 15

2. Overloaded functions are

Question 2 of 15

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

Question 3 of 15

4. Type specifier is optional when declaring a function

Question 4 of 15

5. When requesting multiple datum, user must separate each by using

Question 5 of 15

6. The void specifer is used if a function does not have return type

Question 6 of 15

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

Question 7 of 15

8. Which of the following is input statement in C++?

Question 8 of 15

9. Which of the following is not looping statement is C?

Question 9 of 15

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

Question 10 of 15

11. Regarding string stream identify the invalid statement

Question 11 of 15

12. If the type specifier of parameters of a function is followed by an ampersand (&) that function call is

Question 12 of 15

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

Question 13 of 15

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

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.