Class 7 · Unit 4: Data visualisation · Lesson 4.1 · 40 min
Structured and unstructured data
A notebook of trips, 900 photos, 40 voice notes, a few reviews. Which one tells Uncle his busiest month? One takes two minutes. One takes two weeks.
Today you will: Sort six real files: structured or not · Count records and fields · Peek inside a CSV and a web page
Story
Hiba's uncle runs a shikara on Dal Lake. At the end of the season he has:
- a notebook where every trip is written in one line: date · passengers · fare
- 900 photos of tourists on his phone
- 40 voice notes from customers booking a ride
- a few reviews that tourists wrote online
Uncle: “Which of these tells me my busiest month?”
Rahat looks at the pile. "The notebook, in two minutes. The photos… maybe in two weeks."
All of it is data. But some data is ready to use, and some is not.
Watch
Structured and unstructured data — — scan code 7.4.1 in the printed book.
Learn it
All of Uncle's pile is data, but not all of it is ready to use. The notebook of trips fits neatly into rows and columns, so a computer can sort and add it in seconds: that is structured data. The photos, voice notes and reviews have no fixed shape: that is unstructured data. It is rich, but a computer must do much more work to find anything in it. And every kind of data is saved in a format that decides how easily it can be read and shared.
Words to know
- Structured data data that fits into rows and columns, like an attendance register or a timetable. Easy to store, search, sort and analyse.
- Unstructured data data with no fixed shape: photos, video, audio, emails, social media posts.
- Table data organised in rows and columns, as in a database.
- Record one row: one complete entry, like one shikara trip.
- Field one column: one piece of information, like the fare.
- Data format the way a file stores its data, shown by its ending, like
.csvor.jpg. - CSV "comma-separated values": a plain text file where each line is a record and commas separate the fields.
- Tag a word inside
< >in a web page (HTML) that tells the browser how to show the page.
Step by step: one table, two formats
Uncle's notebook, typed into a spreadsheet:
| Date | Passengers | Fare (₹) |
|---|---|---|
| 3 May | 4 | 800 |
| 3 May | 2 | 500 |
The same data saved as CSV and opened in a text editor looks like this:
Date,Passengers,Fare
3 May,4,800
3 May,2,500
- Count the records: 2 (two rows of trips; the heading row is not a record).
- Count the fields: 3 (date, passengers, fare).
- See the separator: in CSV, commas separate the fields.
- Same data, two formats: the spreadsheet (
.ods) shows a grid; the CSV is plain text any program can read.
The five format families: databases · text files (TXT, CSV) · spreadsheets (ODS, XLSX) · web and mark-up files (HTML, XML) · media files (JPG, PNG, MP4, MP3, WAV).
Careful: unstructured does not mean useless. Photos and voice notes hold things a table never could; they just need much more work (and often AI) before a computer can count or search them.
On the laptop
You need: File Manager · LibreOffice Calc · a text editor · unit-4/formats/ (shikara-trips.ods, shikara-trips.csv, notice.txt, chinar.jpg, rain.mp3, tourism-page.html)
Mission 1: The format log (pairs, 7 min)
- ☐1
New Calc file. Row 1 headings, pressing Tab between them:
File name · Format · Structured or unstructured? · Size (KB) · What is inside? - ☐2
Predict: which of the six files will be the biggest? Note it.
- ☐3
Open
unit-4/formats/in the File Manager, switch to Details view, and type one row per file.
Mission 2: Look inside (pairs, 9 min)
- ☐4
Open
shikara-trips.ods. Count the records (rows) and fields (columns). Type them under your table. - ☐5
Right-click
shikara-trips.csv→ Open With → Text Editor. What separates the values? - ☐6
Open
tourism-page.htmlin the text editor, not the browser. Find one word inside< >— a tag that tells the browser how to show the page. - ☐7
Open
chinar.jpg. Can you sort it or add it up? Finish the sentence: "Unstructured data is harder to analyse because…" Save asformats-log.odsin your folder.
No laptop today?
Your teacher reads out 12 kinds of data — a marks list, a wedding video, a bus timetable, a voice note, a CSV of rainfall… Sort them into Structured and Unstructured in your notebook, and write the format you'd save each one in.
Debate it
Many old Kashmiri manuscripts and newspapers exist only as scanned images. A student wants to find every page that mentions "saffron". Why is that hard, and what would make it easier?
Check yourself — practice, not a test
1. Which of these is structured data?
- ○ A video of the school function
- ○ The school attendance register
- ○ Voice notes from parents
- ○ Photos of the science fair
2. Match each file to its format family:
rainfall.csv · marks.ods · index.html · azaan-recording.mp3
Match with: Media file · Spreadsheet · Web / mark-up file · Text file3. In a database table, one complete row is called a ______.
4. Unstructured data is useless for AI. (it is rich, but harder to analyse)
- ○ True
- ○ False
5. Which are unstructured data? (Choose all.)
- ○ Social media posts
- ○ A bus timetable
- ○ Audio recordings
- ○ Emails
Remember
Structured data sits in rows and columns. Unstructured data does not, and it is harder for a computer to use.
Typing practice
8 minutes on typing.com: sentences.
- Continue the Term 2 sentence lessons.
- Then type your teacher's custom lesson with this unit's words: structured, unstructured, record, field, format, spreadsheet, database.
- Goal: 92% accuracy or better. Your own score only; compare it with your last one.