
98 ◾ Computational Thinking for the Modern Problem Solver
e rows of a state-activity table come from potential user actions. e
user can click any of the four buttons (i.e., play, pause, increase volume, or
decrease volume). e other two user actions are to double-click a video
le icon or to double-click an active video display window.
e columns of the table represent the dierent potential states of the
application. e table in Figure4.3 identies four dierent states: (1) the
Video Player application has not yet started to execute; (2) the application
is executing but currently paused; (3) the video is playing; or (4) the video