Bee Learnt Logo
Bee Learnt
FeatureBrowse allPricingAboutSupport
Bee Learnt

Bee Learnt gives South African Grade 10–12 learners a cleaner route from classwork to NSC readiness — with parents and tutors supporting the journey.

WhatsApp: 0685537312

Support email: admin@beelearnt.co.za

Learn
FeaturesBrowse subjectsPricing
Get started
Create accountSign inContact support
Company
About Bee LearntAdvertisingContact
Legal
Privacy policyTerms of serviceCookie policyAd choices

© 2026 Bee Learnt. All rights reserved.

CAPS aligned · Grades 10–12 · NSC ready

Privacy choices

Allow analytics and advertising services to help us understand site usage and measure campaigns.

Privacy Policy
  1. Subjects
  2. /
  3. Information Technology
  4. /
  5. Information Technology Grade 11 — Practical
  6. /
  7. Structured Programming
  8. /
  9. Procedures and functions
Grade 11 · Practical

Procedures and functions

Structured Programming · about 4 min

Educational overview for Procedures and functionsVisual overview: Procedures and functions
1 MIN READ
2 study sections · pause after each one and recall the key idea

Procedures and functions break a program into named, reusable blocks — the essence of modular, maintainable code.

Key points
  • A procedure performs a task; a function performs a task AND returns a value (via `Result`).
  • Parameters pass data in: `procedure Greet(name : string);`. Value parameters copy; `var` parameters can change the caller's variable.
  • Call a function inside an expression: `total := Add(a, b);`. Call a procedure as a statement.
  • Modularity means each method is short, single-purpose, testable and reusable.
Key terms
  • Procedure — a named block that performs a task (no return value).
  • Function — a named block that returns a value via Result.
  • Parameter — data passed into a method.
EXAM TIP

if the question needs an answer back (a total, a boolean), write a FUNCTION and assign to Result; if it just does something, write a PROCEDURE.


Previous

Strings and text processing

Next

Problem solving with testing