मराठी

Programming Techniques

Advertisements
Maharashtra State Board: Class 11

Programming Techniques

Before programming user has to decide the method in which program is to be developed There are two basic techniques 
1) Structured programming
2) Modular programming      

1) Structured Programming 
The program is developed in a hierarchy of modules, where module refers to a subprogram in the main program. It is a top-to-bottom approach. In this technique three basic structures are normally adopted, such as 
1) A simple sequence 
2) A selection by decision 
3) A repetition 

2) Modular Programming 
A main module is prepared just by writing instructions of control. Submodules are prepared by writing required programs in the main program. Each subprogram may be called a "Functions" or "Procedures."  Modular programming reduces rewriting the subprograms Modular programming allows complex problems to be divided into simple parts. All these parts (modules) are controlled by a single program. Each module may be called as a subroutine. 

Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×