GCSE Computer Science (Pearson IGCSE)

Topic Summaries

ALGORITHMS AND PROGRAMMING: Programming fundamentals

Key terms in programming

  Definition Example
Variable A named storage location that holds a value which can change during program execution

Value = 2

Value = 5

Constants A value that does not change once set during the program (in Python, constants are written in uppercase) PI = 3.14159
Input Data entered by the user name = input(“Enter your name:”)
Output Information displayed to the user print(“Hello”, name)
Assignments Storing a value in a variable using the = symbol x = 5
Syntax error An error caused by breaking the rules of the programming language Missing a colon at the end of an if statement in Python

Unlock Key terms in programming

Sign up to unlock the rest of this topic — plus every other topic, video, flashcard set and eBook guide in your SnapRevise Digital subscription.

Cancel anytime — instant access the moment you sign up.