With every final exam there is no doubt that some people will be unsure about their readiness to sit for it and getting some accurate quizzes to help you can give you the grade you want. Take up the C++ final online exam below and see how you would have scored.
 #include ; with iostream.h inside the brackets
 include (iostreamh)
 #include with iostream.h inside the brackets
 include #iostream,h;
Rate this question:
 /**
 //
 *//
 /*
Char, int, float, doubled, short, long, unsigned, signed
 sizeof, const, typedef, static, voided, enum, struct, union
If, else, for, while do, switch, continue, break
Defaulted, goto, return, extern, private, public, protected
Rate this question:
 :
 ,
 !
 ;
Rate this question:
 case-sensitive.
Not case-sensitive.
It depends
None of these
Rate this question:
 int
Long
Double
Float
Rate this question:
String mystr;
String mystr[20];
String[20] mystr;
Char mystr[20];
Rate this question:
 10
 11
12
13
Rate this question:
Structure
 struct
 object
 record
Rate this question:
Void intro();
Double sin(double rad);
Int foo(int bar; double baz)
Double pow(double num, int pow);
Rate this question:
 cout
 cout
 cout
 cout
For (c = 0; c
For (int c = 0; c
For (c = 0; c < 5; c++)
For (c = 0; c < 5; c++);
Rate this question:
It defines the function iostream.h
 It defines the words TRUE and FALSE
Rate this question:
 atoi(value)
 cout
(char) value
Char (value)
Rate this question:
Cout
Cout
Cout
 cin >> "Hello World";
0 1 2 3 4 5 6 7 8 9
0 2 4 6 8 10 12 14 16 18
1 0 1 0 1 0 1 0 1 0
0 1 0 1 0 1 0 1 0 1
Rate this question:
 22
12
Error
23
Rate this question:
 only 0
Only 1
 only 2
Only 1 or 2
Rate this question:
Run time
Compile time
Depends on how it is invoked
Both b and c above
Rate this question:
TRUE
FALSE
Rate this question:
X~() {}
X() {}~
X() ~{}
~X() {}
Rate this question:
No
Yes
Rate this question:
Cast_static
Dynamic_cast
Static_cast
Cast_dynamic
Rate this question:
TRUE
FALSE
Rate this question:
Private
Public
Protected
Needs to be assigned
Rate this question:
Storage
Virtual
Friend
Wrapper
Rate this question:
Input Iterator
Backward Iterator
Forward Iterator
Both a and c above
Rate this question:
Overloading is a dynamic or run-time binding and Overriding is static or compile-time binding
Redefining a function in a friend class is called function overriding while Redefining a function in a derived class is called a overloaded fucntion.
Rate this question:
A shallow copy creates a copy of the dynamically allocated objects too.
A shallow copy just copies the values of the data as they are.
A shallow copy creates a copy of the statically allocated objects too
Both b and c above
Rate this question:
Abort()
Terminate()
End()
Exit()
Rate this question:
Template class
Function template
Class template
Both a and c above
Rate this question:
It can abort the program
It can cause a failure
It can cause an error
It can cause a trap
Rate this question:
A deep copy creates a copy of the dynamically allocated objects too.
A deep copy just copies the values of the data as they are.
A deep copy creates a copy of the statically allocated objects too
Both b and c above
Rate this question:
FALSE
TRUE
Rate this question:
By default all the struct members are private while by default class members are public.
By default all the struct members are protected while by default class members are private.
By default all the struct members are public while by default class members are private.
By default all the struct members are public while by default class members are protected.
Static binding
Dynamic Binding
Rate this question:
Creates a static table per class
Creates a static table per object
Creates a dynamic table per class
Creates a dynamic table per object
Rate this question:
-3276700%
3276700%
1.7014%
Rate this question:
1971
1972
1957
Rate this question:
#define
#include
#if
Rate this question:
[]
{}
()
Rate this question:
23-45
56-67
48-57
Rate this question:
A Digit
A Character
An Integer
Rate this question:
A
A>0
A
Rate this question:
An operator
A label
A variable
Rate this question:
And
Or
Not
Rate this question:
TRUE
FALSE
Rate this question:
TRUE
FALSE
Rate this question:
Quiz Review Timeline (Updated): Feb 17, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.