CIA II C++ QP Set1
CIA II C++ QP Set1
8.
What operator is used to access members of a class through a
pointer? 1 CO4 K1
a) . (dot) b) -> (arrow) c) & (address of) d) * (dereference)
9.
What type of class cannot be instantiated in C++?
a) Base b) Abstract c) Concrete d) Derived 1 CO4 K1
PART-C (2x10=20)
ESSAY TYPE ANSWERS
ANSWER ANY TWO QUESTIONS
Course knowledge
Q.No. Questions Marks outcome level
21. Explain the process of type conversion in C++ with the help of
suitable examples. Discuss both implicit and explicit 10 CO3 K2,K3
conversions and their impact on class design.
22. Design and implement a C++ program that defines a class
named Rectangle. This class should encapsulate the attributes 10 CO3 K2,K3
for length and breadth, and include a member function to
calculate and return the area of the rectangle.
23. Evaluate the advantages and disadvantages of using hybrid
inheritance in C++. Use an example to explain how hybrid 10 CO4 K4
inheritance is implemented.
ASSESSMENT TOOL K1 K2 K3 K4
Course Outcome CO3, CO4 CO2 CO3 CO4
CIA - I (50) 30 5 5 10
Prepared by Approved by
Dean FASCMH