Student Name: Student ID: Gurtej Singh (30129833)
Course Code: ____ ITECH 5000________
Course Name: Programming 1
Date Submitted: _5 June 2014________
Lecturer’s Name: _ Hari Kiran Vege ____
ASSIGNMENT TITLE: Development of a Simple Program Involving Multiple Classes
Feedback / Assessment:
LECTURER’S SIGNATURE:
DATE:
PLAGIARISM
Plagiarism is the presentation of the expressed thought or work of another person as though it is one's own without properly acknowledging that person. You must not allow other students to copy your work and must take care to safeguard against this happening.
Plagiarism is a serious offence. As set out in University Regulation 6.1.1., students who are caught plagiarising will, for a first offence, be given a zero mark for that task. A second offence will result in a failing grade for the Course(s) involved and any subsequent offence will be referred to the Student Discipline Committee.
Declaration
Except where appropriately acknowledged, this assignment is my own work, has been expressed in my own words and has not previously been submitted for assessment. I have also retained a copy of this assessment piece for my own records.
Signature: Gurtej Singh (30129833) Date: 6 June 2014
Index
1. Code Comprehension........................................................1
2. Reference...........................................................................8
3.Apendix...............................................................................9
Part A –Code Comprehension
Using the uncommented sample code has been provided in Moodleanswer the following questions:
1. Draw a UML diagram of the Shoe class using the code that has been provided. Complete this using the examples that have been provide in the lecture slides.
Ans 1.
Shoe
- style: String
- size: int
- code: int
- category: String
- color:String
-price:double
+ Shoe()
+ Shoe(aCategory: String,