Table of Contents
- 1 What are the main drawbacks of structured programming?
- 2 What are the limitation of procedure oriented programming?
- 3 How does object oriented programming overcome those shortcomings?
- 4 What are the limitations of pop?
- 5 What are the advantages and disadvantages of procedural programming?
- 6 What is the difference between OOP and procedural programming?
- 7 What is parameter passing in procedural programming?
What are the main drawbacks of structured programming?
Disadvantages of Structured Programming Approach: Since it is Machine-Independent, So it takes time to convert into machine code. The converted machine code is not the same as for assembly language. The program depends upon changeable factors like data-types. Therefore it needs to be updated with the need on the go.
What are the limitation of procedure oriented programming?
Two limitations of procedure oriented programming approach are:
- No restriction on data values.
- No reusability concept hence time management, testing and length of the program increases.
What are the drawbacks of procedural language justify the need of object oriented programming with a suitable program?
Procedural programming does not have any proper way for hiding data so it is less secure. Object oriented programming provides data hiding so it is more secure. In procedural programming, overloading is not possible. Overloading is possible in object oriented programming.
How does object oriented programming overcome those shortcomings?
Ans. OOP provides the following advantages to overcome the shortcomings of traditional programming approaches: ✓ OOPs is closer to real world model. ✓ Hierarchical relationship among objects can be well-represented through inheritance. ✓ Increased modularity adds ease to program development.
What are the limitations of pop?
Disadvantages of plaster of Paris:
- Gypsum plaster is not suitable for exterior finish as it can not be used in damp finish.
- Cement can not be mixed with plaster of Paris.
- It is more expensive than cement or cement lime plaster.
- It can not be used in moist situations. The labor cost for applying plaster of Paris is high.
What are disadvantages of stored procedures?
Drawbacks of Stored Procedures
- Testability. First and foremost business logic which is encapsulated in stored procedures becomes very difficult to test (if tested at all).
- Debugging.
- Versioning.
- History.
- Branching.
- Runtime Validation.
- Maintainability.
- Fear of change.
What are the advantages and disadvantages of procedural programming?
Despite the disadvantages, there are a number of advantages of procedural programming. For general programming applications, procedural languages are far more flexible than other alternatives, as the source code can run on different types of processors.
What is the difference between OOP and procedural programming?
On the other hand, Procedural Programming, unlike OOP, sheds focus on the steps which will be performed to complete a task, rather than the interaction between the objects. The tasks are broken down into subroutines, variables and data structures. At any point in time, these procedures can be called within the program execution.
What is proprocedural programming?
Procedural programming is basically an open-ended collection of procedures and functions that consist of sequences of statements of varying kinds (such as selection and iteration ). At best, the only organizational tool you have for managing your code base is the module concept (in C,…
What is parameter passing in procedural programming?
Parameter Passing can be done through ‘pass by value’, ‘pass by reference’, ‘pass by result’, ‘pass by value-result’ and ‘pass by the name’. Procedural Programming comes with its own set of pros and cons, some of which are mentioned below.