10Easy
0/1

An oceanographic simulation suite utilizes a subprogram named determineSalinity to calculate and send back the salt concentration of a water sample based on its conductivity and temperature.

Explain why determineSalinity is classified as a function rather than a procedure.

[1]

Subprograms Questions

Practise Edexcel GCSE Computer Science Subprograms with exam-style questions for GCSE Computer Science. 29 questions covering Built-in and user-devised subprograms, Functions versus procedures, and Global and local variables, matched to the Edexcel GCSE Computer Science (1CP2) specification and written in Paper 1 and Paper 2 style. Every question includes a full worked solution and mark scheme, so you can see where marks are awarded rather than just whether you got the answer right.

PreviousNext

Subprograms Questions

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