Create: a) trace table for the below scenario. b)flowchart for the below scenario. c)UML diagram for the below scenario. A gas station attendant in the 1950's performs a series of actions for every customer that comes in. The list is as follows. greet customer ask for required type of gas and amount ask whether customer needs other services ask for required amount of money give money to cashier wait for change and receipt give change and receipt to customer say thank you and goodbye. He does not follow these actions when he is not on shift or when there is no customer to serve. There should also be instructions for when to stop performing an action. Think about how this might be created in a computer program.
Create:
a) trace table for the below scenario.
b)flowchart for the below scenario.
c)UML diagram for the below scenario.
A gas station attendant in the 1950's performs a series of actions for every customer that comes in. The list is as follows.
greet customer
ask for required type of gas and amount
ask whether customer needs other services
ask for required amount of money
give money to cashier
wait for change and receipt
give change and receipt to customer
say thank you and goodbye.
He does not follow these actions when he is not on shift or when there is no customer to serve. There should also be instructions for when to stop performing an action. Think about how this might be created in a computer program.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images