Programming ParadigmsProcedural ProgrammingDefinitionProcedural Programmingwill use a list of instructions to tell the computer what to do step by step.Procedural programming relies on procedures, which are also known as routinesand subroutines. Examples of procedural programming would be Fortan and C.Characteristics· Most importance isput on things to be done.· Large problems getdivided into smaller programs which are known as functions.· Most of thefunctions will share global data.· Data will openlymove around the system from function to function.
· Functions willtransfer data from on form to another.· Proceduralprogramming employs the top down approach to program designing.· In large programs,changes are difficult and are time consuming.Object Oriented ProgrammingDefinitionObject orientedprogramming is a type of programming where programmers will not only define thedata type of a data structure, but will also define the types of operations, orfunctions, that can be applied to the data structure. In this way the datastructure will become an object that will include both data and functions.Relationships can also be created between objects, which allows objects toinherit characteristics from other objects.Characteristics· Inheritance – Amechanism used to derive a new class from a pre-existing class.· Encapsulation – Amechanism that binds the data and functions in one form known as a class.
Encapsulation guarantees the integrity of the data contained within an object.· Polymorphism –Enables classes to provide a different implementation of methods that have thesame name.· Data Abstraction –The simplification of complex reality by modelling classes appropriate to theproblem, and working at the most appropriate level of inheritance for a givenaspect of the problem. Abstraction deals with the outside view of the object.Event-Driven ProgrammingDefinitionEvent driven programmingis a program that executes commands through events.
Evens could consist of theuser interacting with the interface, such as click a button, or pressingbuttons on a keyboard. Event-driven programming is mostly used on graphicaluser interfaces due to the fact that the use of buttons on the interface allowthe user to interact with the program. These buttons will be event handlersthat, when clicked, will activate and execute some code which will then triggeran event, such as changing page or exiting the program.Characteristics· Event Handlers –Event handlers are the main process of event driven programming. Event handlersare also known as call back routines and are made to handle different inputsthat are sent and then received by a program. Event handlers are parts of aprogram that allow the user to navigate and create inputs using events such asthe click of a mouse or a button press on a keyboard.· ProgrammingStructures (If, If Else) – An If statement is a statement that will follow apath depending on the information entered.
This would mean that if someone saysone thing then the program would display the word yes, otherwise it woulddisplay the word no.RelationshipsObject OrientedProgramming is defined by the pairing of data and actions into a model of areal world object. Event driven programming is a style of programming in whichthere is a server waiting for an input command. It then processes that commandand display/produce desired results.Most event drivenlanguages are object oriented. The objects await the events.
A program in anobject oriented language is not necessarily event driven, and event drivenprogramming does not necessarily require an object oriented language. They areunrelated. Integrated Development EnvironmentWhat is an IDE?An IDE is a softwaresuite that consolidates the tools that a developer needs to write and testsoftware. Usually an IDE will contain a code editor, a compiler or interpreter,and a debugger that can all be accessed by the developer through the GUI. AnIDE can be a standalone app but in can also be part of an existing piece ofsoftware.
What Does an IDE Consist Of?An IDE will tend to havea toolbar at the top, quite similar in design to the Microsoft word toolbar.The tools in the toolbar will facilitate colour-coding, source-code formatting,error diognostics, and intelegent code completion. The interface will allow adeveloper to compile and execute code incrementally and also manage changes tosource code in a uniform manner. IDE’s are generally designed in a way tointegrate third party libraries such as GitHub.
Github is an onlinewebsite where programmers can go to upload their code programmes online. Theseprojects could be available to the public and allow the public to access viewand sometimes even download and make changes to the code themselves. Github canbe a good place for employers to look at the sort of projects a potential employeehas done and for the employee to show off their talents.