5
ASSIGNMENT 1 Case Study: NewGen Watches 1 Introduction This is a group assignment with 3-4 students per group and it contributes to 7.5% of the total grade of this course. 2 Objectives To evaluate student’s skills at writing an object-oriented program using C++ programming language. To develop problem-solving skills in object-oriented development features and concepts such as Classes, Objects etc. To work as a team to solve problems. 3 Assignment 1 [7.5 marks] 3.1 Due date Due date on 6 April 2015 (Monday) by 5.00pm. 3.2 Assignment Introduction NewGen Watches is a watch retailer sells different type of watches such as analogue watches, digital watches and smart watches and etc. All the NewGen Watches’ business operations are performed manually which include to keep track of the watches in the store and to record all the daily business transactions. As business of NewGen Watches grows larger, this traditional business approach is inefficient to support daily business operations. Therefore, the management of NewGen Watches decided to computerize its business operation to ensure the effectiveness of their business process and to enhance the quality in customer service. 3.3 Task

Case Study New Gen Watches Assignment 1

Embed Size (px)

DESCRIPTION

aaaa

Citation preview

Page 1: Case Study New Gen Watches Assignment 1

ASSIGNMENT 1Case Study: NewGen Watches

1 Introduction

This is a group assignment with 3-4 students per group and it contributes to 7.5% of the total grade of this course.

2 Objectives

To evaluate student’s skills at writing an object-oriented program using C++ programming

language.

To develop problem-solving skills in object-oriented development features and concepts such as

Classes, Objects etc.

To work as a team to solve problems.

3 Assignment 1 [7.5 marks]

3.1 Due date

Due date on 6 April 2015 (Monday) by 5.00pm.

3.2 Assignment Introduction

NewGen Watches is a watch retailer sells different type of watches such as analogue watches, digital

watches and smart watches and etc. All the NewGen Watches’ business operations are performed

manually which include to keep track of the watches in the store and to record all the daily business

transactions. As business of NewGen Watches grows larger, this traditional business approach is

inefficient to support daily business operations. Therefore, the management of NewGen Watches

decided to computerize its business operation to ensure the effectiveness of their business process and to

enhance the quality in customer service.

3.3 Task

Write a program to demonstrate your ability to apply object-oriented principles; encapsulation,

inheritance and polymorphism concepts in designing programming solutions for NewGen Watches.

Your program should have at least one super class and two sub-classes. The following requirements

MUST be met:

a) Program must consist at least 2 levels of class inheritance;

b) Each class should have at least 3 attributes, 2 methods and 1 constructor;

Page 2: Case Study New Gen Watches Assignment 1

c) At least one class contain overloading class constructors;

d) Perform overriding methods;

e) Each class should has at least a method to set new values and to retrieve the values of the class

attributes;

f) Create an array(s) with maximum size of 10 to store or record the watches you have created.

g) Your system MUST provide the following functions to manage the operations for the retail shop:

Menu - Display main menu optionsAdd function - Ability to add different new watches and add in an arrayDelete function - Ability to delete an existing watch from the arrayEdit function - Ability to modify the information of an existing watch.View - Ability to view all the list of watches created in the record.Exit - Exit from the program

h) Your system should be able to provide all the functions listed in (g) above continuously based on user

selection.

i) Write a special method in the main file to pre-define at least five (5) objects of each class in the record.

Eg. 5 analog watches and 5 smart watches.

j) Submit a report contains UML class diagram of your classes design and the screenshot of your

program output. Your report should not exceed more than 3 pages (not including cover).

Report Format : Times New Roman, font size 12, spacing 1.5, justified.

k) You are encouraged to use your own creativity and ideas to design your classes and functions to make

your system reusable and maintainable.

4 Submission

All documents must be submitted via the link provided in Morpheus latest by 6 April 2015 at

5.00pm. Any late submission will get 10% penalty marks per day.

Submit your answer in Zip files containing your report (.pdf) and working C++ source codes

(.cpp). Use the following naming format for submission:

GroupNo#.zip

E.g: Group01.zip

Each group is required to submit only one copy of group assignment.

Files submitted with incorrect format will not be entertained.

Any plagiarism (similarity between two files that is over 50%) will be graded as a zero for the

two files.

Wee Bui Lin, 03/15/15,
View All customers, dvd and bluerays individually class instead of rental info.
Wee Bui Lin, 03/15/15,
3-5 objects for each class should be enough
Page 3: Case Study New Gen Watches Assignment 1

5 Marking Scheme

The total marks for this assignment marking scheme is 100 (Will be converted into 10%). The marking scheme for this assignment is as follows:

No Criteria Requirements Marks1 Working Program (70%)

Your program must be able to execute and satisfy all of the assigned requirements. A working program which satisfies all of the requirements automatically receives 65% of the total assignment mark.

Complete all functions with correct output (Add, Delete, Update and View)

20

Effective use and design of data structures such as arrays(none-0, simple – 5, Good-10)

10

Object-oriented conceptImplement at least 2 levels of inheritance class

Efficiency of OO conceptimplementation

Overriding & Overloading

10

5

10CreativityE.g. design interface, user friendly and etc.

10

Pre-defined data methodPre-set 5 objects for each class in code

5

2 Programming Style (20%)

Your program should use of appropriate name and comment style. Your code should be formatted in a readable way, with appropriately named variables, and your own helper functions defined whenever appropriate. Appropriate file management and use of header files are recommended. You should provide comments to explain each function defined in the program.  You should write comments describing the purpose of that function or class.

i. Comments on each file (Student name and matric number, Assignment number, and Date etc)

5

ii. Appropriate variables name 5iii. Readable code (Standardization and use of white spaces)

5

iv. Class descriptions and comments on function

5

3 Report (10%)

Your report should include the UML class diagram of your program and the screenshot of your program output. You must upload your assignment in Morpheus. Your report should not exceed more than 3 pages (not including cover) and you MUST USE UNIMAS assignment cover.

Format: Times New Roman, font size 12, spacing 1.5, justified.

i. UML Diagram on class design 6ii. Screenshot of outputshort description

4

4 Penalties

Penalties will be given to the group if you are not following all of the criteria mentioned above. To avoid any late submission penalties, you must submit your assignment on or before the due date and due time. You MUST NOT copy your friends work.

Not able to open/execute the programMarks will be given based on criteria 2, 3 and partial of criteria 1 (maximum 15 marks

-70

iii. Late submission -50iv. Plagiarism -100