**Parking System Use Case Diagram** This diagram illustrates the interaction between a driver and an operator within a parking system. It uses UML notation to showcase a sequence of actions and decision points. Here is a detailed explanation: ### Actors: - **Driver**: Initiates actions to park and exit. - **Operator**: Interacts with the system when necessary. ### Use Cases: 1. **Push Button to Print Parking Permit**: - The process begins with the driver pressing a button to print a parking permit. This action involves interacting with an interface that generates a physical permit for parking. 2. **Raise Gate**: - Once the permit is printed, the gate rises to allow the vehicle to enter the parking area. 3. **Barcode Reader Scans Ticket, Fee is Calculated**: - When the driver is ready to exit, the barcode reader scans the ticket. The system calculates the parking fee based on the duration of the stay. 4. **Pay Fee**: - The driver follows the subsequent procedure to pay the calculated fee. This step ensures that the vehicle is ready for exit. 5. **Enter Command to Raise Gate**: - After the fee payment, the operator can enter a command to raise the gate, allowing the vehicle to exit. 6. **Lower Gate**: - After the vehicle exits, the gate lowers, resetting the system for the next vehicle. ### Flow: - The process is triggered by the driver, and the interactions between different states are labeled with “<>” to indicate inclusive relationships between the use cases. - The operator mainly intervenes at the stage of raising the gate post-payment if required. This use case diagram effectively models the workflow of a parking permit system, focusing on primary actions and the interactions between the driver and the operator.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Question

Using the attached use case diagram, and the following scenario description, create a statement diagram for the system described.   

Assignment: Parking Deck Problem

A parking deck system manages an entry/exit gate, which opens to let a vehicle (i.e., car) into or out of the deck and closes when the car has passed through. A driver must push a button to print a parking permit. When the driver takes the parking permit, the system raises the gate. The system lowers the gate after the vehicle has passed through. A permit id and time of entry is printed on the parking permit, and is also encoded on the permit’s bar code. When the vehicle leaves the parking deck, the driver inserts the parking permit into a bar code reader, which scans the bar code, and then transmits the bar code to the parking system. The parking system calculates a fee that is based on the number of hours that have elapsed since the vehicle entered the parking deck, and displays the fee to the operator and driver. The driver must pay the operator with cash or check. The operator accepts the payment, and if necessary returns change to the driver. Then, the operator enters a command to raise the gate to allow the vehicle to leave the parking deck.

You may assume that the system has the following external devices at the entry gate: a sensor to detect the presence of a car, a parking ticket printer to print the parking permit, an actuator to open and close the gate, and a sensor to detect that the car has departed. You may assume that the system has the following external devices at the exit gate: a bar code scanner to read the permit bar code id, a display to show the parking fee to the operator and driver, an actuator to open and close the gate, and a sensor to detect that the car has departed. 

 

 

 

 

**Parking System Use Case Diagram**

This diagram illustrates the interaction between a driver and an operator within a parking system. It uses UML notation to showcase a sequence of actions and decision points. Here is a detailed explanation:

### Actors:
- **Driver**: Initiates actions to park and exit.
- **Operator**: Interacts with the system when necessary.

### Use Cases:

1. **Push Button to Print Parking Permit**:
   - The process begins with the driver pressing a button to print a parking permit. This action involves interacting with an interface that generates a physical permit for parking.

2. **Raise Gate**:
   - Once the permit is printed, the gate rises to allow the vehicle to enter the parking area.

3. **Barcode Reader Scans Ticket, Fee is Calculated**:
   - When the driver is ready to exit, the barcode reader scans the ticket. The system calculates the parking fee based on the duration of the stay.

4. **Pay Fee**:
   - The driver follows the subsequent procedure to pay the calculated fee. This step ensures that the vehicle is ready for exit.

5. **Enter Command to Raise Gate**:
   - After the fee payment, the operator can enter a command to raise the gate, allowing the vehicle to exit.

6. **Lower Gate**:
   - After the vehicle exits, the gate lowers, resetting the system for the next vehicle.

### Flow:
- The process is triggered by the driver, and the interactions between different states are labeled with “<<Include>>” to indicate inclusive relationships between the use cases.
- The operator mainly intervenes at the stage of raising the gate post-payment if required.

This use case diagram effectively models the workflow of a parking permit system, focusing on primary actions and the interactions between the driver and the operator.
Transcribed Image Text:**Parking System Use Case Diagram** This diagram illustrates the interaction between a driver and an operator within a parking system. It uses UML notation to showcase a sequence of actions and decision points. Here is a detailed explanation: ### Actors: - **Driver**: Initiates actions to park and exit. - **Operator**: Interacts with the system when necessary. ### Use Cases: 1. **Push Button to Print Parking Permit**: - The process begins with the driver pressing a button to print a parking permit. This action involves interacting with an interface that generates a physical permit for parking. 2. **Raise Gate**: - Once the permit is printed, the gate rises to allow the vehicle to enter the parking area. 3. **Barcode Reader Scans Ticket, Fee is Calculated**: - When the driver is ready to exit, the barcode reader scans the ticket. The system calculates the parking fee based on the duration of the stay. 4. **Pay Fee**: - The driver follows the subsequent procedure to pay the calculated fee. This step ensures that the vehicle is ready for exit. 5. **Enter Command to Raise Gate**: - After the fee payment, the operator can enter a command to raise the gate, allowing the vehicle to exit. 6. **Lower Gate**: - After the vehicle exits, the gate lowers, resetting the system for the next vehicle. ### Flow: - The process is triggered by the driver, and the interactions between different states are labeled with “<<Include>>” to indicate inclusive relationships between the use cases. - The operator mainly intervenes at the stage of raising the gate post-payment if required. This use case diagram effectively models the workflow of a parking permit system, focusing on primary actions and the interactions between the driver and the operator.
AI-Generated Solution
AI-generated content may present inaccurate or offensive content that does not represent bartleby’s views.
steps

Unlock instant AI solutions

Tap the button
to generate a solution

Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education