









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of two major programming paradigms: procedural programming and object-oriented programming (oop). It discusses the key features, advantages, and disadvantages of each paradigm. Procedural programming is described as a linear, top-down approach where the program is divided into procedures or functions. It is suitable for general-purpose programming and has advantages like code reusability and easy program flow tracking, but can be harder to write and less secure. Object-oriented programming, on the other hand, organizes software design around data or objects rather than functions and logic. It offers benefits like improved software maintenance, faster development, and better quality through detailed testing, but can also be more complex and lead to slower-running programs. The document also touches on the relationship between these two programming paradigms and their practical applications in software development.
Typology: Summaries
1 / 17
This page cannot be seen from the preview
Don't miss anything!










Qualification BTEC Level 5 HND Diploma in Computing Unit number and title Unit 1: Programming Submission date Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name Student ID Class Assessor name Student declaration I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that making a false declaration is a form of malpractice. Student’s signature Grading grid P2 P3 P4 P5 M2 M3 M4 D2 D3 D
Grade: Assessor Signature: Date: Lecturer Signature:
5 A. INTRODUCTION B. CONTENT I. Procedural, Event Driven and Object Orientated Programming:
A large program is divided into subroutines, each of which can be called one or more times in any order. Most functions use common data Data in the system is moved from one function to another. Function that converts data from one form to another Using a top-down approach in program design I.1.1 Advantages and disadvantages: Procedural Programming comes with its own set of pros and cons, some of which are mentioned below. Advantages:
2.1 Characteristics of object-oriented programming: Abstraction Inheritance Encapsulation Polymorphism 2.1.1 Advantages and disadvantages: Advantages: a. Flexibility: Programmers that use event-driven can be altered easily if the programmer wants something to be changed. This paradigm allows the programmer to produce a form of their requirements. Programmers who are event-driven can be put together without too many problems and also the code and design can be easily altered because if something isn't right.
b. Suitability for Graphical Interfaces: Event-driven allows the user to select different tools from the toolbar to directly create what they need such as buttons, radio buttons, etc. This also allows people to put objects where they want them and can directly edit. Some people find it easier to directly click on the thing they want to edit. c. Simplicity of Programming: Event-driven can make programming easier for some by being able to directly edit the object you want the code for. Another thing that can make the programming easier is that when using an event driven language such as visual basic it usually has predictive coding so when the user is coding it will predict what you want to do from what you are typing. d. Easy to Find Natural Dividing Lines: it is easy to find natural dividing lines for unit testing infrastructure. e. Highly Compostable: It is highly compostable. f. Simple and Understandable: It allows for a very simple and understandable model for both sides of the DevOps Bridge. g. Purely Procedural and Purely Imperative: Both purely procedural and purely imperative approaches get brittle as they grow in length and complexity. h. A good way to Model Systems: It is one good way to model systems that need to be both asynchronous and reactive.
Possible tight coupling between the event schema and the consumers of the schema. g. Blocking: Reasoning about blocking operations might be becoming more difficult. https://aiven.io/blog/introduction-to-event-based-programming https://benchpartner.com/advantages-and-disadvantages-of-event-driven-programming
Once an object is known, it is labeled with a class of objects that defines the kind of data it contains and any logic sequences that can manipulate it. Each distinct logic sequence is known as a method. Objects can communicate with well-defined interfaces called messages. 3.1 Characteristics of object-oriented programming: Object-Oriented Development (OOD) Encapsulation Abstraction Classes and Objects Inheritance and Composition Binding Message Passing 3.1.1 Advantages and disadvantages: Advantages: a. Highly productive software development:
In the above code I have taken the data from the textbox and put it into the DataGridView.