
62 Design and Analysis of Algorithms
3.1 Review the programming languages in this
chapter and fi nd out which of the structured
programming constructs discussed in this
chapter are directly available as a built-in facil-
ity. Also, show how the remaining ones can be
implemented by using a group of statements.
3.2 Rewrite at least one program out of the pro-
gramming problems at the end of Chapter 2.
Compare the advantages and disadvantages
of structured programming, with ad-hoc pro-
gramming, based on your observations.
3.3 There is a school of thought in computer sci-
ence which stipulates that use of Goto state-
ments in programming should be ...