Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 1

iGCSE Data Types

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

1. Which of the following can be stored as LOGICAL/BOOLEAN


data and WHY?
Field Name

Example
Data
19/07/196
5

Boolean
or not?
not

Reason
There is lots of different
answers
It can only be open or
closed

Date of birth

Door status

Open

Boolean

Number of
staples

34

not

There is lots of answers

Has 4 legs

Yes

Boolean

It can only be yes or no

2. Select a data type and explain why youve chosen it for each
field in the table below.
Field Name

Example
Data

Data Type

Reason

Title

Mr/Mrs

Boolean

Theres only 2 options


mr/mrs

Phone Number

0121 222
9999

alphanumer
ic

Its a phone number

Gender

Boolean

Only m/f

Date of Birth

01/01/190
0

date

Its a date that can be


recorded

Country

Germany

alphanumer
ic

Its stored as text

3. Explain the advantages of storing a yes/no question as


BOOLEAN instead of ALPHANUMERIC.
There can only be 2 answers so it is easier to categorise the data.
____________________________________________________________________________________

4. Explain why there is a need to have more than one format


available for storing the date.
Because there is different ways of typing the date it could depend on the
country your in.
____________________________________________________________________________________

You might also like