CS/B.
TECH(N)/ODD/SEM-5/5504/2024-2025/I019
MAULANA ABUL KALAM AZAD UNIVERSITY OF TECHNOLOGY, WEST BENGAL
Paper Code : PCC-CS503/PCCCS50 3/PCCCS503/PCCICB502 Object Oriented Programming
UPID : 005504
Time Alloed : 3 Hours Full Marks :70
The Figures in the margin indicate full marks.
Candidate are required to give their answers in their own words as far as praccable
Group-A (Very Short Answer Type Queson)
1. Answer any ten of the following : [ 1 x 10 = 10 ]
(I) What is an Abstract Data Type (ADT)?
(II) What is the purpose of the 'this' keyword in object-oriented programming?
(III) What is the purpose of design paerns in soware engineering?
(IV) What is the dierence between abstract classes and interfaces in object-oriented programming?
(V) What is the purpose of the Swing library in Java?
(VI) What is the signicance of the Text example in understanding ADTs?
(VII) How does encapsulaon help in achieving data abstracon in object-oriented programming?
(VIII) Explain the concept of encapsulaon in object-oriented programming.
(IX) Give an example of how commands can be implemented as objects in an object-oriented language.
(X) What is the purpose of the Waterfall model in soware development?
(XI) Explain how the abstracon funcon can be used to ensure the correctness of an ADT implementaon.
(XII) Explain the concept of dynamic method dispatch in the context of polymorphism in object-oriented
programming.
Group-B (Short Answer Type Queson)
Answer any three of the following : [ 5 x 3 = 15 ]
2. Write a Java program to create a simple GUI applicaon with a buon and a label. When the buon is [5]
clicked, the label should display the current date and me.
3. Explain the concept of informaon hiding in the context of ADTs, and discuss its importance in soware [5]
engineering.
4. Explain the dierent types of polymorphism in object-oriented programming with examples. Discuss the [5]
advantages and disadvantages of each type.
5. Describe the concept of method overriding and method overloading in object-oriented programming. [5]
Provide examples to illustrate their dierences.
6. Explain the concept of data abstracon and its relaonship with ADTs. Provide examples to illustrate the [5]
benets of data abstracon in soware design.
Group-C (Long Answer Type Queson)
Answer any three of the following : [ 15 x 3 = 45 ]
7. (a) Design and implement a soware system that demonstrates the use of inheritance and several design [ 8+7 ]
paerns, such as the Iterator, Observer, and Decorator paerns.
(b)Provide a detailed explanaon of your design choices, class diagrams, and the raonale behind your
implementaon decisions.
8. (a) Implement a drawing applicaon using object-oriented principles and design paerns. The applicaon [ 9+6 ]
should support dierent shapes (e.g., rectangles, circles, lines), allow users to draw and manipulate these
shapes, and provide undo and redo funconality.
(b) Explain the object-oriented design principles and paerns used in your implementaon.
9. (a) Explain the Unied Process (UP) in soware development. [ 5+5+5 ]
(b) Discuss its phases, disciplines, and best pracces.
(c) Provide examples of how UP can be applied to a soware project.
10. (a) Analyze the me and space complexity of the operaons in the ADTs you have implemented. [ 8+7 ]
(b) Idenfy potenal areas for opmizaon and propose improvements to enhance efficiency.
11. ((a)Discuss the importance of soware documentaon in the soware development process. [ 3+6+6 ]
1/2
(b) Explain dierent types of documentaon (e.g., requirements, design, user manuals) and their
purposes.
(c)Provide examples of how documentaon can be eecvely developed and maintained throughout the
project lifecycle.
*** END OF PAPER ***
2/2