Skip to content

Course home

Subprograms

Subprograms

EasyMedium
123456789101112131415161718192021222324252627282930
Question 22

A programmer is developing a game and writes the following subprograms:

procedure displayWelcome()
    print("Welcome to the Game!")
endprocedure

function calculateScore(points, multiplier)
    return points * multiplier
endfunction

procedure updateHighscore(newScore)
    highscore = newScore
endprocedure

Identify the name of the subprogram that does not take any parameters.

[1]
Markscheme

Subprograms Questions

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

33 exam-style questions on Edexcel IGCSE Computer Science Subprograms. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank