FD2- Data Types Flashcards
Why are data types important?
1)Organize and process data effectively.
2)Data integrity (Only valid data types stored)
Fundamental data types can be classified into which 3 groups?
Character (everything on keyboard)
Numeric
Date
What are the examples of complex data types?
Maps
Images
Video
What is a keyword?
A reserved word that a system recognize as instruction to perform tasks
What are the common data types used in spreadsheet or database?
Numbers
Date/Time
Currency
String
Boolean
What is the important strategy when assigning data types?
Consider purpose of data (what for, why, who)
What is character?
Contains only a single value of number or letter or symbol.
What is String?
String is combination of characters.
In spreadsheet, it is stored in TEXT.
TEXT formats all values as characters.
What is Numbers?
Numeric values (non-digits)
Example: Integers, Real number, decimal numbers
Different systems has capacity of storing different numbers.
Spreadsheet has no limitations of types of number. (No need specify which number type)
Database have its own limitations of types of numbers. (Need specify which number type)
Explain Date/Time
Date differ from country to country
DD/MM/YY or MM/DD/YY
Time formats differ based on different purpose
HH/MM/SS or HH only or SS only
Integration between date and time require the use of TIMEVALUE and INTERVAL
Explain Currency.
Decimal is used in CURRENCY data type.
A currency sign will be added next to the stored digit.
Explain Boolean.
True or False.
Can be used in yes-or-no situations
Supported by most systems