
Technology • 60 • 25 students • Created with AI following Aligned with New Zealand Curriculum
Free PDF · we'll email you a copy
Create a 60-minute introductory lesson titled “Searching + Sorting 1: Algorithms” using the attached Computer Science Field Guide resource, especially the ideas of algorithms, problem-solving, and why some computational problems become difficult as input size grows. Focus on linear search, binary search, and the purpose of sorting; introduce selection sort or bubble sort at a conceptual/pseudocode level without overloading students. Include: prior knowledge, clear learning intentions and success criteria, vocabulary, an engaging unplugged starter, explicit teacher modelling, pair/group activities using cards or classroom objects, a trace-table or pseudocode task, differentiation for support and extension, formative assessment checkpoints, misconceptions, plenary/exit ticket, homework or optional coding follow-up, and required resources. Make the lesson suitable for NZ Year 11 Digital Technologies students and note alignment to NCEA Digital Technologies AS92004 (Create a computer program), while keeping the lesson suitable as a foundation rather than claiming direct assessment coverage. Use the provided CS Fieldguide URL as a teacher reference: https://www.csfieldguide.org.nz/en/chapters/complexity-and-tractability/
Year 13 Digital Technologies students prepare for the NZQA AS91908 external examination, focusing on the 2026 Complexity and tractability topic. Students compare searching and sorting algorithms, analyse how problem size affects efficiency, distinguish tractable from intractable problems, and practise communicating justified analysis at Achievement, Merit and Excellence depth.
Students should understand that a computer program is a precise sequence of instructions, and be familiar with variables, comparison operators and basic pseudocode. Briefly revisit these ideas if needed.
Students will:
Algorithm, input, output, linear search, binary search, sorted, unsorted, comparison, pseudocode, trace table, efficiency, input size, complexity.
Authoritative reference: NZQA 2026 Assessment Specifications for AS91908
0–7 min · Unplugged starter. Display the hook and starter slides and ask, “How could you find one name quickly in a mixed-up list of 100 names?” Give one student a secretly chosen target and ask the class to find it by checking objects or students one at a time. Students observe the number of checks, then suggest ways to improve the process. Establish that an algorithm is a repeatable set of instructions and record students’ existing ideas.
7–17 min · Explicit modelling. Use the search comparison slides to model linear search on the list 4, 9, 2, 7, 5, 1, looking for 7. Then model binary search on the sorted list 1, 2, 4, 5, 7, 9, explaining that each comparison eliminates approximately half the remaining items. Students predict the next item checked before each teacher reveal. Emphasise that binary search cannot be used reliably on unsorted data. Introduce efficiency informally: more input means more work, and the growth in work matters.
17–30 min · Pair search investigation. Distribute the search and trace worksheet and give each pair a set of numbered cards or classroom objects labelled with numbers. Students complete a linear search for a target, recording every comparison, then order the items and repeat using binary search. Pairs compare the number of comparisons and answer: “Which method was better here, and what condition made it possible?” Circulate and check that students do not discard items arbitrarily during linear search or use binary search before sorting.
30–42 min · Sorting as preparation. Demonstrate selection sort conceptually with six number cards: find the smallest remaining value, swap it into the next position, and repeat. Show the matching short pseudocode on the sorting demonstration slides. Avoid requiring memorisation. In groups of three or four, students sort a new set of cards, with one student acting as the computer, one recording comparisons, and others checking the rule. Students annotate the worksheet with one reason sorting is useful and one possible cost of sorting.
42–53 min · Trace-table and problem-solving task. Students complete the pseudocode trace on the search and trace worksheet for a binary search of a sorted list. They record the list, target, middle position, comparison, and remaining search range after each step. Students then answer a challenge question: “Why might a computer need a different strategy when a list grows from 10 items to one million items?” Pause for a whole-class check. Connect this to the Field Guide idea that some problems become impractical as input size grows; a faster computer does not always solve a poor strategy.
53–60 min · Plenary and exit ticket. Return to the plenary and exit-ticket slides. Students individually complete three responses on the worksheet: define an algorithm in their own words; explain why binary search needs sorted data; and state one misconception or correction they made today. Invite two students to share contrasting answers, then collect responses to identify next steps.
Students may translate the linear-search or binary-search pseudocode into Python, test it on lists of 10, 100 and 1,000 values, and record the number of comparisons. They should not claim that timing alone proves efficiency; they should explain what was measured and how input size affected the result.
Join thousands of teachers using Kuraplan AI to create personalized lesson plans that align with Aligned with New Zealand Curriculum in minutes, not hours.
Created with Kuraplan AI
Generated using openai/gpt-5.6-luna
🌟 Trusted by 1000+ Schools
Join educators across New Zealand