Skip to content

Lucky3mc/week4-ai-assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Week 4 Assignment

Name: Lucky Maina

Question 1: What is Data?

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:

  1. The current temperature reading from a thermometer (e.g., "28°C").
  2. A list of customer names from a sign-up sheet (e.g., "Alice, Bob, Charlie").

Question 2: Explain the difference between: Structured Data and Unstructured Data

  • Structured Data: This type of data is highly organized and has a fixed schema.

    • Examples:
      1. A financial database containing transaction records with fields like Transaction ID, Date, Amount, and Account Number.
      2. A spreadsheet listing employee information with columns for Employee ID, Name, Department, and Salary.
  • Unstructured Data: This data does not have a pre-defined organizational model or does not have a fixed schema.

    • Examples:
      1. The content of an email, including the subject, body text, and any attachments.
      2. Multimedia files like images, audio recordings, or video footage.

Question 3: What is a Schema?

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages