Skip to content

Searching and Filtering DataActivities & Teaching Strategies

Active learning works for this topic because Year 5 pupils need to experience the instant feedback of digital tools to grasp how queries and filters transform data. Physical comparisons to paper systems help students anchor abstract concepts in concrete memory, making logic gates and data operations memorable when taught through movement and discussion.

Year 5Computing4 activities20 min35 min

Learning Objectives

  1. 1Explain how 'AND' and 'OR' operators modify search query results by requiring or accepting multiple conditions.
  2. 2Compare the efficiency of searching digital datasets versus manual paper-based filing systems.
  3. 3Differentiate between filtering data to hide non-matching rows and sorting data to reorder columns in a spreadsheet.
  4. 4Construct search queries using logical operators to retrieve specific information from a given dataset.

Want a complete lesson plan with these objectives? Generate a Mission

25 min·Pairs

Pairs: Query Relay Challenge

Pairs share a spreadsheet of class survey data on hobbies. One pupil enters an AND or OR query, like 'sport AND football'; partner checks results and scores accuracy. Switch roles after five queries, then discuss refinements.

Prepare & details

Explain how 'AND' and 'OR' operators make search results more specific.

Facilitation Tip: During Query Relay Challenge, circulate and ask each pair to explain their query logic aloud before moving to the next station.

Setup: Groups at tables with case materials

Materials: Case study packet (3-5 pages), Analysis framework worksheet, Presentation template

AnalyzeEvaluateCreateDecision-MakingSelf-Management
35 min·Small Groups

Small Groups: Digital vs Paper Race

Provide identical datasets: one digital spreadsheet, one printed. Groups search for specifics, like 'girls OR Year 5 who like reading', timing each method. Record times and compare why digital wins.

Prepare & details

Compare the speed of searching a database versus a paper filing system.

Facilitation Tip: In Digital vs Paper Race, provide identical datasets on paper and screen so students time and compare the same task.

Setup: Groups at tables with case materials

Materials: Case study packet (3-5 pages), Analysis framework worksheet, Presentation template

AnalyzeEvaluateCreateDecision-MakingSelf-Management
20 min·Whole Class

Whole Class: Filter and Sort Demo

Project a large class pet dataset. Teacher demonstrates filtering by colour, then sorting by age. Class predicts outcomes, votes, and tries on personal copies to verify.

Prepare & details

Differentiate between a filter and a sort in a spreadsheet.

Facilitation Tip: For Filter and Sort Demo, use a shared screen to show filters hiding and revealing rows, and sorts rearranging columns in real time.

Setup: Groups at tables with case materials

Materials: Case study packet (3-5 pages), Analysis framework worksheet, Presentation template

AnalyzeEvaluateCreateDecision-MakingSelf-Management
30 min·Individual

Individual: Personal Data Hunt

Pupils enter their own profile data into a template spreadsheet. They create three queries using AND/OR to find matches, like 'age >10 AND favourite colour blue', then share one with a partner.

Prepare & details

Explain how 'AND' and 'OR' operators make search results more specific.

Setup: Groups at tables with case materials

Materials: Case study packet (3-5 pages), Analysis framework worksheet, Presentation template

AnalyzeEvaluateCreateDecision-MakingSelf-Management

Teaching This Topic

Teach this topic by pairing concrete analogies with immediate digital practice. Start with a physical sorting task, such as organizing cards by color, to introduce sorting and filtering. Then move to digital tools to show how computers automate these actions, reinforcing that filters hide data while sorts reorder it. Avoid rushing into Boolean logic without first building confidence in basic operations.

What to Expect

Successful learning looks like pairs explaining why their query returned a specific subset of results, small groups racing to find data faster with digital tools than paper, and individual students confidently distinguishing filters from sorts in a real dataset. Clear articulation of logic gates and data-handling actions shows understanding.

These activities are a starting point. A full mission is the experience.

  • Complete facilitation script with teacher dialogue
  • Printable student materials, ready for class
  • Differentiation strategies for every learner
Generate a Mission

Watch Out for These Misconceptions

Common MisconceptionDuring Query Relay Challenge, watch for students who believe 'AND' adds more results than 'OR'.

What to Teach Instead

Have these students draw a Venn diagram on their worksheet to visualize overlapping sets, then re-run their query to see how 'AND' narrows results to the overlap.

Common MisconceptionDuring Digital vs Paper Race, watch for students who think filters delete data permanently.

What to Teach Instead

Ask them to clear the filter during the demo and watch the hidden rows reappear, repeating this process until the misconception is addressed through repeated observation.

Common MisconceptionDuring Filter and Sort Demo, watch for students who confuse sorting with filtering.

What to Teach Instead

Ask them to predict what will happen before each action: 'Will the list shrink to a subset or reorder?' Then run both actions side by side to highlight the difference.

Assessment Ideas

Exit Ticket

After Query Relay Challenge, provide a simple dataset of fruits with attributes (name, color, type). Ask students to write two queries: one using AND to find all 'red' AND 'berries', and another using OR to find all 'apples' OR 'pears'.

Discussion Prompt

After Digital vs Paper Race, pose the question: 'You have a pile of 100 mixed Lego bricks. Which is faster: sorting all bricks by color first, or scanning for a red brick? Why?' Ask students to justify their answer based on their race results.

Quick Check

During Filter and Sort Demo, present a spreadsheet of student test scores. Ask students to identify which action hides students who scored below 60% (filter by score) and which action arranges students from lowest to highest score (sort by score).

Extensions & Scaffolding

  • Challenge: Ask students to create a compound query using both AND and OR to find a specific subset in a large dataset.
  • Scaffolding: Provide a partially completed query with missing operators for students to finish, using the same dataset from the Personal Data Hunt.
  • Deeper exploration: Invite students to research how search engines use AND and OR operators, and present one example to the class.

Key Vocabulary

QueryA request for information from a database or dataset. It specifies what data you want to find.
AND operatorA logical operator used in searches that requires all specified conditions to be true for a result to be included.
OR operatorA logical operator used in searches that requires at least one of the specified conditions to be true for a result to be included.
FilterA tool that hides rows in a dataset that do not meet specific criteria, showing only the matching data.
SortThe process of arranging data in a specific order, such as alphabetically or numerically, based on the values in one or more columns.

Ready to teach Searching and Filtering Data?

Generate a full mission with everything you need

Generate a Mission