Home›Lesson Plans›Computer Science›Networks & the Internet · Grade 7

How Search Engines Work

Seventh graders look under the hood of the search box they use every day, discovering how bots crawl the web, how an index is built, and how results get ranked, then learn to search smarter.

Grade 7How Search Engines Work45 minutes1 class periodUse → Modify → CreateExplicit teaching4 StandardsCSTA
Start the Lesson
Assign or share this lesson

Copy link works with Canvas, Schoology, Moodle and any other LMS — paste it in as a resource or assignment.

Lesson at a Glance

Everything you need before the bell rings

Learning Objectives

Students will be able to…

  • ✓See how the web is crawled.
  • ✓Explain the index.
  • ✓Know how results are ranked.
  • ✓Search and judge results.
Essential Question

You type a few words and get millions of results in under a second. The engine did not read the whole web just now, so how does it work so fast, and why is one result ranked above another?

0
Lesson Phases
0
Vocabulary Terms
0
Standards Aligned
0
Interactive Task
Explore Search Engines · Interactive

Explore Search Engines

Project this and open each card to explore how a search engine crawls, indexes, and ranks the web.

🔍 Explore how a search engine worksTry it

The Lesson · Use → Modify → Create (a coding progression with Unplugged practice)

45 minutes, five moves

Tap any phase to open the teacher moves and student actions.

1

Hook — Billions of Pages, One Second

5 min

You type a few words and a search engine returns millions of results in under a second. It did not read the whole web just now. So how does it work so fast?

👩‍🏫 Teacher Moves

  • Show a search and its result count.
  • Ask how it is so fast.
  • Set the goal.

🎒 Student Actions

  • Think.
  • Share.
  • Get ready.
2

Use — Explore Search Engines

12 min

Students explore how a search engine works.

👩‍🏫 Teacher Moves

  • Send students to Explore Search Engines.
  • Open each card.
  • Note the ideas.

🎒 Student Actions

  • Explore.
  • Read.
  • Note it.
3

Modify — Better Keywords

13 min

Students improve a search.

👩‍🏫 Teacher Moves

  • Start with a vague search.
  • Add better keywords.
  • Compare the results.

🎒 Student Actions

  • Start.
  • Refine.
  • Compare.
4

Create — Rate the Results

15 min

Students judge search results.

👩‍🏫 Teacher Moves

  • Run a real search.
  • Rank the top results.
  • Say what makes one trustworthy.

🎒 Student Actions

  • Search.
  • Rank.
  • Say.
5

Reflect — Behind the Search Box

5 min

Students reflect on search engines.

👩‍🏫 Teacher Moves

  • What does a web crawler do?
  • Why are some results ranked higher than others?
  • Complete the exit ticket.

🎒 Student Actions

  • Say it.
  • Say it.
  • Complete the exit ticket.
Standards Alignment

Built to the standards you report on

Aligned to the CSTA K-12 Computer Science Standards and ISTE Standards for Students.

CSTA
2-NI-04

Model how information is broken down, sent, and received across networks.

CSTA
2-DA-08

Collect data and transform it so it is more useful for a purpose.

CSTA
2-IC-20

Compare tradeoffs associated with computing technologies that affect people.

ISTE
1.3.c

Knowledge Constructor: evaluate the accuracy and relevance of information sources.

Differentiation

One lesson, every learner

Multilingual Learners

ELL / EMERGING READERS
  • Crawl-index-rank picture cards.
  • Sentence frame: “A search engine ___ , then ___ .”
  • Explore one card at a time.

Support & Access

IEP / 504
  • Start with crawling and the index.
  • Trace one keyword to a result.
  • Explore one idea before the next.

Stretch & Extend

GIFTED / EARLY FINISHERS
  • Compare two search engines on the same query.
  • Research how ranking has changed over time.
  • Discuss how ads and SEO shape results.
Materials

What to gather

  • 📽️Projector / board
  • 🔍A live search to demo
  • 💻Explore Search Engines
  • 🖼️Crawl / index / rank cards
  • ✏️Pencils
  • 🎫Exit-ticket slips
Vocabulary

Key terms — hover for a quick definition

search enginea tool that finds web pages matching the words you typecrawlera program that follows links to discover web pagesindexthe stored collection of pages a search engine searches throughkeyworda word you type to search for somethingrankingthe order results appear in, based on relevance and trustrelevancehow well a page matches what you are looking forlinka connection from one web page to anotherquerythe full set of words you search for
Evaluate

Exit Ticket

Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students.

QUESTION 1
What does a web crawler do?
It follows links from page to page across the web to discover and record pages for the search index.
QUESTION 2
Why can a search engine return results so quickly?
It searches its own prebuilt index of pages, not the entire live web, when you type a query.
QUESTION 3
Why are some results ranked higher than others?
The engine weighs how well a page matches your keywords, how trusted the site is, and how many other pages link to it.

Create: rate the results.

Have students run a real search, rank the top results, and say what makes one trustworthy, so searching becomes a skill, not a reflex. A printable search-engines worksheet is in the Computer Science library.

Study · Flashcards

Study the key terms

Tap a card to flip it, then rate whether you knew it. Built from this lesson’s vocabulary.

🃏 How Search Engines WorkFlip
Card 1
Term
Tap to flip →
Meaning
0

Nice work!

Practice · Quiz

Check your understanding

A quick self-check with instant feedback, drawn from this lesson’s key terms.

📝 How Search Engines WorkQuiz
Score: 0
1 / 6
Question 1
0%

Nice work!

Practice · Worksheet

Printable worksheet

A print-and-go review sheet with a built-in answer key. Tap “Show answer key” to reveal answers, or print the clean version for students.

🖨️ How Search Engines WorkPrint
Name: ________________________
Date: ____________

Part A · Write the word that matches each meaning

Word bank: crawler, index, keyword, link, query, ranking, relevance, search engine
  1. a word you type to search for something
  2. the order results appear in, based on relevance and trust
  3. a connection from one web page to another
  4. the full set of words you search for
  5. the stored collection of pages a search engine searches through
  6. how well a page matches what you are looking for
  7. a tool that finds web pages matching the words you type
  8. a program that follows links to discover web pages

Part B · Show what you learned

  1. What does a web crawler do?
  2. Why can a search engine return results so quickly?
  3. Why are some results ranked higher than others?
Answer key — Part A: 1) keyword · 2) ranking · 3) link · 4) query · 5) index · 6) relevance · 7) search engine · 8) crawler
Part B: 1) It follows links from page to page across the web to discover and record pages for the search index. 2) It searches its own prebuilt index of pages, not the entire live web, when you type a query. 3) The engine weighs how well a page matches your keywords, how trusted the site is, and how many other pages link to it.