Question: HW-03A: Elevator Flowchart A two-story building uses a simple elevator to carry its tenants. A switch is located on each floor to call the elevator:


HW-03A: Elevator Flowchart A two-story building uses a simple elevator to carry its tenants. A switch is located on each floor to call the elevator: t switch on the first floor and switch on the second floor. Two switches are available inside the elevator: one to go to the first floor ( button) and the other to go to the second floor ( button). No other facilities such as emergency stop open door close door etc. are supported by the elevator. A flowchart for the control of the elevator is attached. Work to do and document to submit: 1. Verify that the flowchart is unstructured by identifying the parts of the flowchart that cannot be reduced to a rectangle. 2. Transform the flowchart so that it is structured and maintains the same flow of logic as the 3. Translate the structured flowchart into pseudocodes. Legends for the flowchart: 1. Safely close door: A set of instructions (not shown) to close the door safely. It will check to unstructured flowchart. (Use Visio to draw the transformed flowchart) see if there is an obstruction (people, luggage, etc.) at the door way before closing the door. The door will remain open if there is an obstruction. Similar set of instructions for the sliding door have been discussed in class 2. Floor 1 calls: Someone on the first floor calls the elevator; that is, someone pushes the t 3 Floor 2 calls someone on the second floor calls the elevator; that is, someone pushes the 41st button pressed: Someone inside the elevator wants to go to the first floor, that is, 5 2d button pressed: Someone inside the elevator wants to go to the second floor; that is button on the first floor. button on the second floor. someone pushes the button inside the elevator. someone pushes the button inside the elevator
Step by Step Solution
There are 3 Steps involved in it
To address the tasks 1 Verify the Unstructured Parts of the Flowchart The flowchart is unstructured ... View full answer
Get step-by-step solutions from verified subject matter experts
