Computing Progress logo
Community Supported
Section Title Primary information Description and Notes Suggested resources
Lesson Length The expected lesson length will be approximately one hour

Some variation possible.

Assessment Level 1

 
Students The lesson is suitable for KS3 and KS4 students Since this is a new specification, the lesson is suitable for Year 7 to 9 students and differentiated by outcome  
Overall Focus The lesson focus will consolidate what they have learned previously This lesson will begin to explore how much they know and how well they can apply this when it comes to making their won algorithms

Lesson Links: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39

Key words algorithm, abstraction, programming language, instruction, open source, digital, file types, variable These words need to be reinforced throughout the series of lessons  
Assessment Identify different algorithms that target the same task Evidence here will be student's reflecting on what they understand and assessor observations  
Key Questions Some questions to get learners thinking about the topics Looking at the way algorithms do what they are designed to do, but could it be better. Angry dog What examples can they think of where different instructions will lead to the same result?  Can they think of why this might be useful?  What makes students decide on a particular "algorithm" such as going to school.  What factors do they consider, i.e avoid someone's house, good view, scary dog etc.
Learning Objectives
  • To explain and describe some working examples of algorithms
  • To describe and explain, with examples, how different algorithms can be used for the same end result
  • To understand how algorithms are decided and what factors influence this choice

Students need to practice with a range of algorithms that do the same tasks but in different ways.

If you are using the Learning Machine learning system, students can add their comments and material to this site as evidence of their growing understanding.  The site, if used consistently, will show progression via charts of activity and outcomes.
Teaching and Learning Elements
  • Introduce some examples of algorithms in every day life as previously
  • A teacher led demonstration of algorithms that achieve the same results, but differently
  • Students can break into groups and work on their own ideas about the introduced algorithms
  • Class discussion and evaluation of the wider uses of models and algorithms
  • Summarize the key points and reinforce the importance of routines in good algorithm design

Students need to be taught some of the fundamentals of algorithms and how they can be constructed, but also some of the variation in them.  This will lead in to more quality programming from the students later on as they realise the best way to write routines (algorithms) for tasks.

 
Lesson Structure Possible structure
  1. introduce some examples of algorithms
  2. show students some more detailed examples of algorithms achieving the same results with different methods
  3. group work to work on some of their own
  4. discuss what they have learned and what they can apply
  5. volunteers to share their work and explain how they came to their final versions
  6. highlight next week's focus and issue homework

Plenty of examples on CS Unplugged logo

Work through the Search Algorithm on CS Unplugged and discuss what is happening and why.  How can two algorithms get the same result with different methods.  Emphasize that solving the problem is key and there are always many ways to do this, so many algorithms possible.

This algorithm shows how diagnosis of a childhood illness is worked out.

The image shown here shows an algorithm for deciding to play or not.

Google logo This well known site uses a lot of algorithms.  Their latest algorithm, Penguin 3.0 is explained here Penguin craftsman image.

The password generator we looked at in an earlier lesson also uses an algorithm to find the best password for users based on factors such as mixing capitals and small letters, numbers, symbols etc.

You can even make algorithms to herd sheep.

On the algorithm link in the key words box above, there is an example of various algorithms applied to sorting cards.  Students can sort them by numbers, colours, suits, style (number or picture cards) etc.

Show how common place algorithms are and how easy it is to get the same result with two different methods.

Homework Get students to write a short evaluation of their view of algorithms.  They can use one that they made up and say why it is good Students can vary their homework depending on their level of understanding Get students to document their recipes on their portfolio system for assessment

 

Print Friendly, PDF & Email