Primary algorithms and programming resources

Keeping your class engaged with new and interesting classroom resources is vital in helping them reach their potential. With Tes Resources you’ll never be short of teaching ideas. We have a range of tried and tested materials created by teachers for teachers, from early years through to A level.

Breathe new life into your lesson plans with our primary and secondary classroom resources. Whether you’re looking for fun maths worksheets or brand new guided reading activities, we have thousands of free and premium resources for you to download. From early years to primary, you’ll find phonics worksheets and numeracy games and all you need to revise for Sats. From secondary to post-16, we have everything from French lessons to algebra activities, as well as GCSE revision guides and more.

Popular subjects

More
  1. Resources Home
  2. Primary
  3. Computing
  4. Algorithms and programming
How to make a Mad Libs game in Python

How to make a Mad Libs game in Python

Overview: In this lesson, students will code a “Mad Lib” game in Python. The game will work by prompting the user to enter some words (e.g. person’s name, noun, adjective, place, object etc.) and substitute these with blanks in a story. Learning Objectives: - Understand and use sequence in an algorithm - Understand and use iteration in an algorithm (FOR and WHILE loops) - Understand and use data structures in an algorithm (for example, Lists, Tables or Arrays)

By Wolves_CLC

Python Shakespearean Insult Generator

Python Shakespearean Insult Generator

Overview: In this lesson, students will learn how to create a 'Shakespearean Insult Generator' using Python Learning Objectives: • Understand and use sequence in an algorithm • Understand and use iteration in an algorithm (FOR and WHILE loops) • Understand and use selection in an algorithm (IF, Else and Else if) • Understand and use data structures in an algorithm (for example, Lists, Tables or Arrays)

By Wolves_CLC

JavaScript Town Name Generator

JavaScript Town Name Generator

Simple website demonstrating how JavaScript can be used to generate random town names. This resource can either be given to students to disassemble and edit, or for the teacher to learn how JavaScript can be used in class to create a simple resource that students will enjoy.

By jsarnold

Algorithm Demonstration

Algorithm Demonstration

A simple but effective introduction to the concept of algorithms. Students are shown a series of random numbers one at a time, and have to tell the teacher which is the largest number. They don't know the range, and they don't know the quantity of numbers. However, all students can do it, by quickly creating a set of simple rules to follow in their head - an algorithm. Without realising it they create a set of instructions to follow, they create a variable, and they carry out comparison tests. They use input, and output, and effectively demonstrate all of the attributes of a simple algorithm. This demonstration can then be used to introduce these ideas, and the whole concept of computational thinking.

By jsarnold

Computational Thinking

Computational Thinking

Purchase my three comprehensive guides to computational thinking within one bargain package! Includes: Computational thinking for KS3 Computational thinking for KS4 Problem Solving for KS3

By RobbotResources

What is a computer program - intro to algorithms and the python IDE

What is a computer program - intro to algorithms and the python IDE

The following is an unplugged lesson which leads smoothly into an introduction to Python suitable for ages 7-15. It introduces the basic concept of algorithms, flowcharts and how computers follow instructions. Print jobs.doc on A3 and spread around the room (the bigger the room the better) along with pens and 2 pieces of plane A3 per work station. Slide 1 of PP on display. Class instructions - to look at career choices and form groups of no more than 4 at the career of choice. Then in teams write down/draw/ mindmap what they think a computer program is. Once instructed and attention drawn to question on screen then slide 2 put up and kids work. answers & discuss then slide 3 what is an algorithm? - discuss slide 4 - is that an algorithm - point to screen(yes) slide 5 - is that an algorithm - point to screen(yes) slide 6 - is that an algorithm - point to screen(yes) slide 7 - is that an algorithm - point to screen (no) Slide 8 - get them to follow instructions using the word 'algorithm' a lot Slide 9 - etc Return to classroom or computers and introduce python IDE - editor/ interpreter (you know do some sums in the shell - yeah great but do you think all programs have one line? Will it work if you have a program with more than one line? etc. then basic print and input statement intro to variables. The what-is-a-computer-program.doc to be used a plenary.

By glamournerd

How do you teach coding?

How do you teach coding?

How do you teach coding? Who is this for? For primary teachers who teach programming - for both non-specialist and specialist computing teachers. What is it? This is a 15-minute research questionnaire by researchers at Queen Mary University of London. Why might you do this? Just doing the questionnaire, will help you think about your own planning and how you teach coding. If you are interested in taking part in the research to improve how we teach programming, pop your email at the end of the survey. Please help us find out more about how we teach programming so we can improve what how we teach our primary pupils how to code! Here is the research questionnaire. https://goo.gl/forms/4nWlR1kQ2r8mnFud2

By jlisaw8

End of Term Computing Fun!

End of Term Computing Fun!

Suitable for Key Stage 2 ,3 or 4. End of term activity for Computing lessons. Develop a game in Kodu based on a design brief from an 8 year old. Encourages exploration and enquiry whilst developing programming skills and mouse control. Download program for free at: www.kodugamelab.com

By Pipjen77

Scratch Pacman series of 6 lessons ( game examples, help sheets, starters, homework, tick lists)

Scratch Pacman series of 6 lessons ( game examples, help sheets, starters, homework, tick lists)

This folder contains 6 full lessons, showing in stages how to build a Pacman game (or similar) in Scratch, with examples and help sheets. It also allows students the ability to go further with higher extension task sheets. I have placed some starter activity sheets, Lesson objectives and a programming homework book also. Save any teacher teaching this unit a lot of time in preparing a whole unit from scratch (excuse the pun!). Lesson 1:- Creating Sprites, Costumes and Stage Lessson2:- Adding script to Pacman to move and change costume (open and close mouth) Lesson 3:- Adding script to move other sprites in the game (ghost) Lesson 4:- Adding variables (Counter, eating the dots) Lesson 5:- Creating the game over sprite/script Lesson 6:- Extra lives + other elements (bouncing off the walls, moving Pacman along a path) Note worksheets and game examples can be uploaded to web version of Scratch, but scripts may alter in colour slightly as web version is slightly different than desktop. best for version 1.3.1 Scratch and above

By lyonkind09

Scratch Hour of code WordSearch with Glossary

Scratch Hour of code WordSearch with Glossary

This Scratch word-search is great for starting your class off with scratch or for early finishers. I have included a handy glossary of words for the students in case it is their first time and they are unsure what the words mean. Also take a look at my scratch poster A3 Scratch Poster Enjoy

By Kiwilander

Computational thinking starters and plenaries

Computational thinking starters and plenaries

This set of computational thinking starters and plenaries will support the teaching of all aspects of computer science. Ranging from simple to difficult, a great way to develop students ability to think and prepare for new computer science curriculum.

By chris_vidal

30 Starters to Engage Learners in Computing

30 Starters to Engage Learners in Computing

A high quality resource designed to engage learners form the moment they enter your room. Includes active learning, computational thinking tasks and engaging whole class games. Produced using the new GCSE Computing spec for a number of exam boards. The resource covers almost all key areas of the spec. The resource is ready to use and has been designed to be easily edited - saving you time! The activities can also be used as review or mid point assessments.

By Lexcel