Unlock all 6 pages
Get it free by sharing your own notes, buy just this one, or become a member and unlock documents with your plan.
How to unlock this document
Choose the way that suits you. Each one gives you all 6 pages to read online and the PDF to download.
Share your notes, unlock for free
2 free unlocks for every 5 approved uploads
- Upload your own lecture notes, assignments, essays or past papers
- PDF, Word, PowerPoint and Excel files all work, and you can send many at once
- We check each upload; you get a notification when it is approved
- Spend a free unlock on this document or any other, and keep it for good
- Shared under your public username, never your email
Then upload your notes from your profile.
Buy this document
$6 one-time payment
- All 6 pages of this document, yours to keep
- Download the PDF and read it any time, also offline
- No subscription and nothing to cancel
- Find it again any time under My Profile → Library
You log in or create a free account first, then pay securely.
Become a member
Unlock documents from the whole library, which keeps growing
- Choose any documents you like, up to your plan’s unlocks
- Documents you unlock stay yours, even if you cancel later
- Your unlocks start again with every renewal
- Secure checkout by Dodo Payments
You log in or create a free account first, then pay securely.
Compare the plansAlready a member, or bought this before? Log in to open it
About this document
- Pages
- 6 pages
- Price
- $6 one-time, yours to keep
- Membership
- Included in every plan
- Format
- Subject
- Computer Science
This technical paper compares Object-Oriented Programming (OOP) and Event-Driven Programming (EDP) to Procedural Programming (PP). It discusses the advantages, features, and examples of OOP and EDP, and how they differ from procedural programming.
What's inside
- Advantages of Object-Oriented Programming (OOP)
- Example of a class with attributes and methods
- Features of Object-Oriented Programming (OOP) that Visual Logic lacks
- Advantages of Event-Driven Programming (EDP)
- Object-oriented concepts
- Use and benefits of Object-Oriented Programming (OOP) and Event-Driven Programming (EDP)
Who it is for: Students studying Computer Science, who need to compare programming paradigms. (Undergraduate)
Share with classmates: WhatsApp Telegram X LinkedIn Facebook
Summary
Object-Oriented Programming (OOP) and Event-Driven Programming (EDP) are compared with Procedural Programming (PP). Students learn about the advantages of OOP and EDP, and how to use them to create modular, interactive programs. Examples of classes and methods are given.
Advantages of OOP
OOP's modular structure is good for defining abstract data types. OOP addresses the difficulties within the procedural programming approach. The relationship between classes, attributes, and methods is examined.
Example of a class
A class is a collection of objects with common properties and behaviors. An example class of a college is described. A method is a member function of a class.
Features of OOP
Basic concepts of OOP are described. These include classes, objects, inheritance, data abstraction, and polymorphism. A feature of OOP that Visual Logic lacks is discussed.
Advantages of EDP
EDP allows for more interactive programs. It can be implemented using hardware interrupts. It allows sensors and other hardware to interact with the software.
Key terms
- Object-Oriented Programming
- A programming approach that uses classes and objects to create modular programs.
- Event-Driven Programming
- A programming approach where the flow of the program is determined by events.
- Procedural Programming
- A programming approach that uses a sequence of statements to solve a problem.
- Class
- A collection of objects with common properties, operations and behaviors.
- Method
- A member function of a class that consists of block of statements.
- Inheritance
- The process by which objects can inherit the properties of the objects of other classes.
Questions this document helps with
- What are the main advantages of using OOP?
- How does EDP allow for more interactive programs?
- What is the relationship between classes, attributes, and methods?
Summary written with AI from the document's text.
Ask the AI Teacher
Ask any question about this document or your course, and get a clear explanation.
Log in to ask Create a free account
Free accounts can ask 5 questions a day.