Test yourself on Variables & Constants with exam style questions, marked instantly.
Flashcards that come back just before you would forget them.
A revision plan that remembers what you know and shows what to do next.
See which topics you have nailed and which need another look.
Quiz yourself on Variables & ConstantsGet your flashcardsBuild my revision planTrack my progressVariables vs Constants
| Aspect | Variable | Constant |
|---|---|---|
| Value can change? | Yes - can be reassigned | No - fixed once declared |
| Use for | Scores, counters, user input | PI, VAT rate, fixed values |
| Naming convention | camelCase or snake_case | UPPER_CASE (often) |
| Example | score = 100 | const PI = 3.14159 (OCR style) |
Make this stick
Signing in gives access to all PrepWise features.