Uploaded by neatfootdablit

task-1-data-types

advertisement
Selecting the correct Data Types
When we are presented with data to be input into a computer system, we must analyse
it and select appropriate data types for each value.
Fill in the table below by looking at the data name and then deciding upon the best data
type. You should then give an example of how the data would look.
Use the lesson PowerPoint to help you.
Data Name
Name
Data Type
Example Data
text
wen fong
Height (metres)
numeric
2
Age
numeric
16
Phone Number
text
016 737 8983 (when start with 0 its a
text)
Address
text
Date of Birth
date/time
B-01-G, Block B SetiaWalk, Persiaran
Wawasan, Pusat Bandar Puchong, 47160
Puchong, Selangor
(28/07/08)
Tax Rate
percentage
2%
Employed?
Boolean Data
Yes / No
Salary
Currency
RM 1600
Appointment Time
date/time
17:34
Discount Amount
percentage
1%
Male or Female
Boolean Data
Male / Female
Favourite colour
text
orange
Post Code
numeric
47130
Download