Chracteristics of PP
Chracteristics of PP
Functions:Functions are similar to procedure but return using a value. Functions can also use parameters,
return values and can be separated from the main body of code.
Local variables:Local variables can only be used in the area it has been placed in.So for instance a operation can
only been done in that area and not another area of the code.
Global variables:Global variables can be used throughout the programming code, this is perfect for programs that
may use the same variables throughout the code.
Parameter passing:Parameter passing allows the variable values to be passed through the program to the procedure.
Modularity:modularity is about how systems have different tasks and are grouped together to complete the
overall task. Each group had a task of its own to carry out. Modularity are modules that have been
split into different groups to perform certain tasks one after the other so it is a continues system
Programming.
Libraries:Program Libraries hold a collection of pre-built source codes, Subroutines, Classes and values
what can be used at any time by the program and users.
Control structures:o Pre-check loop:Pre-Check loops check the condition of the program before carrying out the procedure
o Post check loop:Post check loops test run the program to make sure that it works and if it does it continues the
loops.
Conditional commands:
If statements are to check if a condition is true or false. If the condition is met the program will
continue but if the condition is not met it will keep trying until the condition is met.
Boolean operators are commonly used in Search engines to help the user specify what they are
looking for such as if youre looking for a person named Susan you could put in a search engine
"Susan NOT Fiona", maybe "Susan OR Jessy" Procedural programs are created to be easy to use
because they follow in order.