# How Search Engines Work > Seventh graders explore how a search engine works - crawling the web with bots, building a huge index, matching your keywords, and ranking results - and how to search and judge results wisely. **Computer Science** | **Grade 7** *A free lesson plan from K12 Academics. Source page: https://lessonplans.k12academics.com/k12-lesson-g7-cs-search-engines.html* 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. **Copy link** works with Canvas, Schoology, Moodle and any other LMS — paste it in as a resource or assignment. ## 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. 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? ## Explore Search Engines Project this and open each card to explore how a search engine crawls, indexes, and ranks the web. ## 45 minutes, five moves Tap any phase to open the teacher moves and student actions. ### Hook — Billions of Pages, One Second 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. ### Use — Explore Search Engines 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. ### Modify — Better Keywords Students improve a search. #### 👩‍🏫 Teacher Moves - Start with a vague search. - Add better keywords. - Compare the results. #### 🎒 Student Actions - Start. - Refine. - Compare. ### Create — Rate the Results Students judge search results. #### 👩‍🏫 Teacher Moves - Run a real search. - Rank the top results. - Say what makes one trustworthy. #### 🎒 Student Actions - Search. - Rank. - Say. ### Reflect — Behind the Search Box 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. ## Built to the standards you report on Aligned to the CSTA K-12 Computer Science Standards and ISTE Standards for Students. Model how information is broken down, sent, and received across networks. Collect data and transform it so it is more useful for a purpose. Compare tradeoffs associated with computing technologies that affect people. Knowledge Constructor: evaluate the accuracy and relevance of information sources. ## One lesson, every learner ### Multilingual Learners - Crawl-index-rank picture cards. - Sentence frame: “A search engine ___ , then ___ .” - Explore one card at a time. ### Support & Access - Start with crawling and the index. - Trace one keyword to a result. - Explore one idea before the next. ### Stretch & Extend - Compare two search engines on the same query. - Research how ranking has changed over time. - Discuss how ads and SEO shape results. ### What to gather - 📽️Projector / board - 🔍A live search to demo - 💻Explore Search Engines - 🖼️Crawl / index / rank cards - ✏️Pencils - 🎫Exit-ticket slips ### Key terms - **search engine**: a tool that finds web pages matching the words you type - **crawler**: a program that follows links to discover web pages - **index**: the stored collection of pages a search engine searches through - **keyword**: a word you type to search for something - **ranking**: the order results appear in, based on relevance and trust - **relevance**: how well a page matches what you are looking for - **link**: a connection from one web page to another - **query**: the full set of words you search for ## Exit Ticket Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students. ### 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. ## Check your understanding **1. What does “search engine” mean?** - a tool that finds web pages matching the words you type *(correct)* - a program that follows links to discover web pages - the stored collection of pages a search engine searches through - a word you type to search for something “search engine” means: a tool that finds web pages matching the words you type **2. Which word means: “a program that follows links to discover web pages”?** - search engine - crawler *(correct)* - index - keyword “crawler” means: a program that follows links to discover web pages **3. What does “index” mean?** - a tool that finds web pages matching the words you type - a program that follows links to discover web pages - the stored collection of pages a search engine searches through *(correct)* - a word you type to search for something “index” means: the stored collection of pages a search engine searches through **4. Which word means: “a word you type to search for something”?** - search engine - crawler - index - keyword *(correct)* “keyword” means: a word you type to search for something **5. What does “ranking” mean?** - the order results appear in, based on relevance and trust *(correct)* - a tool that finds web pages matching the words you type - a program that follows links to discover web pages - the stored collection of pages a search engine searches through “ranking” means: the order results appear in, based on relevance and trust **6. Which word means: “how well a page matches what you are looking for”?** - search engine - relevance *(correct)* - crawler - index “relevance” means: how well a page matches what you are looking for ## Printable worksheet --- Full lesson page: https://lessonplans.k12academics.com/k12-lesson-g7-cs-search-engines.html All lessons: https://lessonplans.k12academics.com/