π Types of Data
π Data Types and Classifications
In information processing, data comes in various types and forms. Understanding these different types helps in selecting appropriate processing methods and storage formats.
π Basic Data Typesβ
π Text Dataβ
- Characters, words, sentences, and paragraphs
- Examples: names, addresses, descriptions
- Stored as character codes (ASCII, Unicode)
- Used in documents, messages, and labels
π’ Numeric Dataβ
- Numbers used for calculations and measurements
- Further classified into:
- Integers: Whole numbers without decimal points (e.g., 42, -7)
- Floating-point: Numbers with decimal points (e.g., 3.14, -0.5)
- Currency: Monetary values (e.g., HK$500.75)
- Used for calculations, statistics, and measurements
π Date and Time Dataβ
- Calendar dates and clock times
- Examples: 2025-10-04, 14:30:22
- Special format for calculations involving time periods
- Used for scheduling, tracking, and time-based analysis
β Boolean Dataβ
- Represents only two states: True/False, Yes/No, 1/0
- Used for logical operations and conditions
- Examples: Is student present? Has fee been paid?
π± Multimedia Dataβ
- πΌοΈ Images: Visual representations (photographs, diagrams)
- π Audio: Sound recordings and music
- π¬ Video: Moving images with or without sound
- Typically requires more storage space and processing power
ποΈ Data Classification by Structureβ
π Structured Dataβ
- Organized in a predefined format
- Follows a consistent data model
- Examples: spreadsheets, databases
- Easy to search, sort, and analyze
- Typically stored in tables with rows and columns
π Unstructured Dataβ
- No predefined format or organization
- Examples: emails, social media posts, audio recordings
- More difficult to search and analyze using traditional methods
- Represents the majority of data in most organizations
π Semi-structured Dataβ
- Contains some organizational properties but not rigid structure
- Examples: XML files, JSON documents
- Combines flexibility with some degree of organization
π Data Classification by Sourceβ
π Primary Dataβ
- Collected directly from the original source
- Examples: surveys, observations, experiments
- Generally more reliable but more expensive to collect
π Secondary Dataβ
- Data that has been previously collected
- Examples: census data, published research
- Less expensive but may not perfectly match requirements
π Data Classification by Natureβ
π Qualitative Dataβ
- Descriptive information that cannot be measured numerically
- Examples: opinions, colors, descriptions
- Used for understanding characteristics and qualities
π Quantitative Dataβ
- Numerical information that can be measured and calculated
- Examples: height, weight, scores, counts
- Used for statistical analysis and comparisons
Understanding these different types of data is essential for:
- π Choosing appropriate data collection methods
- πΎ Selecting suitable storage formats
- βοΈ Applying the right processing techniques
- π Interpreting results correctly
In information systems, different data types often work together to provide a complete picture for decision-making and problem-solving.