logo

Learning objective

Comprehend the concepts of procedures, functions, and parameters, and define and use them with local and global variables.

Read the explanation, check the common trap, then practise with flashcards and questions.

Exam focus

  • Read the explanation.
  • Check key terms.
  • Practise with linked questions.
Cambridge IGCSE Computer ScienceProgramming

Study support

Understand this objective

Quick explanation

Comprehend the concepts of procedures, functions, and parameters, and define and use them with local and global variables

  • This point belongs to P rogramming concepts, especially P rogramming concepts outcomes.
  • You need to be able to comprehend the concepts of procedures, functions, and parameters, and define and use them with local and global variables.
  • The key ideas to know are Explain and Use.
  • Use the linked flashcards and practice questions to check recall, then practise applying the idea in an exam-style answer.

Key concepts

ExplainUse

Why it matters

This objective helps connect P rogramming concepts outcomes to exam-style questions, flashcards, and revision notes for P rogramming concepts.

Revision tools

Choose how to practise

Back to topic hub
Flashcards10 linked cards

Flashcard 1 of 10

Press Space to flip, arrows to move
Practice Questions7 linked questions

Question 1 of 7

Choose an answer, get feedback, then move sideways through the set.

0 of 5 attempted

Paper 2 structured question: P rogramming concepts

Paper 2Algorithms, Programming and Logic1 marks

Description

Functions and Procedures

In a programming language, a function named 'calculateArea' takes two parameters: 'length' and 'width'. It returns the area calculated as length multiplied by width. A procedure named 'displayMessage' takes one parameter 'message' and prints it to the console.

  1. a

    State the difference between a function and a procedure.

    Aim for approximately 1 distinct marking point.

    [1]
Revision notestopic notes

Open the full topic revision notes when you are ready to review this objective in context.

Open revision notes

Related learning objectives

Revision hubs

Move back to a broader study route