Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The main objective of this course is to become aware of how Object-Oriented Programming can help improve the Productivity of businesses by using a

The main objective of this course is to become aware of how Object-Oriented Programming can help improve the

The main objective of this course is to become aware of how Object-Oriented Programming can help improve the Productivity of businesses by using a collection of objects to solve business problems through a computer-based solution. Class diagrams are excellent tools to communicate between programmers and business analysts about the requirements of a particular business problem, opportunity, or directive. CONSIDER THE FOLLOWING SCENARIO. A large university needs to offer parking spaces to employees, students, and visitors. Now most of the work is done manually, but as many more people decide to use their vehicles it has become more problematic to keep track of this service. There is a need for a new computer system that will help them manage it. A business consultant has identified the following 7 classes that interact to get the process running: Parking Official, Parked Car, Parking Lot, Parking Space, Reserved Parking Space, Visitor Parking Space, and the Parking Ticket. The parking official is the one responsible for checking that parked cars have a permit to be in a reserved parking space or have purchase some time to use a visitor parking space. When that is not the case, they write a parking ticket indicating the reason and the amount of the infraction in Canadian dollars. The ticket must identify the parked car's make, model, colour, and licence number. It also must identify the parking lot by name, and the parking space number. Finally, it should also indicate the name of the official writing the ticket and their id number. Draw an UML Class Diagram that best describe how objects interact in this system. In this diagram you include their attributes and their methods.

Step by Step Solution

3.34 Rating (151 Votes )

There are 3 Steps involved in it

Step: 1

UML Class Diagram for Parking Management System Code snippet startuml class ParkingOfficial id int name string checkParkingPermitparkedCar ParkedCar writeParkingTicketparkedCar ParkedCar class ParkedC... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Management Accounting

Authors: Leslie G. Eldenburg, Albie Brooks, Judy Oliver, Gillian Vesty, Rodney Dormer, Vijaya Murthy, Nick Pawsey

4th Edition

0730369382, 978-0730369387

More Books

Students also viewed these Programming questions

Question

Compute the derivative of f(x)cos(-4/5x)

Answered: 1 week ago

Question

Discuss the process involved in selection.

Answered: 1 week ago

Question

Differentiate tan(7x+9x-2.5)

Answered: 1 week ago

Question

Explain the sources of recruitment.

Answered: 1 week ago