Skip to content
MathsGenie logo
Open app

Course home

  1. GCSE
  2. Computer Science AQA
  3. Question bank

Programming concepts

EasyMediumHard
12345678910111213141516171819202122232425262728293031323334353637383940
Question 28

The following are programming concepts (labelled A – E).

  • A constant
  • B global variable
  • C local variable
  • D parameter
  • E subroutine

For each of the definitions in the table, write the label of the most suitable programming concept. Use a label only once.

DefinitionLabel
A variable declared within a specific function or block of code that is inaccessible outside of it
An input value passed to a subroutine to be used in its calculations or operations
A named value that is established at the start of a program and cannot be altered during execution
[3]

Programming concepts Questions

  1. GCSE
  2. /Computer Science
  3. /Programming concepts