UNIT 16
P1 - Explain the key features of
procedural programs
procedures;
Procedure is a step by step instruction for the program to do what the program is intended to
do by the programmer which has created the program.
functions;
Functions is like procedure, although functions return using a value. Functions can use
parameters and return values. Functions also can be separate from the main body of the code.
pre-defined functions;
Predefined functions are functions which are built in. These functions are standalone and used
for general purposes, and do not require classes. The predefined functions within the standard
function library are grouped by different categories.
local variables;
Local variables are variables which can be used in the area which it has been placed in. Which
means for the instance an operation can only be done in that specific place and not a different
area in the program code.
global variables;
global variables are variables which can be used throughout the program code, which is good
for programs which wants to use the same variable over and over throughout the program.
parameter passing;
Parameter passing lets variable values to be passed through the program and then to the
procedure.
modularity;
Modularity is how the program has different tasks and are grouped to complete the main task.
In which every group has their own task to complete. Modularity are modules which are split
into groups to complete tasks one after another so it will be a continuous system.
programming libraries
Programming libraries have a collection of already made source codes, classes, subroutines and
values which can be used by the programmer at any time in the program.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller xeon. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for £10.49. You're not tied to anything after your purchase.