Algorithms and programming teaching resources: Python

Resources and ideas for computing, algorithms and programming, python, written by teachers to support teaching and learning

Python Functions Assessment (Hard)

Python Functions Assessment (Hard)

These assessments have been used with Yr9 and 10 Computer Science students. We were a little surprised at how hard most of them found the tasks with only a couple managing to complete them all themselves during the test. Could be used altogether or individually and some could be used as challenging extensions. Provided are:Example Questions10 QuestionsBonus QuestionPossible Answers/Solutions to all tasksTest cases that can be used with Repl.it therefore automatically marking

By hstayte

3. Python, Using Lists (KS3 + KS4 Friendly)

3. Python, Using Lists (KS3 + KS4 Friendly)

This lesson guides the students through Python Lists, it has challenges to test students knowledge and build upon their previous lessons (also available in shop). This will develop their skills in using lists and combining data together.

By msmarwaha

Python Micro Programming Task - Cineworld Movie System

Python Micro Programming Task - Cineworld Movie System

Set of resources to cover a double lesson. Teaches students how to search a file based on a keyword and display a sentence (Film times in this case), also goes through writing to a file if the film isn't found. Includes starter, helpsheets, text files and working samples of code (zipped file).

By mrfoxinthebox

Python In Small Steps: 2 - Printing one line of code

Python In Small Steps: 2 - Printing one line of code

Python in Small Steps is designed to enable students to complete programming in Python without the need for a specialist teacher by having an introduction, example and then exercises to practice. They can also be used by Computing teachers as a resource within the lesson. This resource shows students how to print on the screen in Python.

By computingMK

Python In Small Steps: 1 - Interface

Python In Small Steps: 1 - Interface

Python in Small Steps is designed to enable students to complete programming in Python without the need for a specialist teacher by having an introduction, example and then exercises to practice. They can also be used by Computing teachers as a resource within the lesson. This resource covers the Python IDLE interface only.

By computingMK

Binary

Binary

A fully immersive course in binary that includes powerful powerpoint presentations, printable worksheets with answers, a Python binary to deanery calculator.

By mscottmick22

GCSE Python Programming Unit

GCSE Python Programming Unit

Unit of work introducing programming techniques for GCSE students using python.Covers many of the requirements for GCSE Computer Science. Concepts covered in the unit include:Variables, Data Types, Sequence & Selection, Iteration, Strings & Tuples, File Operations, Functions & Parameters, Exception Handling, Lists & Dictionaries, Sorting, Searching and working with Databases (SQL)All teacher PowerPoint presentations (13 in total) plus notes, class activities, programming activities and programming projects (File Ops, Premiership Football and Logic Calculator). All python code solutions provided.

By HeatonMoorDigital

GCSE Progamming and Theory Bundle

GCSE Progamming and Theory Bundle

This Bundle covers much of the programming and theory aspects required for GCSE Computing. 10 Python Programming projects with all teaching materials , code samples and solutions for teachers provided. Also includes an introduction to GCSE Programming using Python with programming activities and task sheets. Activities, workbooks, and home works for GCSE Computing theory topics such as the System architecture, Algorithms, Logic Gates and Circuit Diagram.

By HeatonMoorDigital

Python: Binary to Denary Calculator

Python: Binary to Denary Calculator

A differentiated binary to denary calculator that takes students programatically through the process of splitting an eight bit binary number and converting it to HEX . Aimed at GCSE OCR and AQA Computer Science but could also be used at KS3. Uses functions, casting to integer and string manipulation.A great excuse to do some problem solving programming in Python that can supplement and extend students knowledge of both Python and senate to binary conversion. Can be used after studying programming techniques with other materials I have produced for binary.

By mscottmick22

Year 7 From Scratch to Python using Reeborg

Year 7 From Scratch to Python using Reeborg

In the previous Programming & Algorithms unit, students were introduced to programming concepts of sequence, selection and iteration using visual-based programming in Scratch.This unit is the bridge between visual-based programming and text-based programming, and uses a robot to perform tasks using a limited range of instructions (whilst introducing Python syntax).It is a good unit for re-iterating programming concepts, and also for the concept of 'efficiency' in writing code, using libraries, functions and other programming techniques.This unit uses the Reeborg website: http://reeborg.ca/reeborg.html to complete the Python challenges.

By Pipjen77

Year 8 Computing: Python Challenge Cards

Year 8 Computing: Python Challenge Cards

Once I have introduced the basics of the programming concepts, there are always students who the concept 'clicks' with and they are able to complete the program as other students work through at a slower pace. By having Challenge Cards on display in the class, as they finish a task, they can practice using the programming concept in independent challenges.Challenge tasks are used with Year 8 to develop the programming concepts introduced in the unit: Sequence, Lists, Selection and Iteration.

By Pipjen77

GCSE Computing - Algorithms Unit

GCSE Computing - Algorithms Unit

Unit of work focusing on developing algorithmic thinking skills.Focus on Abstraction, Decomposition and the System Life Cycle. Student workbooks and presentations covering flow charts, pseudo code development, tracing algorithms and programming activities. All answers and program code provided.

By HeatonMoorDigital

Key Stage 3 Computing:  Introduction to Python

Key Stage 3 Computing: Introduction to Python

Introduction to Python workbook.Assessment of prior knowledge introduced via Scratch.Introductory tasks.Workbook used for e-marking, rather than printing out each lesson. Peer and self assessment carried out on computer, then uploaded for teacher marking.

By Pipjen77

Python Cheat Sheet

Python Cheat Sheet

Four pages of Python programming techniques/blocks and examples. Perfect to laminate 30 double sided and use these as hand outs in lesson. Or print these out for each student to keep a copy in their folders. The sheets cover all of the fundamental elements of the programming at Computer Science, including but not limited to:- sequence- selection- while loops- for loops- procedures- functions- string manipulation- arrays- read/write to file- recursionPerfect introduction for both GCSE and A Level students.

By MikeySkilton

GCSE Computing Sorting and Searching Algorithms

GCSE Computing Sorting and Searching Algorithms

Resource pack learning to understand how different Sorting and Searching Algorithms function. Covers Bubble SortInsertion SortMerge SortLinear SearchBinary SearchTeaching presentations and class activities provided including python activities for pupils and solutions for all sort and search methods for teachers.

By HeatonMoorDigital

GCSE Computing Python Project - Snakes & Ladders

GCSE Computing Python Project - Snakes & Ladders

Useful practical teaching project for GCSE Computing students to learn about Sequence, Selection, Iteration, 2d lists and using Dictionaries. Students will create a two player version of the classic Snakes and Ladders game.All teaching materials and python solutions provided.

By HeatonMoorDigital

GCSE Computing - Python "Premier League" Project

GCSE Computing - Python "Premier League" Project

A python project to create the English Premiership Table.It will display the table with results information for every team (wins, losses, draws, GD, Points).It will let you enter results that will update the league table so that the new league table can be displayed.Useful programming project for GCSE Computing students. Teaches selection, iteration, function and SQL. All teaching materials and python solutions provided.

By HeatonMoorDigital

GCSE Computing Python Project - "Maths Quiz"

GCSE Computing Python Project - "Maths Quiz"

Python program to test your arithmetic.Take a test and save your scores.View scores and sort in several different ways.Project gets student to program using sequence, selection, iteration, functions, parameters and file handling to develop a working solutions.Python code provided for teachers.

By HeatonMoorDigital

GCSE Computing - Python Project "MovieFlix"

GCSE Computing - Python Project "MovieFlix"

MovieFlix is a simple recommendation system using Python, SQL and file handling.Create an account and login and see the films/TV shows and select them to watch,Recommend/Like a film/show to others and MovieFlix will recommend Films/TV shows to you.Teaching how to use Abstraction and Decomposition to break a problem down and develop a solution that meets the project requirements. Uses selection, iteration, functions and paramters.Useful practical programming project for GCSE Computing studentsAll teaching materials and python solutions included.

By HeatonMoorDigital

GCSE Python Project "Cinema Booking System"

GCSE Python Project "Cinema Booking System"

Teaching Conditional ProgrammingShows how to use and nest If Statements to create a Cinema Booking SystemCheck age entered v age rating If old enough then ask for number of tickets required and calculate total ticket price.All teaching materials and python code solution included.

By HeatonMoorDigital

GCSE Logic Gates Project

GCSE Logic Gates Project

Includes Pupil workbook and activities on Logic Gates, circuit Diagrams and Boolean Algebra. Also contains two python programming projects1) Use python to create a Logic Gate Calculator that will let the user enter two numbers (0 and 1), select a Logic Gate (AND, OR, XOR, NAND, NOR) and output the correct calculation of the inputs.2) Use python to create a program that will perform Bitwise operations on two 8 bit binary numbers.All teaching materials and python solutions provided.

By HeatonMoorDigital

GCSE Logic Gates Workbook and Programming Activity

GCSE Logic Gates Workbook and Programming Activity

Includes Pupil workbook and activities on Logic Gates, Circuit Diagrams and Boolean Algebra. Also contains a python programming project.1) Use python to create a Logic Gate Calculator that will let the user enter two numbers (0 and 1), select a Logic Gate (AND, OR, XOR, NAND, NOR) and output the correct calculation of the inputs.

By HeatonMoorDigital

GCSE Python Programming Projects

GCSE Python Programming Projects

A collection of Python Programming Projects that cover all the techniques required for GCSE Computer Science. All teaching materials and Python files for pupils (plus python solutions for teachers) are included.

By HeatonMoorDigital

Python3 Binary to HEX Calculator

Python3 Binary to HEX Calculator

A differentiated binary to HEX calculator that takes students programatically through the process of splitting an eight bit number into 2 *4 bit nibbles, then converting the digits to a letter if they are above 9. Aimed at GCSE and A level OCR and AQA Computer Science but could also be used at KS3. Uses function, casting to integer and string manipulation.A great excuse to do some problem solving programming in Python that can supplement and extend students knowledge of both Python and HEX. Can be used after studying programming techniques with other materials I have produced for HEX.

By mscottmick22

Python and Algorithms Complete Lesson 4 of 6 (GCSE Computer Science and KS3 Computing)

Python and Algorithms Complete Lesson 4 of 6 (GCSE Computer Science and KS3 Computing)

This is lesson 4 from a series of 6 lessons which teach pupils the basics of understanding algorithms and programming in Python.In this lesson pupils create programs from flow diagrams and use “For” and “While” loops.This lesson includes a PowerPoint presentation including videos to teach key skills, a differentiated homework task, fun activities to reinforce their learning. Suitable for GCSE Computer Science classes and KS3 Computing classes.For more lessons and complete units of work including full teachers notes, answer books, mark sheets and end of unit tests visit my website www.nicholawilkin.com.

By nwilkin