OOP

32 Questions | Attempts: 136
Please wait...
Question 1 / 33
🏆 Rank #--
Score 0/100

1. OOP stands for______________.

Submit
Please wait...
About This Quiz
OOP - Quiz

.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. Which of the following IDE is used for writing and executing C++ codes ?

Submit

3. C++ supports single-line and multi-line comments.

Submit

4. #include and #define are known as preprocessor directives 

Submit

5. Which of the following is not a type of operator?

Submit

6. Which of the following statement is use to print something on the screen?

Submit

7. In C++, the _____________is a statement terminator. 

Submit

8. C++ is a general-purpose _______________ programming language,

Submit

9. Function that calls its self is called as__________.

Submit

10. A class definition starts with the keyword class followed by the class name; and the class body, enclosed by a pair of curly braces. development of any software project regardless of their size or completely

Submit

11. Which of the following will not return a value?

Submit

12. Which of the following is not a keyword?

Submit

13. \t is used to put_________.

Submit

14. Which of the following is not a data type ?

Submit

15. Global variables are defined outside of all the functions, usually on top of the program. The global variables will hold their value throughout the life-time of the program.

Submit

16. IDE stands for _________.

Submit

17. A class can be derived from more than one classes, which means it can inherit data and functions from multiple base classes, this is the concept of ________________________.

Submit

18. We can have nested try blocks in exception handling 

Submit

19. Which of the following returns some value?

Submit

20. Assigning one or more function body to the same name is called_______________

Submit

21. # is use to return address of the variable associated with it .

Submit

22. Cout is standard input stream and cin is standard output stream

Submit

23.

what is the output of this code?

#include <iostream>
using namespace std;

int main ()
{
  int n = 10;

  while (n>0) {
    cout << n << ", ";
    --n;
  }
}

Submit

24. Cout>>hello world  is this statement is write?

Submit

25.
#include <iostream>

int main()
{
  cout << "Hello World!";
}
output of this code is hello world

Submit

26. Execute a sequence of statements multiple times and abbreviates the code that manages the loop variable. This statement is true for which loop?

Submit

27. Loader is use for linking different functions in the program

Submit

28. Which of the following data type returns value in True or False?

Submit

29.  How are the constants declared?

Submit

30. C++ _______________ handling is built upon three keywords: try, catch, and throw.

Submit

31. #include using namespace std; double division(int a, int b) { if( b == 0 ) { throw "Division by zero condition!"; } return (a/b); } int main () { int x = 50; int y = 0; double z = 0; try { z = division(x, y); cout

Submit

32. What is the output of the following program?
#include<iostream>

using namespace std;
int x = 5;

int &f() {
	return x;
}
main() {
	f() = 10;
   cout<<x;
}

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (32)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
OOP stands for______________.
Which of the following IDE is used for writing and executing C++ codes...
C++ supports single-line and multi-line comments.
#include and #define are known as preprocessor directives 
Which of the following is not a type of operator?
Which of the following statement is use to print something on the...
In C++, the _____________is a statement terminator. 
C++ is a general-purpose _______________ programming language,
Function that calls its self is called as__________.
A class definition starts with the keyword class followed by the class...
Which of the following will not return a value?
Which of the following is not a keyword?
\t is used to put_________.
Which of the following is not a data type ?
Global variables are defined outside of all the functions, usually on...
IDE stands for _________.
A class can be derived from more than one classes, which means it can...
We can have nested try blocks in exception handling 
Which of the following returns some value?
Assigning one or more function body to the same name is...
# is use to return address of the variable associated with it .
Cout is standard input stream and cin is standard output stream
What is the output of this code? ...
Cout>>hello world  is this statement is write?
#include <iostream> ...
Execute a sequence of statements multiple times and abbreviates the...
Loader is use for linking different functions in the program
Which of the following data type returns value in True or False?
 How are the constants declared?
C++ _______________ handling is built upon three keywords: try, catch,...
#include ...
What is the output of the following program? ...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!