O'Reilly logo

Design and Analysis of Algorithms by Himanshu B. Dave, Parag H. Dave

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required