CRICOS Provider No. 00103D Insert file name here Page 1 of 3 ITECH3201-7201 Assignment 1 – Teaching Period 7, 2014 Marks: 20 (7201 students complete tasks which sum to 24 which then gets converted into a mark out of 20) Due: As per unit description Type: Individual Task Disclaimer You must use the code supplied by your tutor. Do not use code given to you by another student (or past student) as the codebase will be different and you will be awarded ZERO MARKS for the assignment task. Description • You are required to document, test and refactor an existing application. You will be given a copy of an existing C# application which is responsible for taking bookings for a hospital system, this application is badly in need of refactoring and even a casual viewing of the source code reveals many examples of the “code smells” talked about in Fowler’s book. The base application consists of three classes – Doctor, Patient and Hospital. A patient can be a private or public patient and is handled differently in either case. Patients are assigned to Doctors according to availability and preference. Step 1 – Rename the base code 1. Download the code from Moodle and unzip it in the filesystem 2. Rename the base folder to “Assignment 1 – yourid” (your id equals your student number) 3. Open the solution up in Visual Studio right click on the Solution and rename it as per (2) 4. Build the solution and inspect the output, now spend some time getting to know the code before you do anything else. CRICOS Provider No. 00103D Insert file name here Page 2 of 3 Step 2 – Identify “code smells” Open up a new document in Word (or equivalent), start jotting down any code smells you identify in the code in point form (you might want to cut and paste the code into word to illustrate the problems. Step 3 – Create a class diagram of the intial code. Do this in Enterprise Architect and copy the resultant diagram into your word file. Ensure your EA file is saved and labelled as “starting code base”...

  • 10 years ago
software engineering A+ Tutorial use as Guide
NOT RATED

Purchase the answer to view it

  • software_engineering_1.docx
  • software_engineering_2.docx
  • software_engineering_3.docx