分不够多了,只好先给这么点啦~一题20分
1.A video software has 3 buttons: Play, Pause, Step Forward. Initially, only play button is visible. When user clicks play button, it starts to play video and only pause button is visible. Click pause, only play and step forward buttons are visible. Complete the state machine table below with 3 states: Play, Pause, Null.
State \ Event Click Play button Click Pause button Click Step Forward button
Init
Play
Pause
2.
In a simple game, a ball is moving along a line from the left end toward the right end.
Show UML class diagram
------解决方案--------------------
1: \ EventClick | Play buttonClick | Pause buttonClick |Step Forward button
State
Init Play Null Null
Play Pause Play Null
Pause Play Pause Play
2:不好显示图表