\"Object-oriented programming/Event-Driven programming Versus Procedural Program
ID: 3570290 • Letter: #
Question
"Object-oriented programming/Event-Driven programming Versus Procedural Programming" 1.Identify atleast (2) advantages to using OOP as compared to using only PP. 2. Create one original example of a class with atleast (1) attribute and (1) method. Identify what the class in question represents, the attributes the class stores, and the purpose of the related method. Next, examine the relationship between the class, attributes, and methods that you have identified. 3. Describe atleast one feature of object-oriented programming that visual logic lacks. 4. Identify atleast one advantage of using event-driven programming, as compared to using purely procedural programming.
Explanation / Answer
Primitively there are 2 basic types of programming.
1) Structrual programming or Procedural programming
2) Object oriented programming
Structural Programming deals with how to solve a problem step by step manner whereas Object oriented programming solves the problem by using real world entities called objects.
Structural programming are quite suitable for small and simple problem, they are inefficient for a large and complex problem.
An Object oriented programming solves the complex problem due to its features like well-defined interfaces, inheritance, polymorphism, encapsulation and abstraction.
For most of all problems, Object-oriented programming has proven to be more successful.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.