top of page
Inaugurated by IN-SPACe
ISRO Registered Space Tutor

S0-SA3-0662

What is a Two-Way Table (simple)?

Grade Level:

Class 2

Logic, Data Science, Computing, AI, Maths

Definition
What is it?

A two-way table is a special table that helps us organise and understand information based on two different things at the same time. It has rows and columns, and each box (cell) shows how many items fit both descriptions.

Simple Example
Quick Example

Imagine your class has students who like either football or cricket, and some like chai while others like coffee. A two-way table can show how many students like football AND chai, or cricket AND coffee, all in one place.

Worked Example
Step-by-Step

Let's say in a small shop, 10 customers bought samosas and 8 customers bought jalebis. Out of those 10 who bought samosas, 6 also bought chai. Out of those 8 who bought jalebis, 5 also bought chai. Let's make a two-way table.
---Step 1: Draw a table with 'Samosa' and 'Jalebi' as column headers, and 'Bought Chai' and 'Did Not Buy Chai' as row headers.
---Step 2: Fill in the number of customers who bought Samosa AND Chai. This is 6.
---Step 3: Since 10 customers bought Samosas in total and 6 bought chai, then 10 - 6 = 4 customers bought Samosas but did not buy chai. Fill this in.
---Step 4: Fill in the number of customers who bought Jalebi AND Chai. This is 5.
---Step 5: Since 8 customers bought Jalebis in total and 5 bought chai, then 8 - 5 = 3 customers bought Jalebis but did not buy chai. Fill this in.
---Step 6: Add totals for rows and columns to check your work. Total Chai buyers = 6 + 5 = 11. Total Non-Chai buyers = 4 + 3 = 7. Total Samosa buyers = 6 + 4 = 10. Total Jalebi buyers = 5 + 3 = 8. Overall total customers = 11 + 7 = 18 OR 10 + 8 = 18.
Answer: The table will show:
| | Samosa | Jalebi | Total |
|----------|--------|--------|-------|
| Bought Chai | 6 | 5 | 11 |
| Did Not Buy Chai | 4 | 3 | 7 |
| Total | 10 | 8 | 18 |

Why It Matters

Two-way tables are super useful for organising data, which is key in Data Science and even Artificial Intelligence. They help us find patterns quickly, just like how a cricket analyst uses data to understand player performance. Learning this helps you think logically and solve problems better, skills needed in many jobs like a data scientist or a business analyst.

Common Mistakes

MISTAKE: Putting totals inside the main data cells instead of in the 'Total' rows/columns. | CORRECTION: Remember that the main cells are for the intersection of the two categories, and totals always go in the dedicated 'Total' row or column.

MISTAKE: Mixing up rows and columns, or putting the wrong category in the wrong place. | CORRECTION: Decide clearly which category goes across the top (columns) and which goes down the side (rows) BEFORE you start filling in numbers.

MISTAKE: Not checking if the row totals and column totals add up to the same grand total. | CORRECTION: Always sum up the 'Total' row and the 'Total' column separately. If both sums give the same grand total, your calculations are likely correct.

Practice Questions
Try It Yourself

QUESTION: In a Class 5, 15 students like mangoes and 12 students like apples. 8 students who like mangoes also like chocolate. 6 students who like apples also like chocolate. How many students like mangoes but NOT chocolate? | ANSWER: 7 students (15 - 8 = 7)

QUESTION: A survey asked 20 people if they prefer tea or coffee, and if they prefer Gulab Jamun or Jalebi. 8 people prefer tea, and 12 prefer coffee. Out of the 8 tea lovers, 5 prefer Gulab Jamun. Out of the 12 coffee lovers, 7 prefer Gulab Jamun. Create a complete two-way table for this data, including all totals. | ANSWER:
| | Gulab Jamun | Jalebi | Total |
|----------|-------------|--------|-------|
| Tea | 5 | 3 | 8 |
| Coffee | 7 | 5 | 12 |
| Total | 12 | 8 | 20 |

QUESTION: A small library has 50 books. 30 are fiction and 20 are non-fiction. Out of the fiction books, 18 are in English. Out of the non-fiction books, 15 are in English. How many books are non-fiction AND NOT in English? How many total books are NOT in English? | ANSWER: 5 non-fiction books are not in English (20 - 15 = 5). 17 total books are not in English ((30 - 18) + (20 - 15) = 12 + 5 = 17).

MCQ
Quick Quiz

What is the main purpose of a two-way table?

To list items in alphabetical order

To organise data based on two categories at once

To draw colourful pictures of data

To calculate averages of numbers

The Correct Answer Is:

B

A two-way table's core function is to show how two different characteristics or categories relate to each other by organising data in rows and columns. Other options describe different data handling methods.

Real World Connection
In the Real World

Imagine a big e-commerce company like Flipkart or Amazon. They use two-way tables (or more complex versions) to see how many customers bought 'Electronics' AND 'used a discount coupon', or how many bought 'Clothing' AND 'chose cash on delivery'. This helps them understand customer behaviour, plan sales, and manage inventory, making their delivery like Zepto's super efficient!

Key Vocabulary
Key Terms

ROW: A horizontal line of data in a table. | COLUMN: A vertical line of data in a table. | CELL: The box where a row and a column meet, holding specific data. | CATEGORY: A group or type of items (e.g., 'Boys', 'Girls', 'Cricket', 'Football'). | TOTAL: The sum of numbers in a row or column.

What's Next
What to Learn Next

Great job understanding two-way tables! Next, you can explore 'Frequency Tables' which are a simpler version, or move on to 'Venn Diagrams' to see another way of showing overlapping categories. These concepts are all building blocks for understanding more complex data analysis.

bottom of page