Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A small system is required that will help manage cars at a parking site for a company. You are to develop a system that

A small system is required that will help manage cars at a parking site for a company. You are to develop a

A small system is required that will help manage cars at a parking site for a company. You are to develop a system that includes the following three classes: . CarPark class .ParkingSlot class . Car class CarPark is responsible for maintaining a list of available parking slots. You should be able to find a slot, add a slot, delete a slot, and provide a list of all slots included in the car park. There are two types of parking slots: slots only for visitors and slots only for staff members. A parking slot must have an identifier, which starts with a capital letter, followed by a two- digit number e.g. "D01", "E27". A parking slot also should know if a car and what car is parked in the slot. You must be able to add a car to the slot and remove a car from the slot. A car will be identified by its registration number. A registration number always starts with a capital letter, followed by a four-digit number e.g. "T2345". A car should have an owner and knows if the owner is a staff member. For the purpose of this assessment, you should NOT maintain a list of parked cars in any of your classes. Submission You may use whatever tools to draw the class diagram, or draw by hand on a piece of paper and then take a photo. To submit, upload a picture, a Word, or a PDF file to the ESP site for assessment. Marking scheme 1. A proper class diagram representations (6 marks) a: correct class names b: proper attributes (visibility, meaningful names, and types) c: proper methods (visibility, meaningful names, parameters, and return types) 2. Proper class relationships (2 marks) 3. Proper multiplicities (2 marks)

Step by Step Solution

3.36 Rating (162 Votes )

There are 3 Steps involved in it

Step: 1

a prompt for creating a system to manage cars in a company parking lot It specifies three classes to be included CarPark ParkingSlot and Car Heres a breakdown of the functionalities of each class CarP... 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_2

Step: 3

blur-text-image_3

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

Core Concepts Of Accounting Information Systems

Authors: Nancy A. Bagranoff, Mark G. Simkin, Carolyn Strand Norman

11th Edition

9780470507025, 0470507020

Students also viewed these Programming questions

Question

Who the major money market participants are? LO.1

Answered: 1 week ago

Question

Describe three forms of conflict from the work of Lewin.

Answered: 1 week ago

Question

What are the functions of top management?

Answered: 1 week ago

Question

Bring out the limitations of planning.

Answered: 1 week ago

Question

Why should a business be socially responsible?

Answered: 1 week ago

Question

Discuss the general principles of management given by Henri Fayol

Answered: 1 week ago