# How Search Engines Work > Eighth graders learn what happens when they hit “search” — engines crawl the web, index what they find, and rank results by relevance and trust against your… **Computer Science** | **Grade 8** *A free lesson plan from K12 Academics. Source page: https://lessonplans.k12academics.com/k12-lesson-g8-cs-search.html* Eighth graders learn what happens when they hit “search” — engines crawl the web, index what they find, and rank results by relevance and trust against your query. Understanding this makes you a smarter searcher. They explore the steps, then improve a search. **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… - Explain **crawling & indexing**. - Describe **ranking**. - Write a better **query**. - Search smarter. What actually happens when you type something into a search engine? ## How Search Works Project this and tap each. Have students explore how search engines work. ## 50 minutes, five moves Tap any phase to open the teacher moves and student actions. ### Hook — Split-Second Search How does a search engine look through billions of pages so fast? #### 👩‍🏫 Teacher Moves - Pose the question. - Share ideas. - Set the goal. #### 🎒 Student Actions - Think. - Share. - Get ready. ### Use — Search Engines Students learn. #### 👩‍🏫 Teacher Moves - Send students to How Search Works. - Tap each step. - Note crawl → index → rank. #### 🎒 Student Actions - Tap each. - Say. - Note it. ### Modify — Search Smarter Students practice. #### 👩‍🏫 Teacher Moves - Write a vague search. - Make it specific. - Add key words. #### 🎒 Student Actions - Vague. - Specific. - Keywords. ### Create — Create Students apply. #### 👩‍🏫 Teacher Moves - Pick a question. - Write your best query. - Judge the top results. #### 🎒 Student Actions - Pick. - Query. - Judge. ### Reflect — Reflect Students close. #### 👩‍🏫 Teacher Moves - What does a crawler do? - Why rank results? - 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 the ISTE Standards for Students. Explain how information is routed and found. Represent and organize data (indexing). Explain abstractions that hide complexity. Evaluate and refine search strategies. ## One lesson, every learner ### Multilingual Learners - Search-step diagram. - Frame: "a crawler ___." - Demo a live search. ### Support & Access - Use crawl/index/rank. - Use a diagram. - Improve one search. ### Stretch & Extend - Compare two search tools. - Use search operators. - Evaluate source trust. ### What to gather - 📽️Screen / board - 🔎Search-step cards - 💻How Search Works - 📋Query worksheet - 📓Notebooks - 🎫Exit-ticket slips ### Key terms - **search engine**: a tool to find web pages - **crawler**: a bot that discovers pages - **index**: a stored catalog of pages - **rank**: order results by relevance - **query**: your search words - **relevance**: how well a page fits - **keyword**: an important search word - **algorithm**: the rules that rank results ## Exit Ticket Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students. ### Reflect: how search engines work. Have students write a sharper query and judge the results. A printable query worksheet is in the CS library. ## Check your understanding **1. What does “search engine” mean?** - a tool to find web pages *(correct)* - order results by relevance - a bot that discovers pages - your search words “search engine” means: a tool to find web pages **2. Which word means: “a bot that discovers pages”?** - search engine - crawler *(correct)* - index - keyword “crawler” means: a bot that discovers pages **3. What does “index” mean?** - your search words - a tool to find web pages - an important search word - a stored catalog of pages *(correct)* “index” means: a stored catalog of pages **4. Which word means: “order results by relevance”?** - index - crawler - keyword - rank *(correct)* “rank” means: order results by relevance **5. What does “query” mean?** - how well a page fits - your search words *(correct)* - order results by relevance - the rules that rank results “query” means: your search words **6. Which word means: “how well a page fits”?** - search engine - relevance *(correct)* - keyword - query “relevance” means: how well a page fits ## Printable worksheet --- Full lesson page: https://lessonplans.k12academics.com/k12-lesson-g8-cs-search.html All lessons: https://lessonplans.k12academics.com/