The concept of assigning a name to a piece of data. Some languages use static types whereas others allow dynamic types. Some languages only have constants, whereas others allow for mutability. A student might not be familiar with these different variations, but should be familiar in general with the assigning and using of variables.
- How to define a variable How to define a variable.
- How to update a variable's value How to update a variable's value.
This exercise deals with cooking a lasagna dish in the oven. The reference implementation (C#) teaches:
- How to define a variable.
- How to update a variable's value.
Track | Exercise | Changes |
---|---|---|
C# | lucians-luscious-lasagna | None |
Scala | basics | None |