P1 Explain the key features of procedural programs
1
1
, P1
Features of a Procedural Program
• PROCEDURES
• Procedures are where you break down the program into individual
procedures, this is done to make the program more logical.
Procedural code
is where you
have a procedure
but it doesn’t
output anything.
P1 Explain the key features of procedural programs 2
Features of a procedural program
<Expanded with an explanation of each feature described on main slide>
Procedures – These are used to break down the program into individual procedures
to make the code simpler and easier to understand. When using procedures there are
different types those are when they can be executed in parallel or they can be
executed in a serial order. By having these different procedure types it helps to make
the code/program more logical. When executing the different procedures they are
split into parts for individual users, the main program calls each procedure, once that
is executed it then returns the control back to the main program, then it continues to
go onto the next procedure and executes that task until it has done it all.
For example, in a program if it has a simple piece of code to just multiply one value it
executes that and the program is then finished running. However, if there is more
lines of code where it has to do 3 different multiplications it will then execute the first
one, return to the main code which tells it what to do and then moves to the next set
of numbers and so on until all the code has been run.
2
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 or Stuvia-credit 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 ItsKenzie. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $9.30. You're not tied to anything after your purchase.