Apply the Java concepts that you learned (OOP, polymorphism, interfaces, packaging, ...) as well as SOLID design principles to design/extend a Parking Garage application and implement it using the Java/C++ programming language. This application manages a parking space for a configurable maximum number of vehicles. The designed application must handle the following functions: • Each garage slot has a width and depth that describes the slot dimensions. The garage consists of a configurable maximum number of slots with different dimensions. Each vehicle shall be identified by a model name, unique identification number, Model year and vehicle dimensions (width and length). Park-in function that marks the arrival time of a vehicle if there is an available slot that matches vehicle dimensions. The slot selection for vehicle park-in could be done using multiple algorithms: First Fit selection where the first slot with big enough dimension to host the vehicle will be selected Best Fit selection where the slot with the best dimension match should be used where the wasting area of the slot is minimized. Slot selection algorithms could be extended in the future version of the application. Park-out function that marks the departure time of a vehicle Calculate the parking fees during the park-out based on the time-of-stay with an hourly rate that depends on the slot dimensions i.e slot with width = 120cm and depth = 200cm could cost 10 EGP per hour. These costs should be configured during the slots configuration during application startup Calculate the total income as well as the total number of vehicles that used the parking garage at any given point in time. Display the available parking slots for specific vehicle dimensions. Enrich your application with the capability to handle a set of exceptions that can happen during user interaction and through any other calculations. The displayed error message for exceptional behavior should be descriptive.
Apply the Java concepts that you learned (OOP, polymorphism, interfaces, packaging, ...) as well as SOLID design principles to design/extend a Parking Garage application and implement it using the Java/C++ programming language. This application manages a parking space for a configurable maximum number of vehicles. The designed application must handle the following functions: • Each garage slot has a width and depth that describes the slot dimensions. The garage consists of a configurable maximum number of slots with different dimensions. Each vehicle shall be identified by a model name, unique identification number, Model year and vehicle dimensions (width and length). Park-in function that marks the arrival time of a vehicle if there is an available slot that matches vehicle dimensions. The slot selection for vehicle park-in could be done using multiple algorithms: First Fit selection where the first slot with big enough dimension to host the vehicle will be selected Best Fit selection where the slot with the best dimension match should be used where the wasting area of the slot is minimized. Slot selection algorithms could be extended in the future version of the application. Park-out function that marks the departure time of a vehicle Calculate the parking fees during the park-out based on the time-of-stay with an hourly rate that depends on the slot dimensions i.e slot with width = 120cm and depth = 200cm could cost 10 EGP per hour. These costs should be configured during the slots configuration during application startup Calculate the total income as well as the total number of vehicles that used the parking garage at any given point in time. Display the available parking slots for specific vehicle dimensions. Enrich your application with the capability to handle a set of exceptions that can happen during user interaction and through any other calculations. The displayed error message for exceptional behavior should be descriptive.
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
100%
CLASS DIAGRAM FOR THESE REQUIRMENTS
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 8 steps
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY