PROGRAM DESIGN CONCEPTS AND TECHNIQUES 1202022 2006 ITT

  • Slides: 10
Download presentation
PROGRAM DESIGN CONCEPTS AND TECHNIQUES 1/20/2022© 2006 ITT Educational Services Inc. Structured Programming :

PROGRAM DESIGN CONCEPTS AND TECHNIQUES 1/20/2022© 2006 ITT Educational Services Inc. Structured Programming : Unit 1 Slide 1

Objectives • • • Describe the system development life cycle. List the benefits of

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. 1/20/2022© 2006 ITT Educational Services Inc. Structured Programming: Unit 1 Slide 2

System Development Life Cycle (SDLC) • • • Analyze the current system Define new

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 1/20/2022© 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

Program Development Cycle (PDC) Review input, processing and output requirements Design the logic Write code Test and debug Document 1/20/2022© 2006 ITT Educational Services Inc. Structured Programming: Unit 1 Slide 4 Repeat

Structure Chart Order Entry Program A 000 Get Order Info Process Order B 000

Structure Chart Order Entry Program A 000 Get Order Info Process Order B 000 B 010 Verify payment Remove from Inventory C 010 C 000 1/20/2022© 2006 ITT Educational Services Inc. Structured Programming: Unit 1 Slide 5 Generate shipping label C 020

Class Diagram Customer Order. Head Order. Detail Line. Item 1/20/2022© 2006 ITT Educational Services

Class Diagram Customer Order. Head Order. Detail Line. Item 1/20/2022© 2006 ITT Educational Services Inc. Structured Programming: Unit 1 Slide 6

Control Structures If Then Else Simple Sequence If condition Input Do. That Do. This

Control Structures If Then Else Simple Sequence If condition Input Do. That Do. This Process A Loop Process B Output condition Yes Do. This 1/20/2022© 2006 ITT Educational Services Inc. Structured Programming: Unit 1 Slide 7 No Do. That

System Flowchart Sales Data 1/20/2022© 2006 ITT Educational Services Inc. Structured Programming: Unit 1

System Flowchart Sales Data 1/20/2022© 2006 ITT Educational Services Inc. Structured Programming: Unit 1 Slide 8 Weekly Sales Program Weekly Sales Report

Start Read Reg. Sales, Sales Regcom = Reg. Sales *. 06 Program Flowchart Sales.

Start Read Reg. Sales, Sales Regcom = Reg. Sales *. 06 Program Flowchart Sales. Com = Sales *. 03 Pay = Reg. Com+Sales. Com + 200 Write Pay Stop 1/20/2022© 2006 ITT Educational Services Inc. Structured Programming: Unit 1 Slide 9

Summary In this unit you learned: • The benefits of structured programming. • The

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: Ø Ø • The three basic control structures: Ø Ø Ø • Algorithms Structure charts Class charts Flow charts Sequence Conditional Loop The ways to test a program's design Ø Ø Ø Informal design review Structured walkthroughs Desk checking 1/20/2022© 2006 ITT Educational Services Inc. Structured Programming: Unit 1 Slide 10