logo

Exam-style practice

P rogramming concepts answer explanations

Review worked answers and explanations for P rogramming concepts. Aligned to Cambridge IGCSE Computer Science.

Answer explanations

Question 1 of 16

Review the answer support, then move sideways through the set.

Showing nearby questions. Use Previous and Next to move through all 16 questions.

Paper 2 structured question: P rogramming concepts

Paper 2Algorithms, Programming and Logic1 marks

Description

Variable and Constant Declaration

In programming, variables are used to store data that can change, while constants are used for fixed values. For example, in Python, a variable can be declared as 'age = 25' and a constant can be declared as 'PI = 3.14'.

  1. a

    State What is the purpose of using constants in programming?

    [1]