Past-paper question · 2023 October-November · Paper 23 · Q7

Question 7 2023 · October-November · Paper 23 · 4 marks

Original past-paper question for 7
Reveal official mark-scheme answer Official mark-scheme answer for 7

Official answer for Question 7

✓
one mark for first description one mark for matching difference max four

Question 4

  • local variables - scope is a defined block of code/subroutine/procedure/function
  • global variables – scope is the whole program
  • local variables - value cannot be changed elsewhere in the program
  • global variables – value can be changed anywhere in the program
✓
Cambridge O Level – Mark Scheme
✓
2210/23
✓
October/November 2023
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 2210_w23_ms_23.pdf →

Show text version of question

Question 7

A
program uses both local variables and global variables.

Describe two differences between local variables and global variables.

Difference 1 ......................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

Difference 2 ......................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

[4]

Question 10

Topic relevance

Why this question appears here

74% assigned-topic match · Programming › Programming concepts

Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.

Permanent source page: Educate A Change · From 2210_w23_qp_23.pdf

Keep practising this topic