Locked lesson.
About this lesson
Exercise files
Download this lesson’s related exercise files.
Data Types.docx58.8 KB Data Types - Solution.docx
59 KB
Quick reference
Data Types
Variables hold data. The data is categorized by data type.
When to use
Knowing the type of data something is, makes using variables easier.
Instructions
There are several types of data:
String - words and letters surrounded by quotation marks
Integer - whole numbers
Float - decimal numbers
Boolean - true or false
Arrays - a variable that contains multiple values (more on this in a later lesson)
Object - stores data and information on how to process the data
NULL - nothing
Hints & tips
- Data goes into variables
- There are several data types
Lesson notes are only available for subscribers.