Skip to main content

The Data Type

This video presents the same text shown beside it, spoken and on screen. It adds nothing the text does not say.

State

A data type defines how a computer processes data by fixing two things: the possible values, and the operations allowed on those values.

Show

The integer type holds whole numbers within a range and grants addition, subtraction, multiplication, and division — the operations a balance needs.

Watch for

Operations are part of the type, not extras.