Eighth graders learn that programs store different kinds of data in variables — integers, strings, booleans, floats, and lists — and why knowing the right data type matters for writing correct code.
Students will be able to…
A program has to know: is this a number, some text, or true/false? Those are data types. What are the main data types, and why do they matter?
Project this and match each data type to an example — tap a data type, then tap its example.
Tap any phase to open the teacher moves and student actions.
A program must know a value’s type — what are the data types?
Students practice.
Students use.
Students modify.
Students conclude.
Aligned to the CSTA K-12 Computer Science Standards and ISTE Standards for Students.
Create variables that store data types.
Represent data with different types.
Use data types in programs.
Computational Thinker.
Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students.
Have students write one example of each of three data types. A printable data-types sheet is in the Computer Science library.
Tap a card to flip it, then rate whether you knew it. Built from this lesson’s vocabulary.
A quick self-check with instant feedback, drawn from this lesson’s key terms.
A print-and-go review sheet with a built-in answer key. Tap “Show answer key” to reveal answers, or print the clean version for students.