0% found this document useful (0 votes)
18 views5 pages

Data Types: by Winston Diep

Text/string data types store any keyboard characters like names, numbers, or alphanumeric codes as raw text without mathematical operations. Integer and real numbers differentiate between whole numbers without decimals and values with decimals, with currency stored as real due to decimal amounts. Boolean fields restrict values to true/false or yes/no binary options, useful for gender or yes/no questions, while date/time captures dates in standard formats and timestamps.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views5 pages

Data Types: by Winston Diep

Text/string data types store any keyboard characters like names, numbers, or alphanumeric codes as raw text without mathematical operations. Integer and real numbers differentiate between whole numbers without decimals and values with decimals, with currency stored as real due to decimal amounts. Boolean fields restrict values to true/false or yes/no binary options, useful for gender or yes/no questions, while date/time captures dates in standard formats and timestamps.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Data Types

By Winston Diep

Text/String
It is any key on the keyboard. It can be used as text (Winston) or numbers (2345) or both such as a postcode(Br1 7ge). Numbers are stored as text if they are not to be manipulated e.g. add/minus. Also any number that starts with 0 such as telephone numbers are used as text/string.

Integer/Real
Integers are numbers that are used without decimal places. Real are numbers that are used with decimal places. Currency is stored as a real number since decimal places are used.

Boolean
Boolean fields can store on of only two possible values e.g. yes/no and true/false. They can be used to represent any questions with only two possible outcomes such as male/female.

Date/time
DD/MM/YY or DD/MM/YYYY is used to describe the date.

You might also like