Class 6 · Unit 2: Data · Lesson 2.2 · 40 min
Rows and columns: organising data in a table
Scraps of paper all day at the mandi: Ambri 40, Delicious 65, no wait… In the evening nobody can say how many Delicious boxes were sold.
Today you will: Build your first spreadsheet table · Make the computer add up for you · Read an answer straight from a table
Story
At the Sopore fruit mandi, Muneer's father writes on scraps of paper all day: "Ambri 40... Delicious 65... no wait, Kullu 20... Delicious another 15..."
In the evening he asks, "How many Delicious boxes did we sell?" Nobody can find all the scraps.
Muneer takes a notebook and draws lines. One column for the variety, one for boxes, one for the price. Now each sale is one neat row.
Muneer: “Now even a computer could read this.”
Watch
Rows, columns and your first spreadsheet — — scan code 6.2.2 in the printed book.
Learn it
Muneer's father had all the right facts, but on loose scraps they were useless. A table fixes that: every sale gets its own row, every kind of fact gets its own column, and the headings say what each column means. A spreadsheet is a table the computer can read, add up and sort for you. Most of the data AI learns from is stored in giant tables like this.
Words to know
- Table data arranged in rows and columns.
- Row a line of cells going across, from left to right. One row holds one example: one sale, one day, one answer.
- Column a line of cells going down. One column holds one kind of fact, such as the price.
- Cell one box, where a row and a column meet. Each has an address, like B3 (column B, row 3).
- Heading the name at the top of a column, saying what it holds.
- Spreadsheet a program for tables, like LibreOffice Calc, that can also do sums.
Step by step: reading a table
Here is a walnut seller's table for one day (prices made up for practice):
| A | B | C | |
|---|---|---|---|
| 1 | Walnut | Kilos sold | Price per kilo (Rs) |
| 2 | Kagzi (thin shell) | 12 | 700 |
| 3 | Wonth (hard shell) | 20 | 400 |
| 4 | Burzul (medium shell) | 8 | 550 |
- Read the headings first: column B is kilos sold, column C is the price.
- Find one fact: cell B3 says 20 kilos of Wonth were sold.
- Compare: the biggest number in column C is 700, so Kagzi costs the most.
- Add up: 12 + 20 + 8 = 40 kilos in all. In Calc,
=SUM(B2:B4)does this for you.
Four steps organise any data: classify (put like with like), structure (rows and columns), label (a heading on every column) and store (save it with a good name).
🕌 From our heritage
A thousand years ago the scholar al-Bīrūnī (973–1048) filled his books with tables: distances between cities, positions of stars, weights of metals. He did not trust a single measurement — he compared his figures with other scholars' and looked for the mistakes. Using careful measurements and mathematics, he worked out the size of the Earth and came remarkably close to the figure we use today. Neat tables and cross-checked numbers are older than any computer.
Al-Bīrūnī, Kitāb Taḥdīd Nihāyāt al-Amākin (c. 1025) and al-Qānūn al-Masʿūdī.
Careful: rows go across and columns go down. Mixing them up is the most common mistake. A row lies flat like a row of houses, and a column stands up like a pillar.
On the laptop
Tools: LibreOffice Calc
Mission 1: Type the table (alone or pairs, 9 min)
- ☐1
Open Calc. In A1 type
Variety, press Tab, typeBoxes, Tab,Price per box (Rs), then Enter. - ☐2
Type these rows — Tab between cells, Enter at the end of each row: Delicious 65 1100 · Ambri 40 1400 · Kullu Delicious 20 900 · American 30 1000 · Maharaji 15 1200 (Prices made up for practice — real mandi prices change every day.)
- ☐3
Make row 1 bold: select it and press Ctrl + B. Double-click the line between column letters to widen a column.
Mission 2: Let the computer add (alone or pairs, 8 min)
- ☐4
Predict: how many boxes were sold altogether? Write your guess down.
- ☐5
Click an empty cell, type
=SUM(B2:B6)and press Enter. Was your guess close? - ☐6
Answer from your table: which variety sold most? which is most expensive?
- ☐7
Save as
mandi.odsin yourmy-data-6folder.
Finished early?
Add a Total (Rs) column: in D2 type =B2*C2 and fill it down. Which variety brought in the
most money?
No laptop today?
Rule a table with three columns in your notebook: Favourite fruit · Favourite season · How you come to school. Fill one row each for 5 classmates — no names. Then answer: which fruit is most popular?
Debate it
Muneer's father wrote the scraps quickly because he was busy. When is it worth taking extra time to organise data neatly?
Check yourself — practice, not a test
1. In a spreadsheet, rows go:
- ○ Across, from left to right
- ○ Down, from top to bottom
- ○ Diagonally
- ○ Only on the first page
2. The box where a row and a column meet is called a ______.
3. The top row of a table usually holds headings.
- ○ True
- ○ False
4. Put the steps in order to start a table:
- 1. Type one example in each row
- 2. Open LibreOffice Calc
- 3. Save the file
- 4. Type the headings in row 1
5. Match each step of organising data to what you did today:
Classification · Structuring · Labelling · Storage
Match with: Put all the apple sales together in one table · Saved the file as mandi.ods in your folder · Arranged them in rows and columns · Typed a heading above each column
Remember
Rows go across, columns go down, and every row is one example.
Typing practice
10 minutes on typing.com: top row practice.
- Start the top-row lessons (for example "Top Row: E and I").
- Also practise the Tab and Enter keys, which you will use in the spreadsheet today.
- Goal: go back to the home row after every reach.