PROGRAM DESIGN CONCEPTS AND TECHNIQUES 11/13/2018© 2006 ITT Educational Services Inc. Structured Programming : Unit 1 Slide 1
Objectives Describe the system development life cycle. List the benefits of structured programming. Identify the three basic control patterns. Identify the symbols used in creating a flowchart. Create a flowchart that describes a sequence control program. Create an algorithm that describes a sequence control program. 11/13/2018© 2006 ITT Educational Services Inc. Structured Programming: Unit 1 Slide 2
System Development Life Cycle (SDLC) Analyze the current system Define new system requirements Design the new system Develop the new system Implement the new system Evaluate the new system 11/13/2018© 2006 ITT Educational Services Inc. Structured Programming: Unit 1 Slide 3
Program Development Cycle (PDC) Review input, processing and output requirements Design the logic Write code Test and debug Repeat Document 11/13/2018© 2006 ITT Educational Services Inc. Structured Programming: Unit 1 Slide 4
Structure Chart Order Entry Program A000 Get Order Info B000 Process Order B010 Verify payment C000 Remove from Inventory C010 Generate shipping label C020 11/13/2018© 2006 ITT Educational Services Inc. Structured Programming: Unit 1 Slide 5
Class Diagram Customer Order OrderHead OrderDetail LineItem 11/13/2018© 2006 ITT Educational Services Inc. Structured Programming: Unit 1 Slide 6
Control Structures If Then Else Simple Sequence If condition Input DoThat DoThis Process A Loop Process B condition No DoThat Output Yes DoThis 11/13/2018© 2006 ITT Educational Services Inc. Structured Programming: Unit 1 Slide 7
System Flowchart Sales Data Weekly Sales Program Weekly Sales Report 11/13/2018© 2006 ITT Educational Services Inc. Structured Programming: Unit 1 Slide 8
Program Flowchart Start Read RegSales, SalesSales Regcom = SalesCom = SalesSales *.03 Pay = RegCom+SalesCom + 200 Write Pay Stop 11/13/2018© 2006 ITT Educational Services Inc. Structured Programming: Unit 1 Slide 9
Summary In this unit you learned: The benefits of structured programming. The steps in a program design cycle. The methods of designing a program, including: Algorithms Structure charts Class charts Flow charts The three basic control structures: Sequence Conditional Loop The ways to test a program's design Informal design review Structured walkthroughs Desk checking 11/13/2018© 2006 ITT Educational Services Inc. Structured Programming: Unit 1 Slide 10