User interface language: English | Español

Date May 2021 Marks available 2 Reference code 21M.1.SL.TZ0.7
Level SL Paper 1 Time zone no time zone
Command term Distinguish Question number 7 Adapted from N/A

Question

Distinguish between a variable and a constant.

Markscheme

Award [2 max]
The value of a variable can change while value of a constant does not change;
During program execution/ during run-time / while stored in the memory;

Examiners report

Candidates generally achieved at least one mark for this question by recognising that a variable’s value would change but that the value of a constant would not. Those who were able to expand that point and say where this would happen, for example, during the execution of a program, also achieved the second mark.

Syllabus sections

Topic 4: Computational thinking, problem-solving and programming » 4.3 Introduction to programming
Show 34 related questions
Topic 4: Computational thinking, problem-solving and programming

View options