S0-SA3-0660
What is Sorting by Colour AND Shape?
Grade Level:
Class 2
Logic, Computing, AI (multi-attribute classification)
Definition
What is it?
Sorting by Colour AND Shape means arranging items into groups based on two features at the same time: their colour and their shape. An item must match both the colour AND the shape criteria to be in a particular group.
Simple Example
Quick Example
Imagine you have a box of Ludo tokens. Some are red circles, some are blue squares, and some are red squares. If you sort them by 'red AND circle', you would only pick out the red circular tokens, ignoring all other red tokens and all other circular tokens.
Worked Example
Step-by-Step
Let's sort some toys: a yellow square block, a red circle ball, a yellow triangle, a red square block, a yellow circle ring, a red triangle.
Step 1: Identify all items.
---
Step 2: Decide on the first sorting rule: 'Yellow AND Square'.
---
Step 3: Look for items that are BOTH yellow AND square. The 'yellow square block' fits this rule.
---
Step 4: Decide on the second sorting rule: 'Red AND Triangle'.
---
Step 5: Look for items that are BOTH red AND triangle. The 'red triangle' fits this rule.
---
Step 6: Decide on the third sorting rule: 'Yellow AND Circle'.
---
Step 7: Look for items that are BOTH yellow AND circle. The 'yellow circle ring' fits this rule.
---
Answer: Group 1: Yellow Square Block. Group 2: Red Triangle. Group 3: Yellow Circle Ring. (Other items like red circle ball, red square block, yellow triangle do not fit these specific dual criteria).
Why It Matters
This type of sorting is fundamental to how computers and AI classify information, like grouping similar photos or filtering search results. It's used by data scientists to organise large datasets and by engineers designing systems that recognise multiple features, like in self-driving cars or medical imaging.
Common Mistakes
MISTAKE: Sorting only by colour OR only by shape, not both. | CORRECTION: Remember the 'AND'. An item must satisfy BOTH the colour and the shape condition to be included in a group.
MISTAKE: Confusing 'AND' with 'OR'. Forgetting that 'AND' means both conditions must be true. | CORRECTION: 'AND' is strict. If you want 'red AND circle', a red square won't work, and a blue circle won't work. It must be a red circle.
MISTAKE: Not clearly defining the groups before starting the sort. | CORRECTION: Always decide the exact colour AND shape combination for each group first, e.g., 'Group A: Green AND Star', 'Group B: Blue AND Square'.
Practice Questions
Try It Yourself
QUESTION: You have a green triangle, a blue square, a green circle, a blue triangle. Sort them into 'Green AND Triangle' and 'Blue AND Square' groups. | ANSWER: Green AND Triangle: green triangle. Blue AND Square: blue square.
QUESTION: A fruit seller has red apples, green apples, red oranges, and green oranges. If she sorts them into 'Red AND Apple' and 'Green AND Orange' baskets, which fruits go into each? | ANSWER: Red AND Apple: red apples. Green AND Orange: green oranges.
QUESTION: A robot needs to pick up specific blocks. It has red cubes, blue spheres, red pyramids, blue cubes, yellow spheres. If the robot is programmed to pick 'Red AND Cube' first, then 'Blue AND Sphere', which blocks will it pick? List them in order. | ANSWER: First, it picks the red cubes. Then, it picks the blue spheres.
MCQ
Quick Quiz
Which item fits the sorting rule 'Yellow AND Circle'?
A red circle
A yellow square
A yellow circle
A blue circle
The Correct Answer Is:
C
The correct answer is C because the item must be BOTH yellow AND a circle. Option A is a circle but not yellow. Option B is yellow but not a circle. Option D is a circle but not yellow.
Real World Connection
In the Real World
When you use an online shopping app like Flipkart or Amazon and filter products, for example, by 'mobile phones' (shape/type) AND 'red colour' (colour), you are using sorting by colour AND shape. The app uses this logic to show you exactly what you want.
Key Vocabulary
Key Terms
SORTING: Arranging items in a particular order or into groups | CRITERIA: The rules or standards used for sorting | CLASSIFICATION: Grouping items based on shared characteristics | MULTI-ATTRIBUTE: Having more than one feature or characteristic
What's Next
What to Learn Next
Great job understanding sorting by colour AND shape! Next, you can explore 'Sorting by Multiple Attributes with OR' to see how the logic changes when items can fit into a group if they meet *either* one condition *or* another. This will deepen your understanding of logical operations.


