Skip to Main Content
Computational Thinking for the Modern Problem Solver
book

Computational Thinking for the Modern Problem Solver

by David Riley, Kenny A. Hunt
March 2014
Beginner to intermediate content levelBeginner to intermediate
405 pages
12h 16m
English
Chapman and Hall/CRC
Content preview from Computational Thinking for the Modern Problem Solver
178   ◾     Computational Thinking for the Modern Problem Solver
Figure 6.13 adds behaviors to the gasoline pump state diagram.
e transitions and associated events in Figure6.13 are the same as in
Figure6.12. e only dierence is that actions have been added.
An entry action is appropriate whenever the action needs to occur upon
a transition into the state. Entering the Verifying state causes the custom-
er’s credit card to be checked for validity and entering the Receipt state
cause the customer’s receipt to be printed. Exit actions occur whenever a
transition is made from a state. Sometimes an equivalent state diagram
can be drawn by substit ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

From Computing to Computational Thinking

From Computing to Computational Thinking

Paul S. Wang

Publisher Resources

ISBN: 9781466587793