Download presentation
Presentation is loading. Please wait.
Published byBaldwin Holmes Modified over 9 years ago
2
Procedural programming Procedural programming is where you specify the steps required. You do this by making the program in steps. Procedural programming is good for any level user to make a program with, this is because they can see what parts they need to make as they go along, and you can test each step you have made throughout the program. It does this by using procedures or subroutines. Some of the limits of using this is you can achieve some outcomes, you can also ruin the code in some areas so you cant use it this is how errors are caused and they can be easy to find sometimes but there may be an error which you cant find quickly.
3
Procedural programming When doing procedural programming it can also be quite slow having to go through all the code writing it out line by line, this is a draw-back of procedural programming as it requires a lot of time and effort to make the code.
4
Object oriented programming Object oriented programming is making the use of actual objects on a screen, you can generally give these objects procedures and functions that are either pre-set or something that is changeable. It consists of data fields and methods that work together with their interactions. Object oriented programming is the best thing for beginners to use but is used well by all programmers generally. Most programming languages support the use of object oriented programming as a feature.
5
Object oriented programming Some of the techniques that may be used with object oriented programming are: Data abstraction- Encapsulation Messaging Modularity Polymorphism Inheritance There are still some features that could be added to object oriented programming which means that it isn’t the most efficient way of programming.
6
Event-driven programming Event-driven programming is also known as event-based programming, it is determined by events that happen from a sensor outputs such as a mouse or a keyboard so the clicks or the key presses or messages from other programs or threads. Event driven programs can be written in any programming languages, the task would generally be easier in high level languages but it is possible to use lower level languages. Event driven programming languages are widely used in GUI’s or graphical user interfaces because it is the easiest way to code in things such as widget toolbars, but it can make very complex code which is hard to the change once to are finished with it.
7
Event-driven programming It has to main parts to the programming. The first is the event section or event detection and the second part is the event handling. It is one of the easiest forms of programming techniques this is because you can code it through things very simply without having to do much the only problem is that it is very hard to change a bug if you aren’t familiar with the programming language in which it is used.
8
Factors in choosing the right programing paradigm When choosing the right type of programming, you should take into account of how good your knowledge is with that said programing language, if you aren’t very familiar with the programming language then using
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.