Computer Science GCSE ( 9-1)

?

Variables and constants

Variables and constants are used to store values in algorithms and programs. Variables can change while a program is running. Constants must not change while a program is running.

Identifiers :

Variables and constants have name or identifiers.

Identifiers describe the data being stored.

- Short identifiers are easier to spell correctly each time they are used.

- Long identifiers can be used if they are more descriptive, e.g firstName

Identifiers cannot be the same as

Comments

No comments have yet been made