Variables and constants in programs
Lesson 6 / 9
Lesson video
The video is not available yet.
Lesson slides
not available yet
Lesson details
Lesson outcome
I can apply appropriate naming conventions and explain the differences between variables and constants.
Show transcript
Naming conventions improve code readability and maintainability.
A variable is a named piece of data stored in a computer’s memory.
A variable can be accessed and changed by a computer program.
Variables must be declared and assigned values in a program.
Constants hold fixed values that do not change throughout the running of the program.
Worksheet
not available yet
Quizzes
This quiz is not available yet.
What pupils see
The same lesson as a pupil sees it. You can set any section as work on its own.
- IntroductionPrepare · Not available
- Starter quizActivate · Not available
- Lesson videoLearn · Not available
- Exit quizCheck · Not available
This content is by Cashar and published under an open licence.