Using a treasure hunt to teach ‘sequence, selection and variables’

Dr. Ahmed Kharrufa

Dr. Ahmed Kharrufa is the Director of Reflective Thinking and a Research Associate of Newcastle University. His interests lie in exploring the ways technology can support collaborative learning and he has created a tool called Digital Mysteries as a result. It started off with Professor David Leat’s paper tool Mysteries, which was then digitally transformed. This involves problem-solving tasks to boost group work skills, higher level thinking and project based learning. He is an advocate of unique multi-mouse technology which allows multiple students to each have their own mouse and cursor on the screen.

Website: Email This email address is being protected from spambots. You need JavaScript enabled to view it.

My to-do list during the summer holidays included preparing a number of collaborative problem-solving tasks (mysteries) for the new computing at schools (CAS) curriculum, KS2 and KS3. With my programming background, I focused on the computing science bit rather than information technology or digital literacy.

While the guidance on most programming-related topics explains how they can be covered with programming tools such as Scratch or other languages, it’s not as straight forward if you want to explain the concepts without such a tool. I wanted to approach computing science from a slightly different angle – in terms of how to present the problems and making content more specific to the new curriculum.

A deductive approach to gaining knowledge

The thing I found most useful about these tasks was that it’s easier to introduce new problems through first using well-known concepts that students feel comfortable about. When something is familiar, they get on with the task and enjoy solving it, but only later are told how it is relevant to a certain point of the computing science curriculum. This more often than not leads to the very useful ‘aha’ moment in learning.

Anyway, after spending (more than I would like to admit) time thinking about the curriculum topics and brainstorming with my colleagues, I ended up with 6 tasks in total; 3 for KS2 and 3 for KS3. In this post, I wanted to share what we, very proudly, came up with to cover the topics of sequence, selection, and working with variables.

The treasure hunt

What better way is there to explain following a sequence of instructions than to do a virtual treasure hunt? Give students a treasure map with a set of instructions, and you are guaranteed to get their attention!

In this treasure hunt, the students are told they have been given a bag with a number of marbles, and while following a sequence of instructions (given to them as unsorted slips of information), they are asked to either collect more marbles in the bag, or give marbles to others throughout their journey. The bag of marbles represents a variable. The selection bit of the hunt, which involves deciding where to go at different cross-roads on the map, depends on the number of marbles in the bag at the time of reaching them. So students need to follow the sequence correctly, make the right changes to the variable (bag of marbles), and make the right choices in the cross roads in order to end up at the correct treasure.


However, we wanted to have a bit of flexibility in the task; avoid having only one path and therefore only one correct location for the treasure. That’s why, with the help of a 9 year old, we ended up having 3 different characters to choose from. Depending on what treasure each one needs, the students will go down a different route.

The choice of character also determines the initial number of marbles in the bag, thus leading to different choices at the crossroads in order to end at the right treasure. We designed the mystery so that it helps the students self-assess whether they are following the instructions correctly or not. They will only get to the correct treasure if they have the right number of marbles in the bag, so students will know if they’ve made a mistake, and if so, they can go through the path again to find out where they went wrong.

Children’s feedback

We pilot-tested this mystery with three children: my 7 year old daughter (with a lot of help), a colleague’s nephew who is 9 years old and who got carried away in giving us more scenarios and maps, and my 13 year old daughter. They were all fully engaged with the hunt, and many of the ideas in the final mystery were based on their feedback. Having a map works wonders we learned: it seems to be more useful to engagement than we expected.

Relating a treasure hunt to computing science

After doing such a fun task, it becomes very easy to explain to the students what a sequence is, how the bag represents a variable (with the number of marbles being its value), and how the value of the variable can be used to make selections. This type of task, which initially looks completely unrelated to the CAS curriculum, makes explaining such a concept so much easier than doing so straight away in front of a programming tool. We’ve used a similar approach with the rest of the topics but that’s the subject of another blog post.

While challenging, and time consuming, I did find the process enjoyable and the feedback we received from the three kids who tried the different tasks was very positive.

Have you ever used treasure hunts in your lessons? Let us know in the comments below.

Register for free to continue reading
Registration is a free and easy way to support us.
When you register, you'll join a grassroots community where you can:
• Enjoy unlimited access to articles
• Get recommendations tailored to your interests
• Attend virtual events with our leading contributors
Register Now

Latest stories

  • How to handle stress while teaching in a foreign country
    How to handle stress while teaching in a foreign country

    Teaching English in a foreign country is likely to be one of the most demanding experiences you'll ever have. It entails relocating to a new country, relocating to a new home, and beginning a new career, all of which are stressful in and of themselves, but now you're doing it all at once. And you'll have to converse in a strange language you may not understand.

  • Is Learning Fun for You, Teacher?
    Is Learning Fun for You, Teacher?

    Over the weekend, my family of five went to an Orlando theme park, and I decided we should really enjoy ourselves by purchasing an Unlimited Quick Queue pass. It was so worth the money! We rode every ride in the park at least twice, but one ride required us to ride down a rapidly flowing river, which quenched us with water. It was incredible that my two-year-old was laughing as well. We rode the Infinity Falls ride four times in one day—BEST DAY EVER for FAMILY FUN in the Sun! The entire experience was epic, full of energizing emotions and, most importantly, lots of smiles. What made this ride so cool was that the whole family could experience it together, the motions were on point, and the water was the icing on the cake. It had been a while since I had that type of fun, and I will never forget it.

  • Free recycling-themed resources for KS1 and KS2
    Free recycling-themed resources for KS1 and KS2

    The Action Pack is back for the start of the brand new school year, just in time for Recycle Week 2021 on 20 - 26 September, to empower pupils to make the world a better and more sustainable place. The free recycling-themed resources are designed for KS1 and KS2 and cover the topics of Art, English, PSHE, Science and Maths and have been created to easily fit into day-to-day lesson planning.

  • Inspire your pupils with Emma Raducanu
    Inspire your pupils with Emma Raducanu

    Following the exceptional performance from British breakthrough star Emma Raducanu, who captured her first Grand Slam at the US Open recently, Emmamania is already inspiring pupils aged 4 - 11 to get more involved in tennis - and LTA Youth, the flagship
    programme from The LTA, the governing body of tennis in Britain, has teachers across the country covered.

  • 5 ways to boost your school's eSafety
    5 ways to boost your school's eSafety

    eSafety is a term that constantly comes up in school communities, and with good reason. Students across the world are engaging with technology in ways that have never been seen before. This article addresses 5 beginning tips to help you boost your school’s eSafety. 

  • Tackling inequality in EdTech
    Tackling inequality in EdTech

    We have all been devastated by this pandemic that has swept the world in a matter of weeks. Schools have rapidly had to change the way they operate and be available for key workers' children. The inequalities that have long existed in communities and schools are now being amplified by the virus.

  • EdTech review & The Curriculum Lab
    EdTech review & The Curriculum Lab

    The world is catching up with a truth that we’ve championed at Learning Ladders for the last 5 years - that children’s learning outcomes are greatly improved by teachers, parents and learners working in partnership. 

  • Reducing primary to secondary transition stress
    Reducing primary to secondary transition stress

    As school leaders grapple with the near impossible mission to start bringing more students into schools from 1st June, there are hundreds of thousands of Year 6 pupils thinking anxiously about their move to secondary school.

  • Generation Z and online tutoring: natural bedfellows?
    Generation Z and online tutoring: natural bedfellows?

    The K-12 online tutoring market is booming around the world, with recent research estimating it to grow by 12% per year over the next five years, a USD $60bn increase. By breaking down geographic barriers and moving beyond the limits of local teaching expertise, online tutoring platforms are an especially valuable tool for those looking to supplement their studies in the developing world, and students globally are increasingly signing up to online tuition early on in their secondary education schooling. 

  • Employable young people or human robots?
    Employable young people or human robots?

    STEM skills have been a major focus in education for over a decade and more young people are taking science, technology, engineering, and maths subjects at university than ever before, according to statistics published by UCAS. The downside of this is that the UK is now facing a soft skills crisis and the modern world will also require children to develop strong social skills as the workplaces are transformed by technology. 

In order to make our website better for you, we use cookies!

Some firefox users may experience missing content, to fix this, click the shield in the top left and "disable tracking protection"