Design a finite automaton for an elevator. The elevator can be at one of two floors: Ground or First. There is one button that controls the…
Design a finite automaton for an elevator. The elevator can be at one of two floors: Ground or First. There is one button that controls the elevator, and it has two values: Up or Down. Also, there are two lights in the elevator that indicate the current floor: Red for Ground and Green for First.
From the SGCL Assistant General Engineer 2021 – Written (BUET) exam, question 13 of 14.
More from this paper
- Previous: A directory called SGFL exists in your home directory. Write a Linux command to create a link to it called "SGFL-Link" in the home…
- Next: There are different types of clocks available in the market. What type of clock will you use to reduce the cost of SGFL Company?
- All questions in SGCL Assistant General Engineer 2021 – Written (BUET)