Chapter 3

Top-Down Design

Objectives

After reading this chapter, you should understand:

  • The Top Down Design method
  • The importance of Program Design by the Top Down method and Structured Programming
  • Various Control Constructs found in modern High Level Languages
  • The inter-relationship of Top Down Design and Structured Programming
  • The order in which a Recursive Function executes its statements

Chapter Outline

3.1 Introduction

3.2 Structured Programming

3.3 Control Constructs

3.3.1 IF-THEN-ELSE

3.3.2 FOR-DO

3.3.3 CASE

3.3.4 REPEAT-UNTIL

3.3.5 WHILE-DO

3.3.6 Goto and ExitLoop

3.4 Procedures and Functions

3.5 Recursion

3.5.1 Order of Execution of Statements in a Recursive Function

 

 

3.1 INTRODUCTION ...

Get Design and Analysis of Algorithms now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.