Programming of the functions will share global data.

Programming Paradigms

Procedural Programming

Definition

Procedural Programming
will 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 routines
and subroutines. Examples of procedural programming would be Fortan and C.

Characteristics

·       
Most importance is
put on things to be done.

·       
Large problems get
divided into smaller programs which are known as functions.

·       
Most of the
functions will share global data.

·       
Data will openly
move around the system from function to function.

·       
Functions will
transfer data from on form to another.

·       
Procedural
programming employs the top down approach to program designing.

·       
In large programs,
changes are difficult and are time consuming.

Object Oriented Programming

Definition

Object oriented
programming is a type of programming where programmers will not only define the
data type of a data structure, but will also define the types of operations, or
functions, that can be applied to the data structure. In this way the data
structure will become an object that will include both data and functions.
Relationships can also be created between objects, which allows objects to
inherit characteristics from other objects.

Characteristics

·       
Inheritance – A
mechanism used to derive a new class from a pre-existing class.

·       
Encapsulation – A
mechanism 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 the
same name.

·       
Data Abstraction –
The simplification of complex reality by modelling classes appropriate to the
problem, and working at the most appropriate level of inheritance for a given
aspect of the problem. Abstraction deals with the outside view of the object.

Event-Driven Programming

Definition

Event driven programming
is a program that executes commands through events. Evens could consist of the
user interacting with the interface, such as click a button, or pressing
buttons on a keyboard. Event-driven programming is mostly used on graphical
user interfaces due to the fact that the use of buttons on the interface allow
the user to interact with the program. These buttons will be event handlers
that, when clicked, will activate and execute some code which will then trigger
an event, such as changing page or exiting the program.

Characteristics

·       
Event Handlers –
Event handlers are the main process of event driven programming. Event handlers
are also known as call back routines and are made to handle different inputs
that are sent and then received by a program. Event handlers are parts of a
program that allow the user to navigate and create inputs using events such as
the click of a mouse or a button press on a keyboard.

·       
Programming
Structures (If, If Else) – An If statement is a statement that will follow a
path depending on the information entered. This would mean that if someone says
one thing then the program would display the word yes, otherwise it would
display the word no.

Relationships

Object Oriented
Programming is defined by the pairing of data and actions into a model of a
real world object. Event driven programming is a style of programming in which
there is a server waiting for an input command. It then processes that command
and display/produce desired results.

Most event driven
languages are object oriented. The objects await the events. A program in an
object oriented language is not necessarily event driven, and event driven
programming does not necessarily require an object oriented language. They are
unrelated.

 

Integrated Development Environment

What is an IDE?

An IDE is a software
suite that consolidates the tools that a developer needs to write and test
software. 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. An
IDE can be a standalone app but in can also be part of an existing piece of
software.

What Does an IDE Consist Of?

An IDE will tend to have
a 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 a
developer to compile and execute code incrementally and also manage changes to
source code in a uniform manner. IDE’s are generally designed in a way to
integrate third party libraries such as GitHub.

Github is an online
website where programmers can go to upload their code programmes online. These
projects could be available to the public and allow the public to access view
and sometimes even download and make changes to the code themselves. Github can
be a good place for employers to look at the sort of projects a potential employee
has done and for the employee to show off their talents.