0% found this document useful (0 votes)
24 views1 page

GGGG

This document discusses data types and provides examples of when different data types should be used. It contains two learning objectives: to identify different data types and to select the appropriate data type for a given set of data. Examples are given of boolean, date, alphanumeric, and other data types and when each would be best used based on example data provided in tables. The advantages of boolean over alphanumeric for yes/no questions and the need for multiple date formats are also explained.

Uploaded by

api-266928189
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views1 page

GGGG

This document discusses data types and provides examples of when different data types should be used. It contains two learning objectives: to identify different data types and to select the appropriate data type for a given set of data. Examples are given of boolean, date, alphanumeric, and other data types and when each would be best used based on example data provided in tables. The advantages of boolean over alphanumeric for yes/no questions and the need for multiple date formats are also explained.

Uploaded by

api-266928189
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 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?

Reason

No

Date

Date of birth

Door status

Open

Yes

Number of
staples

34

No

Has 4 legs

Yes

Yes

Because it can only be


open+closed
Because its a whole
number
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

Alphanume
ric

No combination of words
or letters

Phone Number

0121 222
9999

Alphanume
ric

Combination off symbols


and letter

Gender

Boolean

Male or female

Date of Birth

01/01/190
0

Date

There is only one thing,


date

Country

Germany

Alphanume
ric

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


BOOLEAN instead of ALPHANUMERIC.
Because Boolean needs to have two values when alphanumeric is a
combination of letter/numbers So we can analyse data accurately.

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


available for storing the date.
countrys store the data in different ways (MM/DD/YY)

You might also like