Skip to content

Course home

Sign up

Subprograms

EasyMediumHard
123456789101112
Question 8

An environmental scientist writes a subprogram named estimateCarbonFootprint to determine the net greenhouse gas emissions for an industrial site.

State the key distinction that classifies estimateCarbonFootprint as a function rather than a procedure.

[1]
Markscheme

Subprograms Questions

  1. GCSE
  2. /Computer Science
  3. /Subprograms

29 exam-style questions on Edexcel GCSE Computer Science Subprograms, covering Built-in and user-devised subprograms, Functions versus procedures, and Global and local variables. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank