OOSD with C++ ST2
OOSD with C++ ST2
CO3 To understand, analyze and apply oops concepts (i.e. abstraction, inheritance)
CO4 To understand the basic concepts of C++ to implement the object-oriented concepts
Section – A
Q.1 Attempt all parts of the following (2 x 5=10)
(a) Explain the use of Scope resolution operator? K2 CO3 2
(b) Discuss and differentiate between early and late binding with an example. K2,K4 CO3 2
(c) Compare Abstraction and Encapsulation K4 CO3 2
(d) Differentiate between call by value and call by reference. K2 CO4 2
(e) Explain default argument with an example? K2 CO4 2
Section – B
Q.2 Attempt all parts of the following (4 x 5 =20)
(a) What is relationship and difference between OOA (Object oriented analysis) and K4 CO3 5
OOD (Object oriented design)?
(b) How do you map the object-oriented concepts using non-object oriented K2 CO3 5
languages ? Explain with an example.
(c) Differentiate between Macro and Inline functions with an example. K2 CO4 5
(d) Discuss typecasting in C++ with an example. K2 CO4 5
Section – C
Q.3 Attempt any one part of the following (10x 1 = 10)
(a) What are the three models in OMT ? How is the object oriented analysis and K2 CO3 10
design attached with OMT ? Explain with an example.
(b) Differentiate: K4 CO3 10
i. SA/SD and OMT
ii. SA/SD and JSD
Q.4 Attempt any one part of the following (10x 1 = 10)
(a) Differentiate overloading and overriding with an example. Write a program to K2 CO4 10
overload "+" operator.
(b) Write a C++ program to overload area () function to calculate area of shapes like K3 CO4 10
triangle, square, circle.
_____________________________