Examples Of Procedural Programming

1665 Words4 Pages

Procedural Programming
Procedural programming works like a step by step guide. You have to create a sequence of instructions which tells the computer what to do first, second, third and so on. Examples of a procedural programming language would be Pascal, Turbo Pascal and Basic.

Procedural programming would be used when it is necessary to complete steps in a program and is only used when a user is about to do a certain task. An example of a procedural programming scenario would be that if a user has to enter their details into a form in order to move onto the next step such as you need to login first so you can confirm your order then this would require procedural programming. Procedural programming can also help solve calculations for scientific …show more content…

This makes it easier to change the code as programmers are encouraged to place code in different classes rather than just one so it is less directly accessible by the computer system. Unlike procedural programming which uses an algorithm, object oriented programming is made simpler to code. Examples of a object oriented language would be C++, Java and Microsoft Visual Basic.

Object oriented programming is a language model organised around objects rather than actions and data rather than logic. Object Oriented is a specific class that has two areas, state and behaviour. It not only describes the data base of a data structure but also the type of operations.

There are a few limitations with object oriented programming as there are no tools that develop the application and that this programming language could be used in PHP coding only using software like Adobe Dreamweaver and VB.net. Another main limitation of object oriented programming is that it has to be done manually; bigger in file size because they have many lines of code for standard applications.
Event Driven

More about Examples Of Procedural Programming

Open Document