Part 1: Answer the Module Review Questions listed below. These questions were chosen to demonstrate your understanding and help you assess your progress.
- What is the purpose of creating a logical process model and then a physical process model? What information is found on the physical DFD that is not included on the logical DFD?
- Distinguish between a control module, subordinate module, and library module on a structure chart. Can a particular module be all three? Why or why not?
- Where does the analyst find the information needed to create a structure chart? Describe the purpose of program specification.
- What is the difference between structured programming and event-driven programming?
Part 2: Module Practice:
Critique the following structure chart that depicts a guest making a hotel reservation. Describe the chart in terms of fan-in, fan-out, coupling, and cohesion. Redraw the chart to improve the design.
(structure chart is attached)
End of Module Questions – Part 2
Critique the following structure chart that depicts a guest making a hotel reservation. Describe the chart in terms of fan-in, fan-out, coupling, and cohesion. Redraw the chart to improve the design.
( 1 RESERVE ROOM )
( Hotel Full ) ( Reservation Record ) ( Preference Record ) ( Guest ID ) ( Updated Customer Record ) ( 1.1 LOCATE AVAILABLE ROOM ) ( 1.2 READ GUEST RECORD ) ( 1.3 ASSIGN ROOM AND PREFERENCE INTO ) ( 1.4 WRITE UPDATED CUSTOMER RECORD ) ( 1.5.1 WRITE NEW RESERVATION ) ( 1.5.2 PRINT RESERVATION CONFIRMATION ) ( 1.2.1 EDIT NEW GUEST RECORD ) ( 1.2.2 EDIT OLD GUEST RECORD ) ( 1.5 OUTPUT RESERVATION ) ( Date ) ( New Guest Record ) ( Old Guest Record ) ( Updated Reservation Record )
1