Explain the key features of procedural programs

Authors Avatar by ellouise1997hotmailcom (student)

I am working as a junior for an electronic games maker. My manager has asked me to write a short guide to the basics of procedural programming and to demonstrate some of the techniques.

I will produce a PowerPoint to explain the features and control structures required to implement a given design. In order to meet this criterion, I will describe features and structures clearly and logically, showing the underpinning principles and, in particular, the reasons why structures are important.

Procedures
Procedures (can also be known as routines, subroutines, methods or function) complete a series of computational steps to be carried out.

Functions

Functions are similar to procedures but return using a value. Functions are a named section of a program that performs a specific task. A function is a type of procedure or routine. Some programming languages make a distinction between a function, which returns a value, and a procedure, which performs some operation but does not return a value. Most programming languages come with a prewritten set of functions that are kept in a library. You can also write your own functions to perform specialized tasks.

Join now!

Pre-defined functions

A pre-defined function is sequence of instructions that are identified by name in a computer program but is built in high level programming language.

Local variables

Local variables are variables that exist only inside a function are called Local variables; they cannot be used outside the function.

Global variables

Global variables are variables that exist throughout the script are called Global variables. Their values can be changed anytime in the code and even by other functions.

Parameter passing

A parameter is a special kind of variable used in a subroutine to refer to one of ...

This is a preview of the whole essay