Field Name Example Data Boolean or Not? Reason
Field Name Example Data Boolean or Not? Reason
Learning Objectives
By the end of this lesson you will be able to:
Identify different data types
Select appropriate data types for a given set of data
Example
Data
19/07/196
5
Boolean
or not?
Date of birth
NO
Door status
Open
Yes
Number of
staples
34
NO
Has 4 legs
Yes
Yes
Reason
Boolean can be only 1 of
two options, DOB is not.
Is Boolean because its
one of two things a door
can be either open or
closed.
Boolean can be only 1 of
two options, number of
staples is not.
Is Boolean because its
one of two things a chair
either has 4 legs or it
doesnt.
2. Select a data type and explain why youve chosen it for each
field in the table below.
Field Name
Example
Data
Data Type
Title
Mr/Mrs
Boolean
Phone
Number
0121 222
9999
Alphanumeric
/Text
Gender
Boolean
Date of Birth
01/01/190
0
Date
Country
Germany
Alphanumeric
/Text
Reason
Because it is one of two
things.
In a computer they are
stored as text because
telephone numbers have
a zero at the start
(leading) and spaces.
Because its one of two
things you are either
M/F.
It is written in one of the
many data forms so
DD/MM/YYYY
Because its a string of
text with multiple
options.