Simple programming


Programming
1.                  Monolithic Programming.
i.                    Flat physical structure.
ii.                  Global data and sequential code.
iii.                Jumps are allowed.
iv.                No structures are allowed.
Ex:       Assembly language, BASIC
2.                  Procedural Programming.
i.                    Subroutines are allowed.
ii.                  Data all are global.
iii.                Jumps and calls are included.
Ex:       FORTRAN and COBOL
3.                  Structural Programming.
i.                    Data security is less.
ii.                  Data all are not global. (It is based on it's declaration).
iii.                Parameter passing.
iv.                Controlled scope of data.
v.                  User defined data type.
vi.                Modular programming.
Ex:       Pascal and 'C'
4.                  Object Oriented Programming.
This concept is obtained through data abstraction. The main building block in OOP (Object Oriented Program) is object. Objects can describe anything in worlds.
There are 2 categories:
i.                    Object Based Programming Language:(ADA)
ii.                  Object Oriented Programming.

Features of C Language:
1.                  C is a middle level language, easy to use.
2.                  C is reliable & portable across different environments.
3.                  C is a system programming language.
4.                  C is a structured programming language.
5.                  C is a free form language.
6.                  C is case sensitive.
7.                  C supports DMA (Dynamic Memory Allocation)
8.                  C allows us to work with memory of system.

No comments: