Font size
WorksheetsC++ Quiz
Total questions: 25
Worksheet time: 14mins
When was C++ named so?
1975
1979
1980
1983
C++ is .....
Dynamically typed
Statically typed
Syntactically typed
Disgustingly typed
Which of these isn't a feature of OOP?
Encapsulation
Class
Inheritance
Polymerism
Which of these is true for C++?
Platform Dependent
Machine Dependent
Platform Independent
Machine Independent
What keyword is used to print the given statements in C++?
cout
compl
printf
What is also known as "blueprint"?
attributes
class
methods
objects
When was C++ developed?
1975
1979
1980
1983
Is C++ used for web app development?
Yes
No
Can compiled programs of C++ on one OS run on another?
Yes
No
Evaluate the following expressions to true or false
3!=4-1
true
False
C++ supports
Top down programming Approach
Bottom Up programming Approach
Both Top down & Bottom Up programming Approach
Non of these
Which of the following is a correct comment?
*/ Comments */
** Comment **
/* Comment */
{ Comment }
How many objects can present in a single class?
2
4
As many as possible
0
Wrapping of data & its related functionality in to a single entity is called
Abstraction
Encapsulation
Polymorphism
Modularity
What does modularity means?
Hiding part of program
Subdividing programs into small independent parts
Overriding parts of programs
Wrapping things into single unit?
What are the actual parameters in c++?
Parameters with which functions are called
Parameters used in function definition
Variables that are never used in function
Variables other then passed parameter in function
Which of the following is called insertion operator?
<<
>>
*
<
Which of the following is not a fundamental type is not present in C but present in C++?
int
void
bool
char
Which of the following is an exit-controlled loop?
for
while
do-while
all of above
Which of the following is C++ equivalent for scanf()?
cout
cin
scanf
input
Current version of C++
C++98
C++03
C++17
C++11
First version of C++ is called
C++ Initial
C increment
C with Classes
C++98
As of 2019, C++ is now the _____most popular programming language.
Third
second
fourth
Fifth
As of Year 2020, Order the following programming languages on the basis of most popular used in industry
C, C++, Java, Python
Python, Java, C++ C
Java, C, Python, C++
Java, Python, C, C++
