Development
3 Basics of C
CHAPTER OUTLINE
1.1
Program Development Methodologies
1.2
Programming Style
1.3
Stepwise Refinement and Modularity
1.4
Problem Solving Techniques
1.5
Algorithm
1.6 Flowcharts
1.7
Pseudocode
1.8 Sequence and Selection
1.9 Iteration and Recursion
1.10
Recursion vs Iteration
1.11
Overview of Compilers and Interpreters
1.12
Structure of a C Program
1.13 Programming Rules
1.14 Executing the Program
Exercises
1.1 PROGRAM DEVELOPMENT METHODOLOGIES
The programs in a high level language can be developed by different techniques. The different
techniques are as follows.
Monolithic Programming
a) In monolithic programming languages, both in assembly and high level languages such as
BASIC and assembly level languages of processor, the data variables declared are global and
the statements are written in sequence.
b) The program contains jump statements such as goto that transfers control to any statement
as specified in it (see Fig. 1.1). The global data can be accessed from any portion of the
program. Due to this reason, the data is not fully protected.
c) The concept of sub-programs does not exist and hence this technique is useful for small
programs.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.144.56