0% found this document useful (0 votes)
39 views

OOSD with C++ ST2

st2

Uploaded by

harendra tomar
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views

OOSD with C++ ST2

st2

Uploaded by

harendra tomar
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Raj Kumar Goel Institute of Technology, Ghaziabad

ST2 (Odd Semester) 2024-25


B.Tech[Branch/Section:CSE(AIML),All Branch] Semester: 3rd Yr/ 5th
SubjectName:Object Oriented Software Design with C++ Subject
Code:BCS 054 Total Marks :50
Time: 01:30 Hours
Roll No./Name:_________________________
Note: Attempt all Sections. If you require any missing data, then choose suitably.

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.

_____________________________

You might also like