B1. Control logic is required for a Drinks vending machine. Each drink costs 50 pence, and the machine accepts 10p, 20p
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
B1. Control logic is required for a Drinks vending machine. Each drink costs 50 pence, and the machine accepts 10p, 20p
B1. Control logic is required for a Drinks vending machine. Each drink costs 50 pence, and the machine accepts 10p, 20p and 50p coins. The coins have to be inserted one at a time, and if the wrong combination of coins is inserted, the coins are returned to the customer. Using the Algorithmic State Machine method, or otherwise: (a) Draw a state diagram of the system [14 Marks] (b) Derive the input, present state, next state and output table [8 Marks] (c) Specify what logic implementation method you would use [3 marks] [Total 25 Marks]
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!