Design a State Transition Diagram for the following ATM scenario.
When the customer inserts the bank or credit card in the ATM’s card reader, the entry action i.e. read card is performed by the ATM. If the card is not valid then the machine will perform exit action. After the card is being read successfully, the ATM will ask for Pin. Then the customer enters the pin and ATM then reads the pin. If the pin entered is not valid then the machine will perform exit action. If the pin entered is valid, then the machine further processes towards the transaction. After a successful transaction, the machine undergoes the exit action i.e., eject card that discharges the customer’s card.
Trending nowThis is a popular solution!
Step by stepSolved in 2 steps with 1 images
- You are tasked to design a system that will monitor and regulate the air flow in a hospital ward. The design should take inputs from all of the following four sensors: Sensor A has been set to trigger when the windows in the ward are open. Sensor B has been set to trigger when the relative level of moisture in the air has exceeded 30%. Sensor C is an anemometer and has been set to trigger when the rate of air flow at the ventilation grills has dropped below 20 m/s. Sensor D is a thermometer and has been set to trigger when the ambient temperature in the ward has exceeded 20°C. The system should operate based on the following conditions: • If the windows in the ward are closed, the system should switch on the air conditioning unit automatically if 1) the temperature is over 20°C and airflow rate is less 20m/s, or 2) temperature is over 20°C and humidity over 30%. • If the windows in the ward are open and the ambient temperature is over 20°C, the system should generate an alert. a)…arrow_forwardRead the following description to draw the state transition diagram. "A shaving machine is initially at OFF mode. It is turned into ON mode after pressing power button. Also, if it is at ON mode, it can be turned into Off mode by pressing on power button too. While the shaving machine is ON, it can be turned into SHAVING mode by pressing on shaving button. While it is in shaving mode, it can be turned into OFF mode by pressing on power button". Maximum file size: 10MB, maximum number of files: 1arrow_forwardtheory of computationarrow_forward
- A machine cycle is a four-step procedure that is completed in a single operation. Justify the machine cycle's relevance. Are there any drawbacks to swapping out the parts of a machine cycle? Does inter-module switching generate a problem that another module might solve?arrow_forwardChoose the correct answer in the picture below.arrow_forwardExplain the execution phase in a slapsharrow_forward
- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY