0% found this document useful (0 votes)
29 views2 pages

Field Name Example Data Boolean or Not? Reason

This document discusses different data types for storing information. It provides examples of data that can be stored as Boolean or logical data types because they only have two possible values. An explanation is given for each example. The document also contains a table with example data fields and asks the reader to select the appropriate data type for each field, explaining their choice. Advantages of storing yes/no questions as Boolean rather than alphanumeric are listed. Finally, it asks the reader to explain why multiple date formats are needed for storing dates.

Uploaded by

api-266924565
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)
29 views2 pages

Field Name Example Data Boolean or Not? Reason

This document discusses different data types for storing information. It provides examples of data that can be stored as Boolean or logical data types because they only have two possible values. An explanation is given for each example. The document also contains a table with example data fields and asks the reader to select the appropriate data type for each field, explaining their choice. Advantages of storing yes/no questions as Boolean rather than alphanumeric are listed. Finally, it asks the reader to explain why multiple date formats are needed for storing dates.

Uploaded by

api-266924565
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/ 2

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
More than two
values(date)
It is a simple answer that
could have been two
values

Date of birth

Door status

Open

Boolean

Number of
staples

34

not

It has more than two


answers (Integer)

Has 4 legs

Yes

Boolean

Two possible values

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

Gender

Boolean

Only two values

Date of Birth

01/01/190
0

Date

It is a date

Country

Germany

Alphanume
ric

A collection of words.

Integer

Reason
There were only two
values
They are all whole
numbers and there are
more than two values

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


BOOLEAN instead of ALPHANUMERIC.
Answering the questions is easier in Boolean.
___________________________________________________________________________________
____________________________________________________________________________________

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


available for storing the date.

iGCSE Data Types


For countrys people live in you cant have that in a yes/no format.
____________________________________________________________________________________
____________________________________________________________________________________

You might also like