In this lesson, you will learn about “variables,” one of the most important fundamentals of programming. Rather than memorizing words alone, aim to explain the system and the reasons behind it in your own words.
Key Point
A variable is a place where a value is stored under a name. When a value is assigned, the previous value is replaced by the new value.
A variable is a place where a value is stored under a name. When a value is assigned, the previous value is replaced by the new value.
Important Points
- Check the reason, not just the conclusion
- Distinguish similar terms and exceptions
- Try applying the same way of thinking to other examples
Practice
- Explain the key point in two sentences.
- Give one common misunderstanding and explain what is different about it.
- Check your understanding by applying it to a familiar or specific example.