Object-oriented approach in system analysis and design

Assignment Help Computer Engineering
Reference no: EM131216039

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: https://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).

Reference no: EM131216039

Questions Cloud

Write the bginning and the conclusion of the essay : Review the essay. The Essay topic is : "Apple and the San Bernardino". - Write the bginning and the conclusion of the essay.
Identify the professional fit for advanced nursing role : Implement your new nursing role in the organization. Identify a board of nursing in your state (specifically the Nurse Practice Act), which would support your role in this type of organization.
What importance could adsl have as a medium-term solution : Explain using concrete examples the enormous appetite of multimedia applications for transmission capacity. What importance could ADSL have as a medium-term solution.
Prepare projected income statement for the months : The company has received a large order and anticipates the need to go to the bank to increase its borrowings. As a result, it has to forecaset its cash requirements for January, February and March this year. Prepare a cash budget for the months of Ja..
Object-oriented approach in system analysis and design : ICT203 - Foundations of Modern Systems Design - Construct a use case diagram for the application (notice that there is a generalization hierarchy among the actors).
Write a seven pages essy about presidential clinton and trum : Write a seven pages essy about presidential Clinton and Trump. Background Information on Presidential Candidates Clinton and Trump.
Why is compression not always loss-free : Audio and video signals are lossily compressed, but program and text files are not. Try to show the boundary between the two kinds of compression. Why is compression not always loss-free?
Discuss the pros and cons of high-stakes testing : Discuss age and sex differences in children's adjustment to remarriage and entry into blended families. Describe the benefits and challenges of being reared as an only child. How does the development of Chinese only children compare to the U.S. on..
Create a portfolio page for yourself : SYST10049: Assignment. Create a portfolio page for yourself. This should be the home page of your website. You will use it to showcase your work. Call it Home.html. Include your name and program

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd