structured

structured - Programming Structured Programming og...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
Structured Programming Programming
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
rog Fundamentals I: Structured Programming /Slide 2 Structured Programming Structured programing is the set of design and implementation processes that yield well- structured programs.
Background image of page 2
rog Fundamentals I: Structured Programming /Slide 3 Structured Programming A disciplined approach to programming Top-down design Step-wise refinement using a restricted set* of program structures * The set of program structures used in structured programming is: Sequence Choice Loop
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
rog Fundamentals I: Structured Programming /Slide 4 Top-Down Design A program is divided into a main module and its related modules. Each module is in turn divided into submodules until the resulting modules are understood without further division.
Background image of page 4
rog Fundamentals I: Structured Programming /Slide 5 Stepwise Refinement Any action can be another: Sequence Choice Loop condition action_x true false initialization update condition_x action_y true false
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
A Sequence It is natural to write a program as a sequence of program structures such as sequences, choices and loops. Action 1
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 15

structured - Programming Structured Programming og...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online