Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.18 KB

variables.md

File metadata and controls

30 lines (19 loc) · 1.18 KB

Variables

The Concept

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.

What to cover

  • How to define a variable How to define a variable.
  • How to update a variable's value How to update a variable's value.

Exercises

Lasagna cooking

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.

Implementations

Track Exercise Changes
C# basics None
Scala basics None