KS3 Computer Science - Python programming

KS3 Computer Science - Python programming

Complete scheme of work for teaching Python programming to KS3 students. 21 hours of work subdivided into 8 lessons complete with learning objectives, powerpoints, and pre-written exemplar python programs to support the delivery of the course. The scheme of work comes complete with an overview of what should be covered in each of the assigned lessons. Covers: Programming languages and syntax Data types in python Variables to store data types Functions in python Writing and recalling a function IF statements in python Programmers annotation Mathematical operators in python Comparison of variables to constant Nested IF statements and ELIF Importing and using the random function Programming challenges A good start to building a basic understanding of Python programming at KS3 that leads nicely into the GCSE specifications of most examination boards.
tfoxICT
Doing Stuff with Python - a guide for beginners

Doing Stuff with Python - a guide for beginners

Delivering subjects like programming to mixed ability groups can be challenging, where ‘fire-fighting’ simple script issues for less able students, eats into the time you have to work with your more able students. This guide is intended to help to address these issues: A ‘self-help’ file for your students, in the form of a standalone web page (no Internet required). Issue to your students, or place it on your VLE. Make it easier for less able students to find the help they need. Example scripts are extensively commented. Examples can be copied and pasted direct from the web page into student’s IDE. Topics covered include: Variables. Data types. Numbers. Booleans. Assignment and Equivalence Operators. Comparison Operators. Strings - using tabs; indexing; slicing; converting, concatenation. Using Modules. Working with dates. Lists - indexing; slicing; change/add/remove items; remove duplicates; count occurrences; extending; clearing; sorting; searching; nested lists; list comprehensions. Sets - creating; check items; add items; remove items. Dictionaries - creating; looping through; searching. Tuples - creating; packing; unpacking; searching. Getting / Validating User Input. Controlling program flow - If statements; for loops; while loops; using range; using continue, augmented assignment. Functions - creating; scope of variables; avoiding duplication of variables. File Input and Output - modes; opening; reading; writing; using the with keyword. Using SQLite and CSV Databases. Troubleshooting - Self Help; Indentation; Tab Stops in output; Indexing and Slicing; Comparing Dates; Operator Precedence; Errors and Exceptions. Miscellaneous Items - validate an email address; checking user-supplied data; working with ini files; specifying Octal / Hexadecimal / Binary digits; converting numbers to Binary; generating random strings and numbers; simple Noughts and Crosses game.
elder_cat
Python Basics Help

Python Basics Help

a power point which details some of the different aspects of python programming, covering such topics as variables, debugging, comments and statements
dominicberesford1993
Python Cheat Sheets: Variables, Lists, Selection, Iteration

Python Cheat Sheets: Variables, Lists, Selection, Iteration

This is a group of ‘cheat sheets’ for students to use when programming. The sheets include: an explanation of the topic, the correct syntax and common errors. The sheets have common misconceptions on them. This allows students to refer to these when programming to increase their independence. I have used them as a laminated class set that I can hand to students when they ask me about an error.
lkgillott23
Python Pack

Python Pack

a collection of text files which feature python code including: Creating coloured patterns Guess the Number X’s and O’s
dominicberesford1993
Two Python lessons on arrays

Two Python lessons on arrays

An engaging resource which develops an understanding of manipulating lists in Python. There are two lessons here, first to introduce the topic and the second to consolidate learning. The answers are included as are extended learning tasks.
hoof_hearted
KS3 Introduction to Programming & Python

KS3 Introduction to Programming & Python

I created these resources as an introduction to the basics of programming and Python. It covers around 3-4 weeks of lessons (I had mine 3 times a week). The topics it covers are: High-Level and Low-Level programming introduction An introduction to Python IDLE Syntax Built in commands and what they mean, including colours of the text Hello World in Python Variables Naming rules of variables including camelCase Input Selection Indentation Maths programs Efficiency of programs Data types Algorithm practice Testing The PowerPoint has some notes as a brief guide. The end of the lessons is a small project which enables them to practice the skills they have been taught. I have provided some support sheets to help students. I have left the PowerPoint blank to enable you to customise.
chloehoppy
Presentation: how a selection sort works

Presentation: how a selection sort works

Presentation on how a selection sort works. It includes: A presentation explaining the principle of operation behind a selection sort A presentation introducing the code written in python to perform a selection sort The selection sort python code in a separate text file.
Teacher_aesg
End of year Computing Summer Quiz 2018

End of year Computing Summer Quiz 2018

NEW COMPUTER SCIENCE QUIZ FOR THE END OF YEAR / SUMMER TERM 2018! A fun whole class quiz, ideally suited to keep pupils engaged and settled for the final lesson of the summer term. Suitable for year 7 to year 11. The quiz includes computer science elements as well as other fun summer related questions getting them into the summer holiday spirit. Guaranteed to make the final lesson fun before they break up for summer. Print out the answer sheets (enough for 1 per team) and then run through the quiz on the whiteboard. After each section the answers are provided allowing the quiz to easily be cut shorter if you wish. Suitable for GCSE Computer Science classes and KS3 Computing and ICT classes.
nwilkin
Microbit- a lazy set of 6 problem-solving lessons

Microbit- a lazy set of 6 problem-solving lessons

This is a great set of lessons for microbit that require NO prep on the teacher, entirely student led, guaranteed to create engagement. Perfect for year 7 but could be extended to year 8 and 9 as well. my students love it! it gives opportunity for discussion,planning, pseudocode,flowchrt, testing. each lesson has a real life problem that the students need to solve using the microbit I used the microbit “let’s create” block editor online software (which will give simulation of the real microbit on days when i am too lazy to even get the microbits off the shelf!),though my higher students are asked to complete it in Python once they have solved the problem successfully in the block editor.
annetortue
Python Mathematical Operators Practical Challenges

Python Mathematical Operators Practical Challenges

A great 2 page handout for your pupils to practice using mathematical operators and functions in Python. Includes example code, a task to correct code and 6 practical challenges for them to practice writing for loops in Python code. It even includes a PDF containing the answers. Great for homework tasks, classroom activities or self-study.
nwilkin
Python Random Values Practical Challenges

Python Random Values Practical Challenges

A great 2 page handout for your pupils to practice using random values in Python. Includes example code, a task to read code, a task to correct code and 4 practical challenges for them to practice writing for loops in Python code. It even includes a PDF containing the answers. Great for homework tasks, classroom activities or self-study.
nwilkin
Year 9 Computer Science Assessment

Year 9 Computer Science Assessment

This year 9 computer science assessment could either be used at the start of the year to assess suitability or at the end to assess learning. Another option is to do both and measure student progress and impact of teaching. Students aspiring to student computer science at GCSE must aim to score between 30 and 75. Answers/ Mark scheme provided.
chris_vidal
Python - Getting Started

Python - Getting Started

4 documents that include example Python code, tasks and programming challenges to complete to help students, NQTs and non-specialist teachers to learn the following Python programming skills: Input and print statements If statements For loops While loops Perfect for classroom activities, homework tasks and self-study. Answers are included.
nwilkin
Python While Loop Practical Challenges

Python While Loop Practical Challenges

A great 2 page handout for your pupils to practice While Loops in Python . Includes example code, a task to read code, a task to correct code and 3 practical challenges for them to practice writing for loops in Python code. It even includes a PDF containing the answers. Great for homework tasks, classroom activities or self-study.
nwilkin
Python For Loop Practical Challenges

Python For Loop Practical Challenges

A great 2 page handout for your pupils to practice For Loops in Python . Includes example code, a task to work out the output from the range function, a task to correct code and 4 practical challenges for them to practice writing for loops in Python code. It even includes a PDF containing the answers. Great for homework tasks, classroom activities or self-study.
nwilkin
Python If Statements Practical Challenges

Python If Statements Practical Challenges

A great 2 page handout for your pupils to practice Python if statements. Includes example code, a task to identify the main operators, a task to correct code and 3 practical challenges for them to practice writing if statements in Python code. It even includes a PDF containing the answers. Great for homework tasks, classroom activities or self-study.
nwilkin
Python Basics Practical Challenges

Python Basics Practical Challenges

A great 2 page handout for your pupils to practice Python basics. Includes example code, a tasks to read code, a task to correct code and 4 practical challenges for them to practice writing Python code. It even includes a PDF containing the answers. Great for homework tasks, classroom activities or self-study.
nwilkin
Getting your head around while loop - ITERATION for beginners.

Getting your head around while loop - ITERATION for beginners.

Understanding variables and loops are the most significant aspects of coding. It is important for students in early stages to grasp the concept of how loops work if the are to be successful candidates for computer science. This power point presentation is a scaffold building fundamental steps required in understanding and applying loops using python. Students must already know how to use basic input and output functions in python. The language and terminology used is simple enough for a non specialist to use and teach a coder at beginner level. The python idle software is available to download for free at https://www.python.org/downloads/. After students have fully grasp the concept of loops and how they work, they extension task will provide a challenge for them to apply their knowledge, using computational thinking to improve their code.
chris_vidal
[GCSE+IGCSE] Python Text Adventure Coding Challenge

[GCSE+IGCSE] Python Text Adventure Coding Challenge

This is possibly my most favourite piece of work to do with the students. I do it as an end of year activity when they are a bit more confident with the material. We create a zombie survival text adventure game and I have recently updated it to include questions similar to what has been in the recent exam and in the exemplar exam What is covered Local and Global Variables Variable Types Input and Validation Conditional Loops Fixed Loops Arrays Subprogram calls (Functions, Procedures and Pre-defined) Libraries Complex conditions and selection Repetition and Iteration What is included Word document with instructions, task overview and more detail on the activity Student Starting Python file (in zip folder) Teacher completed exemplar file Answer document to questions
PaperAirplane
FREE Python lesson - Introduction to Python

FREE Python lesson - Introduction to Python

i created a nice introduction to Python for Year 7. It starts with the basics of how to use Python for beginners. Year7 really enjoyed it. I hope it is useful to you. It is a powepoint so you can amend it to your class.
khedges123
Lesson:   algorithms, decomposition and anstraction

Lesson: algorithms, decomposition and anstraction

The lesson is suitable for KS3 / GCSE Computer Science. Starter, asking pupils to comment on an article about the impact of algorithms Presentation on what an algorithm is, giving examples of algorithms, different kinds of computer algorithms and how these sets of instructions can be developed into a program. Sample python programs supporting the presentation on algorithms Presentation on decomposition saying what it is, giving examples and looking at how decomposition can apply to programs effecting the way a person programs (eg functional programming) Task to decompose an authentication probem. Presentation on abstraction, looking at what it is, giving examples and considering what data can be removed as part of the abstraction process. The pupils are given a task to remove any unecessary detail from an algorithm. The pupils complete five abstraction questions . Plenary, the pupils split into pairs and are given a problem. One person explains in a series of steps how to solve the problem (decomposition), whilst the other person tries to intervene to remove any unecessary detail from the explanation (abstraction) Homework task on how to make toast breaking this problem down using decomposition / abstraction.
Teacher_aesg
KS2 & KS3 Creating Fun Games using Python

KS2 & KS3 Creating Fun Games using Python

This 10 page photocopiable resource has been produced to provide KS2 and KS3 students with exciting and engaging opportunities to learn coding concepts using Python in a series of 4 fun standalone projects. The projects are: Game 1 -Play the name game - Students have fun with their name. Game 2 -Guess the number -Students have fun making a game to guess the number. Game 3 - Mystery of the Crystal Ball - Students have fun looking into their future. Game 4 - Two Player Horse Race Game Each project takes from 30 minutes to an hour and a half to complete and all of them include a series of activities to extend learning.
edulitolearn
Lesson: efficiency of algorithms

Lesson: efficiency of algorithms

The lesson is suitable for GCSE / KS3 Computer Science (see other similar lessons in this series) To understand that more than one algorithm can be used to solve the same problem. To compare the efficiency of algorithms explaining how some algorithms are more efficient in solving algorithms than others, specifically space and time efficiency of algorithms Please leave a comment if you like the resource. Lesson plan Presentation on space efficiency that looks at a simple algorithm of adding up consecutive numbers (eg 1 + 2 + 3 + 4 … ) in a sequence, then compares this approach with using a loop and then looks at using an equation to solve the problem as an example of space efficiency in an algorithm. Pupils program these algorithms for themselves to see how lines of code can be reduced in a program. The above presentation is supported by three python programs (eg sequence, loop, equation python programs) Presentation on time efficiency that looks at two algorithms (one using a loop and another using an equation) to see which ones are more time efficient. Pupils program these algorithms to see how execution time of a program can be reduced. The above presentation is supported by two python programs (eg loop and equation python programs) The pupils are then given a program task to try to create a program that will calculate the nth term of the sequence 2, 4, 8, 16 in the most efficient way. A stretch and challenge exercise considers how to program a more difficult sequence of numbers Plenary presentation quiz to test pupils knowledge Homework looking at definitions of space and time efficiency and an example algorithm (answers provided)
Teacher_aesg
File handling - Python-

File handling - Python-

File handling presentation and tasks for KS4/KS3 programming unit / python. Please make sure to leave feedback if you like it or if you think it can be improved somehow, this will allow me to improve it if needed.
barabcu
Python Worksheets KS3

Python Worksheets KS3

A set of 5 Python worksheets. Includes practical activities and questions. Comes with video guidance for each worksheet, which helps with differentiation. Python worksheet #1 - Given separately on TES as a free sample. For absolute beginners. Getting set up, using the Shell and 1st program using the editor. https://www.tes.com/teaching-resource/python-worksheet-for-ks3-11912924?theme=1 Python worksheet #2 - Using variables and inputs. Python worksheet #3 - Conditional statements (IF, ELIF, ELSE). Python worksheet #4 - Arithmetic and relational operations. Stretch and challenge - using the Math library. Python worksheet #5 - Commenting and debugging
chrdol72
Python Worksheet for KS3

Python Worksheet for KS3

Free Python worksheet for absolute beginners. Includes practical activities and questions. Comes with video guidance for the worksheet, which helps with differentiation. Includes step-by-step guide on getting set up and using IDLE. Maths activities using the Shell. Using the editor and making a simple program. Finally there are a series of questions to check understanding.
chrdol72