Technical Test 03
Technical Test 03
Technical Test 03
Technical Test
Draft saved
* Required
Email Address *
vishal.chaudhari.cs@ghrcem.raisoni.net
College *
GHRCEM
GHRIET
Branch *
Computer
IT
Name *
SCOB140
1. Data members and member functions of a class are private by default. 1 point
True or False?
True
False
Depends on code
Clear selection
2. Among the following, which statement is correct about the Modularity? 2 points
Modularity refers to wrapping the data and its functionality into a single entity
Clear selection
3. An expression A.B in C++ means ____ 1 point
.A is member of object B
B is member of Object A
Product of A and B
None of these
Clear selection
X,Y->Z
X->Y->Z
X->Y;X->Z
Clear selection
It is not possible
Clear selection
6. Dynamic cast can't be used only with pointers and references to objects 1 point
True
False
Clear selection
Clear selection
8. What is the output of the below program? 2 points
Dcon DDest
Clear selection
9. How many times CppBuzz.com is printed? 2 points
Error
5 times
4 times
6 times
Clear selection
10. What is the output of the below program? 2 points
5020--5020--
5020--70120200--5020
5020--7012020--12020--
5020--7050200--5020--
Clear selection
11. What is the output of the below program? 2 points
10
12
Not defined
Clear selection
Hi
Bye
HiBye
Compiler Error
Clear selection
13. What is the output of the below program? 2 points
XY~X~Y
X~X~YY
X~XY~Y
XY~Y~X
Clear selection
14. Polymorphism means the ability to not to take many forms 1 point
True
False
Clear selection
15. What is the output of the below program? 2 points
100
No compliation Error
Compilation Error
Clear selection
16. What is the output of the below program? 2 points
Runtime Error
Compilation Error
Nothing is printed
CppBuzz.com
Clear selection
17. Choose the option below which is not a member of class. 1 point
Friend function
Static function
Virtual function
Const function
Clear selection
18. What will be the output of the following C++ program? 2 points
Segmentation fault
“Constructor called” five times and then “Destructor called” five times
Error
Clear selection
19. What is the benefit of c++ input and output over c input and output? 1 point
Sequence container
Exception
Type safety
Clear selection
20. Which of the following is not a standard exception built in C++? 1 point
std::bad_creat
std::bad_alloc
std::bad_cast
std::bad_typeid
Clear selection
This form was created inside of Raisoni Group of Institutions. Report Abuse
Forms