Question: Note: Read the given scenarios carefully. Scenario 1 Create a model of a lamp. When a lamp is off, press the button to turn on

Note: Read the given scenarios carefully. Scenario 1 Create a model of a lamp. When a lamp is off, press the button to turn on the lamp. If a user press button twice within 5 seconds, the lamp should be brighter. Otherwise pressing the button after 5 seconds, the lamp will turn off. When the lamp is brighter, it should be turned off in a single press. Scenario 2 Create a model of a parking system that has two types (free and occupied) of parking slots. There should be at least 5 parking slots and initially, a user can park the vehicle on any available parking slot. The parking administrator has decided to upgrade the existing parking system by integrating the parking reservation feature. Now a user can only park the vehicle on the assigned parking slot. After the parking, the user will also unpark the vehicle and the parking status will be updated as available. Assignment Requirements Perform the model checking of the given scenarios using the Uppaal model checker. Explain the deadlock state and it should not hold on any state. Take screenshots of each tab and tools that you have used and write a short description of each
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
