Name: Lucky Maina
Data is essentially raw, unorganized facts, figures, or information that can be collected, processed, and interpreted to gain knowledge or make decisions.it maybe represented as numbers, text, images, sounds, or any other form of representation.
Examples:
- The current temperature reading from a thermometer (e.g., "28°C").
- A list of customer names from a sign-up sheet (e.g., "Alice, Bob, Charlie").
-
Structured Data: This type of data is highly organized and has a fixed schema.
- Examples:
- A financial database containing transaction records with fields like
Transaction ID,Date,Amount, andAccount Number. - A spreadsheet listing employee information with columns for
Employee ID,Name,Department, andSalary.
- A financial database containing transaction records with fields like
- Examples:
-
Unstructured Data: This data does not have a pre-defined organizational model or does not have a fixed schema.
- Examples:
- The content of an email, including the subject, body text, and any attachments.
- Multimedia files like images, audio recordings, or video footage.
- Examples:
A schema is like a blueprint or a structural design for data, especially in databases.
Simple Example: Imagine a recipe book. A schema for a recipe might define that it must have:
Title(text, required)Ingredients(a list of text items, required)Instructions(text, required)Prep Time(number, in minutes, optional)
This schema ensures that every recipe you add to your collection has these essential pieces, and they are in the correct expected format.