Skip to content
MathsGenie logo
Open app

Course home

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

Subprograms

EasyMedium
123456789101112131415161718192021222324252627282930
Question 11

Maya is developing a computer program to manage inventory for her online bookstore.

Maya plans to construct her program using subprograms (functions and procedures) to make her code more modular.

One similarity between a function and a procedure is that they can both contain local variables.

State two other similarities between a function and a procedure.

[2]

Subprograms Questions

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