Object – Oriented Programming

Semester
Object – Oriented Programming
Fall 2020
Assessment Details and Submission Guidelines
Assessment Type
Individual assignment
Assessment Title
Solving problems using object-oriented programming
Purpose of the assessment (with CLO Mapping)
This assignment is designed to assess students’ knowledge and skills related to the following learning outcomes:
1. LO-1:Use classes and instances to develop programs as a collection of communicating components.
2. LO-2:Demonstrate the concepts of abstraction, encapsulation, inheritance, and polymorphism.
3. LO-3: Use exception handling in programs.
4. LO-5: Develop computer programs to solve real world problems.
Weight
15% of the total assessments
Total Marks
100
Word limit
N/A
Submission Guidelines
• All work must be submitted on Moodle by the due date along with a cover page.
• The assignment must be in MS Word format, 1.5 spacing, 11-pt Calibri (Body) font and 2.54 cm margins on all four sides of your page with appropriate section headings.
• Reference sources must be cited in the text of the report and listed appropriately at the end in a reference list using IEEE referencing style.
Due Date
Week 12, 26th November 2020 – submit your report on Moodle
Late submission
• late project submissions will result in a penalty. A one-week late submission results in a 10% deduction on the project marking; while a project submitted between 1 and 2 weeks late will be subject to a 20% deduction on the project marking. Submissions after two weeks will be considered a fail on the project.
Academic Misconduct and Plagiarism
• Plagiarism is defined as the presentation of another person’s work as your own. This includes copying from books without referencing the material or copying from another student’s work.
Instructor Name
Dr Mostafa Kamil
Moderator Name
Dr Haitham
CSC 1020 Object – Oriented Programming
Page 2 of 5
Assignment Description
Problem-1: (LO-1, LO-2 and LO-5) :
Develop a program that will keep track of the items sold from a warehouse. The program includes the classes shown in figure-1. To create this program, you have to:
• Implement the class hierarchy in figure-1
• Use encapsulation and inheritance concepts
• Give your classes a reasonable complement of constructors, accessor, and mutator methods.
• Test the program:
o Create an object from each class
o Create several products
o Test all the methods.
(35 Marks)
Figure 1: Warehouse class hierarchy
CSC 1020 Object – Oriented Programming
Page 3 of 5
Problem-2: (LO-1, LO-2, LO-3, and LO-5) :
Assume you are creating a system for Emiratis Aviation University, the system saves the employee data, including Emirates ID (EID) number and salary, into an array. The maximum number of employees is 200, but your program should also work for any number of employees less than 200. Your program should use two exception classes, one called EIDLengthException for when the EID number entered is not exactly fifteen characters and the other called EIDCharacterException for when any character in the EID number is not a digit. When an exception is thrown, the user should be reminded of what she or he entered, told why it is inappropriate, and asked to re-enter the data.
After all data has been entered, your program should display the records for all employees, with an annotation stating whether the employee’s salary is above or below average.
To Implement this program, you need to define the following classes:
1. Person: this class has one local variable “name”
2. Employee: every Employee object should record the employee’s name, salary, and EID number, as well as any other data you need or think is appropriate.
3. EIDLengthException
4. EIDCharacterException
5. Test class
(65 Marks)
Submission requirements:
For each problem (1 and 2) submit the following:
1. Analysis: Describe the problem, including input and output, in your own words.
2. Design: Describe the major steps for solving the problem.
3. Coding: Copy and Paste Source Code here. Format your code using Courier 10pts. Explain the implementation steps.
4. Testing: Describe how you test this program with samples of the outputs.
5. The UML diagram
6. Assignment cover sheet.
7. Submit the JAVA files on Moodle and codePost.
Note: the analysis and design requirements should be submitted on Turnitin.
CSC 1020 Object – Oriented Programming
Page 4 of 5
Marking criteria:
Marking criteria is shown in following table. Marks are allocated as follows:
Problem-1
Sections to be included in the report
Description of the section
Marks
Analysis
Describe the problem including input and output in your own words
5
Design
Describe the major steps for solving the problem.
5
Coding
The code should be fully running
10
Testing
Describe how you test this program
10
UML
Draw the updated UML diagram that includes all variable and methods for each class.
5
Total
35
Problem-2
Sections to be included in the report
Description of the section
Marks
Analysis
Describe the problem including input and output in your own words
10
Design
Describe the major steps for solving the problem.
20
Coding
The code should be fully running
20
Testing
Describe how you test this program
10
UML
Draw the UML diagram that includes all variable and methods for each class.
5
Total
65
Marking Rubric for Assignment-1: Total Marks 100
Note: The marking rubrics varies for each assignment
Problem-1
Mark
80-100%
70-79%
60-69%
50-59%
<50%
Excellent
Very Good
Good
Satisfactory
Unsatisfactory
Analysis
/5
Demonstrated excellent understanding of problem requirements
Demonstrated very good understanding of problem requirements
Demonstrated good understanding of problem requirements
Demonstrated satisfactory understanding of problem requirements
Demonstrated unsatisfactory understanding of problem requirements
Design
/5
All elements are present and very well integrated.
Components present with good cohesive
Components present and mostly well integrated
Most components present
Demonstrated unsatisfactory system design
Coding
/10
The code Explanation is well organized and very easy to read and follow even a non-programming individual could understand.
The code Explanation is fairly easy to read.
The code Explanation is readable only by someone who knows what the code
The code Explanation is poorly organized and very difficult to read.
The Answer was not submitted.
CSC 1020 Object – Oriented Programming
Page 5 of 5
is supposed to be doing.
Testing
/10
Program displays correct output with no errors
Output has minor errors
Output has multiple errors
Output is incorrect
The Answer was not submitted.
UML
/5
All elements are present and very well integrated.
Components present with good cohesive
Components present and mostly well integrated
Most components present
Demonstrated unsatisfactory demonstration
Problem-2
Mark
80-100%
70-79%
60-69%
50-58%
<50%
Excellent
Very Good
Good
Satisfactory
Unsatisfactory
Analysis
/10
Demonstrated excellent understanding of problem requirements
Demonstrated very good understanding of problem requirements
Demonstrated good understanding of problem requirements
Demonstrated satisfactory understanding of problem requirements
Demonstrated unsatisfactory understanding of problem requirements
Design
/20
All elements are present and very well integrated.
Components present with good cohesive
Components present and mostly well integrated
Most components present
Demonstrated unsatisfactory system design
Coding
/20
The code Explanation is well organized and very easy to read and follow even a non-programming individual could understand.
The code Explanation is fairly easy to read.
The code Explanation is readable only by someone who knows what the code is supposed to be doing.
The code Explanation is poorly organized and very difficult to read.
The Answer was not submitted.
Testing
/10
Program displays correct output with no errors
Output has minor errors
Output has multiple errors
Output is incorrect
The Answer was not submitted.
UML
/5
All elements are present and very well integrated.
Components present with good cohesive
Components present and mostly well integrated
Most components present
Demonstrated unsatisfactory demonstration
END of ASSIGNEMENT – GOOD LUCK

Calculate a fair price for your paper

Such a cheap price for your free time and healthy sleep

1650 words
-
-
Place an order within a couple of minutes.
Get guaranteed assistance and 100% confidentiality.
Total price: $78
WeCreativez WhatsApp Support
Our customer support team is here to answer your questions. Ask us anything!
👋 Hi, how can I help?