Question 7 2023 · October-November · Paper 23 · 4 marks
Reveal official mark-scheme answer
Official answer for Question 7
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
Show text version of question
Question 7
Describe two differences between local variables and global variables.
Difference 1 ......................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
Difference 2 ......................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
Question 10
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 0478_w23_qp_23.pdf
