Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: THEend8_
COSC1295 Advanced Programming, sem 1 2021 Assessment
Type: Individual assignment; no group work permitted. Submit online via Canvas. Marks are awarded for meeting requirements as closely as possible according to assignment specifications and the supplied rubric. Clarifications/updates will be made via announcements/relevant discussion forums. Due date: Multiple milestone submissions. Final submission due 9am Monday May 31, 2021. No late submissions accepted unless Special Consideration is granted in advance. Weighting: 50% of your final grade. In addition, multiple milestones through the semester to a total of 15 marks. 1. Outline NOTE: Carefully read this document. In addition, regularly follow the Canvas assignment discussion board for assignment related clarifications and discussion. In this assignment you are required to work individually to develop a Resident Care System using Java. Using Java as a vehicle, you are required to demonstrate your understanding of object-oriented design principles, design patterns, generics, graphical user interfaces, unit testing and object relational mapping building on the foundations laid by the Programming Fundamentals course and further developed in COSC1295. The system you develop should be maintainable and extensible as well as produce substantial value for the stakeholders by improving the level of patient care. The marks will therefore be awarded both for your functionality as well as justifying the design decisions and code quality. During the final face to face assessment you will also be required to justify your design decisions as well as explain how your program can be extended to meet other related requirements. This assignment is structured to let you incrementally build your product throughout the semester by incorporating the OO design principles, Java constructs and technologies introduced in the notes and videos on Canvas, and developed in the lecturorial and prac sessions. You are required to ensure you make steady progress and marks will be awarded in the prac classes for completing specific milestones. The main purpose of this assignment is to develop and demonstrate your problem-solving skills by applying the concepts taught for a reasonably complex open-ended problem (and to create a complete working system based on agile specifications). You should not be overly concerned about every minute detail and are free to make reasonable assumptions (you may check with your lab-tutor if in doubt, who will also mark your final assignment). Disclaimer: the specification in this assignment is intended to represent a simplified version of a system in real life and thus is not meant to be an accurate simulation of any real system or service that is being used commercially. Page 2 of 5 RMIT Classification: Trusted 2. Assessment Criteria This assessment will determine your ability to implement Object-Oriented Java code according to the specifications shown below. In addition to functional correctness (i.e. getting your code to work) you will also be assessed on code quality. Specifically: ● You are required to demonstrate your understanding of object-oriented programming constructs encapsulation, inheritance and polymorphism. ● You are required to promote performance and robustness by using well tested collections and by catching and handling all exceptions. ● You are required to demonstrate that you have done adequate unit testing considering various business rules using the JUnit framework. ● You are required to demonstrate all the objects stored in memory can be persisted to a file and restored when the program starts again. ● Your interaction design must anticipate what users might need next and include appropriate JavaFX elements to make the system accessible, intuitive, usable and efficient (fewer clicks/keystrokes) ● You are required to ensure all historic data can be archived to a relational database allowing access by external software and the current system. ● Your object-oriented design should provide high cohesion and low coupling following well established design principles and patterns. You should justify your design decisions that led to the final product using detailed comments in the beginning of each class. ● You should reflect on the difficulties/limitations of the technologies used and suggest how these can be improved by researching and identifying other technologies and tools in a separate one-page report. Further specifications and assessment criteria will follow throughout the semester. 3. Learning Outcomes This assessment is relevant to the following Learning Outcomes: CL01: use the Java programming language in the implementation of small to medium sized application programs that illustrate professionally acceptable coding and performance standards. CL02: demonstrate knowledge of the basic principles of the object-oriented development process and apply this understanding to the analysis and design of solutions for small to medium scale problems. CLO3: describe and apply basic algorithms and data structures, in particular simple searching and sorting of data stored in data structures and manipulating data. CLO4: implement basic event-driven programming and graphical user interfaces in Java. Page 3 of 5 RMIT Classification: Trusted 4. Product Description You are required to develop a system to manage the high care patients for the Able Care Home. The management wants a visual interface that maps the patients to their respective beds to help nurses easily check the prescription details and administer the medications in an effective manner. Moreover, it may be necessary to change the bed assigned to an existing resident when a new resident is admitted reflecting their gender and medical condition (need for isolation). In order to comply with recent regulations, the management wants to archive all the patient related details including medicine prescription and administration details to a database that can be accessed and audited by external parties. In this assignment you are only required to deal with two wards with 6 rooms, each with the number of beds per room varying from 1 to 4 as shown below. Functional Requirements to be Carried out through a Graphical User Interface • Allow manager to add new residents to one of the vacant beds • Allow manager to add staff (doctors, nurses) or modify staff details (e.g., password) or shift days/times • Allow medical staff to check the details of a resident in a bed • Allow a doctor to attach a new prescription to a patient in the selected bed stating various medicines to be administered at specific doses at specified times • Depict the gender of the resident in a bed using blue/red • Allow a nurse to move the resident to a different bed • Updating the details of medicines administered for a resident in the selected bed • Any action (e.g., adding a patient to a bed, updating a prescription, administering a medication, etc) must include day+time and id of the staff member performing the action and these are recorded with the action. An Exception (different ones) should be raised if the staff member is not authorized to perform the action, or is not rostered for that day+time. Other Functional Requirements • Saving all the patient related records to a file before exiting the system, allowing it to be restored (which need not be accessible to external parties). • Archive all the patient related details including medicine prescribed and administered throughout the stay when discharging a patient (allowing them to be audited) Ward 1 Ward 2 Page 4 of 5 RMIT Classification: Trusted Process, Quality, Security, Testing, Personal-Reflection and Technology Related Requirements • The program submitted should be refactored to promote code maintainability by using the object-oriented concepts including encapsulation, inheritance and polymorphism.
• Use of design patterns such as singleton and/or adherence to design principles such as SOLID.
• Well-designed test cases showing main business rules are implemented. For example, an attempt to add a
new resident to a vacant bed should succeed while an attempt to add a resident to an already occupied bed
should fail with appropriate diagnostic messages.
• Catching and handling all error conditions to create a robust system.
• A one-page document justifying all the design changes and lessons learned.
• Ensure only doctors can add prescriptions and only nurses can administer medication.
Only manager with own username/password can add username/password for doctors and nurses.
Progress Milestones You will be required to demo your progress in the lab regularly to demonstrate progress.
The specific milestone requirements and associated dates will be communicated via Canvas.