Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Submit your solution document in the form of a single MS Word file on or before the cut-off date shown above.

Important notes:

1. Please use the symbols, notations and naming conventions introduced in the course.

2. For questions in this TMA that require coding answers, marks are allocated for good programming practice such as:
- using indentation to reflect the structure of the code;
- using parentheses, where appropriate, to make code more readable;
- supplying appropriate method comments;
- using appropriate programming constructs to produce a neat and efficient solution;
- complying with the naming conventions introduced in the course;
- effective reuse of available methods.

Question 1

You should be able to answer this question once you have studied Unit 2 (The Object- Oriented Approach) and Unit 4 (Modularity) of the course notes. The objectives of this question are:
- to analyse a simple set of requirements for their classes and attributes;
- to explain the object-oriented approach in system analysis and design
o to explore the issue of "thing versus property";
o to describe the concepts behind modular software design;
o to recognize an inheritance hierarchy;
o to implement a generalization relationship.
- to construct basic class diagrams in system analysis.

Notebook Computer Servicing Pte Ltd owns four notebook servicing centers. A notebook serviced by a service center belongs either to an individual or a corporate body registered with the service center. Each service center employs several technicians to carry out the servicing.

Notebook Computer Servicing requires a system to support its administrative functions as follows:

- Given the location of a service center, the system will provide the name, contact number and qualifications of each technician currently employed by the service center.

- During peak seasons, the company employs part-time technicians to assist the full- time technicians and these part-time technicians are paid on an hourly rate and the system needs to keep track of the number of hour worked.

- In response to an enquiry on corporate customers, the system will, for each service center, provide a list containing the business name and email address of each company registered with that service center. For each such company, the system will list the brand, model and serial numbers of all notebooks serviced by the service center.

- Given the location of a service center, and the service number of a servicing that it had carried out, the system will provide the date of the servicing and the serial number of the notebook that was serviced. If the notebook is owned by an individual, the system will provide the name and phone number of that person; otherwise, it will provide the name of the company that owns the notebook. For a major servicing, the system will also provide details of the parts changed in the servicing, and the name of all technicians who participated in that servicing.

Analyze the above case description, and answer the following questions:

(a) Identify the classes, and their respective attributes, from the above description, using the tabular format in Table Q1(a) below:

Class

Attribute(s)

 

 

 

 

(b) Identify the class hierarchy or hierarchies among the classes, naming each class appropriately. Discuss why there should be such a hierarchy or hierarchies with reference to the case description.

(c) Explain whether there should be any abstract class(es) in the class hierarchies or hierarchies in (b) above.

(d) Draw a UML diagram(s) to depict the class hierarchy or hierarchies. Show the attributes (including their respective visibilities and data types) for each class. You need not include the methods.

(e) Write Java code to implement the Customer class. Include the instance variables, constructors (with necessary parameters), the setter and getter methods, and the toString() method.

(f) Notebook Computer Servicing Pte Ltd offers a discount of 10% and 20% to individual and corporate customers respectively.

(i) Explain how this could be provided in the system.
(ii) Write Java code in the classes concerned to implement this.

Question 2

You should be able to answer this question once you have completed Study Unit 3. The objective of this question is to understand the choice and characteristic of collection classes. For each of the following situations,
- write down the name of the collection class you think is most suitable model;
- give a brief justification for your choice;
- write Java code to create an instance of the collection class you have chosen, assign it to a suitably named variable, and add the example elements given in the description of the collection.

(a) A registrar needs to organize the attendees of a course in alphabetical order. As participants register for the course, they are placed automatically in ascending order of their names. Mary Jane, John Doe and Ali Ahmad are the first 3 participants to register for the course

(b) The patrons waiting at a very popular eatery are given a queue number upon arriving at the eatery when all the tables are occupied. The eatery may serve patrons in a sequence that does not follow the queue number due to special reasons (eg premium member, or different sized table available etc). The patrons are called by a number displayed at the waiting area. The first 3 families waiting for a seat are the Lees, the Wongs and the Tans.

(c) An online shopping site wants to keep track of its members and their delivery address. At any point in time, when the member makes payment, the system can automatically retrieve the delivery address. "Mary" (userID mary77) living at "67 Jalan Perminpin", "Jane" (userID prettyGal88) living at "64 Woodlands Drive" and "John" (userID johnXYZ) living at "8 Sims Drive" are three members of the online site.

Question 3

You should be able to answer this question after you have studied Study Unit 6 (User Interface Design Principles) and Unit 8 (User Interfaces Development). The objectives of this question are:

- to understand the use of scenarios;
- to apply the design principles for user interfaces.

A MediaCorp's online service, which you could visit at the following link: http://www.toggle.sg/en/.

Three widgets are circled and labelled A, B and C.

2075_Figure.jpg

The rights of toggle.sg is hereby acknowledged.

After exploring what each of these three widgets can do, describe and discuss:
- its visibility;
- its affordance;
- its feedback for the operations you carried out with it (note that feedback from activating the widget is different from any feedback provided by the resulting action);
- how each of the above aspects could be improved;
- the effect of prior similar experience of the user when interacting with the user interface.

Question 4

You should be able to answer this question after you have studied Study Unit 9 (Use Cases). The objectives of this question are:
- to analyze specified system requirements;
- to construct use case models in systems analysis.

Uni Institution is a new private institution that is involved in running full-time diploma courses, part-time diploma courses and short industrial courses.

Uni Institution intends to develop a system to track its activities (such as classes, class sessions etc), enrolments, revenues and expenses (such as lecturers' remunerations). Uni Institution directors are able to generate financial reports to view revenues and expenses of the institution.

The system allows lecturers to view all the available courses for the up-coming semester and subsequently if they feel that they can commit to the schedule of the course, indicate their availability. Once the course has been assigned to the lecturer, the lecturer is able to view and if they prefer, print the course student list.

The list of diploma courses and short courses are available to the general public for viewing. Students can register for courses with the institution or get the registrar to do so on their behalf. They will then have their particulars (name, contact information, health condition, injury history, etc.) recorded, and their names added to a mailing list. They are also asked to sign an undertaking to indemnify Uni Institution from injury liability.

Students can choose between 2 modes of payment. The payment modes are:
- One time deduction
- Giro deduction

For Giro deduction, the system needs to clear the payment with the bank system.

The system should help the registrar to develop the content for a course, schedule the course, and assign a lecturer to each course.

The registrar handles and records students enrolling with the institution, attending classes, and making payments. In addition, the registrar also maintains the lecturers and students information.

Construct a use case diagram for the application (notice that there is a generalization hierarchy among the actors).

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91972016

Have any Question?


Related Questions in Computer Engineering

What statistic was calculated to determine differences

What statistic was calculated to determine differences between the intervention and control groups for the lumbar and femur neck BMDs? Were the groups significantly different for BMDs?

The measurements of the diametersnbspin inches of 12

The measurements of the diameters? (in inches) of 12 randomly chosen golf balls are listed. At alpha (α) = 0.05?, is there enough evidence to reject the claim that the standard deviation of the measurements of these diam ...

With regards to data mining business analytics why is it

With regards to data mining/ business analytics, Why is it not ideal to evaluate a classifier's performance on the training data set?

What are some of the skill sets required for the various

What are some of the skill sets required for the various aspects of cloud administration. Are there any certifications related to cloud computing? Is there value in obtaining one of these certifications?

What are the differences between the federal deficit and

What are the differences between the Federal deficit and Federal Debt? How does a government budget deficit affect the economy, specifically the unemployment rate and job creation? Identify two periods in recent history ...

Write a program in java to satisfy the following create a

Write a program in Java to satisfy the following : Create a class to store information on Network infrastructure assets. Network Infrastructure Asset may include PCs, Monitors, Switches, Routers, Cables, Access Points et ...

Question i you are part of a disaster recovery team charged

Question: I. You are part of a disaster recovery team charged with completing the asset inventory at a small business that primarily sells a small selection of products to the public. 2. Establish a sample hardware asset ...

Discuss the relationship between fundamental analysis and

Discuss the relationship between fundamental analysis and intrinsic value. Include real-world examples in your explanation.

Tasks1 what options does personal trainer have for

Tasks: 1. What options does Personal Trainer have for developing a new system? What are some specific issues and options that Susan should consider in making a decision? 2. Susan has been asked to prepare a system requir ...

What is the role of arp and how does it cause a security

What is the role of ARP and how does it cause a security concern? What is the different between global and private IP addresses? How does using NAT change a private IP address into a global IP address, and why is this so ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As