13.07.2015 Views

Software Design 2e - DIM

Software Design 2e - DIM

Software Design 2e - DIM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

174Some design representationsFigure 7.41 Diagram for Exercise 7.3.7.3 Complete the Statechart in Figure 7.41 by adding the internal transitions and any furtherexternal ones.7.4 Draw a Statechart that describes the operation of a simple electric cooking ring. (Remember,even if the ring is switched on, it will not need current whenever its temperature is higherthan the selected level.)7.5 Choose a set of representations that you consider suitable for the most recent program thatyou have written, and use them to describe (or document) its structure.7.6 Draw a DFD that represents the processes involved in cooking and serving a three-coursedinner, including all such associated tasks as laying out the table. Seek to ensure that yoursolution does not impose any unnecessary assumptions about the sequencing of actions.7.7 Transform the Statechart in Figure 7.41 into an STD (consider only the lowest level states)and then into an STT. Using the latter, identify any inconsistencies and redraw the STD.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!