Professional Documents
Culture Documents
FINAL ASSESSMENT
March 2021 SEMESTER
MODULE NAME: OBJECT-ORIENTED PROGRAMMING
MODULE CODE: ITS63304
EXAM DURATION: 24 HOURS
EXAM DATE/ TIME: 08/07/2021 8.00 AM
SUBMISSION DEADLINE: 09/07/2021 8.00 AM
This paper consists of 5 printed pages, inclusive of this page.
Instruction to Candidates:
1. Answer ALL questions
2. This is an open book examination; student is not allowed to transcribe directly (cut and
paste) any material from another source into their submission.
3. The Turnitin similarity for this module is 20% overall and lesser than 1% from a single source,
excluding program source codes.
4. Severe disciplinary action will be taken against those caught violating assessmentrules such
as colluding, plagiarizing or transcribing.
5. The final assessment answers handed in should be within 5 -12 pages in total for non-
programming modules, with a spacing of 1.5 and a font of 12pt Times New Roman.
6. Submission link is here. (Do not submit the question paper)
7. The breakdown of exam questions by Module Learning Outcome(s) and itsassociate
weightage is as follows:
MLO Section(s)/ Question(s) Marks
MLO1 Section A / 15
MLO2 Section B / 15
TOTAL / 30
8. Start each answer on a separate page.
9. Complete the front cover of the examination answer booklet and question paper.Write the
question numbers attempted on the front cover of the answer booklet.
PROJECT SCENARIO
You have been hired as a Java programmer by Taylor’s University. Your first
project is to develop a library management system that can improve the book
borrowing and management process. There are two types of membership; staff
and student. Books can be borrowed by staff and student. Staff may borrow a
maximum of 10 books at any one time, while student can borrow a maximum of 5
books. Staff can borrow book for a maximum duration of 90 days, while student
can borrow book for a maximum duration of 30 days. Book can be renewed if it
not overdue or reserved by someone. Librarian can access the program to check
user borrowing record and display popular book. Overdue book will be charged
at a rate of RM1 for each day and can only be returned by librarian.
Based on the scenario given, provide your answer for below questions;
1. Design the objects, its features and required behaviours for the given system.
You need to provide justification for your design. (5 marks)
2. Describe where and how you can use encapsulation to secure your code. You
need to justify your answer. (3 marks)
3. Describe where and how you can use exception to minimize possible bug in
your code. You need to justify your answer (3 marks)
4. Suggest two features that are unique and important in this system. Elaborate
the feature in detail. (4 marks)
2
Section B (Total 15 marks)
1. The program can be login by librarian and member (student and staff).
ii. Perform return or renew, if borrowed by the user and not due.
3
iii. Reserve book, if borrowed by others.
4
Marking Rubric
TOTAL
NOTE: Total marks will be adjusted to a maximum of 15% allocated for Section B of this
assignment.