Edexcel GCSE Computer Science

2.3.4: understand the need for, and how to use, variables and constants

Keywords:
Programming
Test your self on these keywords and definitions using the games below or Play random game
KeywordDefinition
Assignto set the value of a variable
Constanta data structure which stores a value that is set in code which can be used (but not changed) while the code runs. Usually has a name in CAPITAL_LETTERS
Declareto say that a variable exists (usually saying which data type it is going to store)
Identifierthe name of a variable or constant
Valuethe data stored in a variable or constant
Variablea data structure that can store a value that can change whilst the program runs. Usually has a name in snake_case_letters or camelCaseLetters.
Keyword games:
Resources: