Discuss the approach for development of procedure oriented programming
Answers
Answer:
Procedure-oriented or function-oriented programming means function using different functions for different tasks in a program. It is a technique of encapsulation where every single task is done using an individual function or procedure.
Answer:
A collection of tasks make up procedure-oriented programming. C is the language used in this program. A specific set of actions must be taken in order to complete any task.
Explanation:
Top-down is used in procedural programming approach for development of procedure oriented programming. A bottom-up methodology is used in object-oriented programming. For instance, a program might involve obtaining data from the user, processing that data through a calculation, and printing the results on the screen when necessary.
- A programming paradigm known as procedural programming is based on the notion that program are collections of instructions that must be carried out.
- They put a lot of emphasis on dividing program into named, function-like sets of instructions called procedures.
Characteristics of procedure-oriented programming:
- Functions are emphasized (logical steps).
- Global data is shared by functions.
- Data values can continue to float between functions.
- It employs the top-don programming approach.
On the other hand, procedural programming uses a step-by-step methodology to break a task down into a set of variables and routines (or subroutines) through a series of instructions.