Skip to content
MathsGenie logo
Quick links
Open app

Course home

  1. IGCSE
  2. Computer Science Edexcel
  3. Question bank

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]

Subprograms Questions

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