1. Resources Home
2. Elementary School
3. Computing
4. Computational thinking
5. Algorithmic thinking

#### Using functions and creating a Tkinter GUI interface in Python

21 quick, simple challenges covering using functions and two documents on how to use Tkinter to create a GUI interface. Includes explanation, example code and suggested possible answers. A BONUS “Chunky Challenge” included allowing your students to practice these skills in a larger task to prepare for more complex tasks that involve computational thinking skills. In order to get the most out of these documents I recommend you use them in the following order: functions, GUI part 1, GUI part 2 and finally the chunky challenge. From my experience in teaching Python and other programming languages, I feel it works best when pupils only learn about using functions when they are starting to create more advanced programs that require them. For this reason, this document does assume a lot of previous confidence with using Python's basic programming structure before they tackle this section. If you are a teacher who likes to introduce functions early on in the pupils programming experience, then the functions document will not work in your classroom as it assumes pupils have a confidence with the basic programming skills already in order to complete the challenges. The skills the pupils must already have confidence with include: • input • print • if statements • loops (for and while) • strings • mathematical operators • tuples and lists • saving to and reading from a text file • saving to and reading from a .csv file For more lessons and complete units of work visit www.nicholawilkin.com.

#### MORE Python Challenges - If statements

Includes a handout giving example code and 6 NEW challenges to try out. Python files also included to allow you to demonstrate one possible answer for each challenge to your class. Pupils will use the following programming features to complete the challenges: • input • print • integers and strings • basic mathematical functions (+, -, *, / and %) • basic if statements including if...else and if…elif…else statements • nested if statements Ideal for a NEA resource bank or to use for starter or plenary activities or use them for homework tasks. Easy to use and integrate into your lessons and handy to have around for pupils who finish other challenges early and need something to do. For more high-quality, ready to use computing and ICT resources visit www.nicholawilkin.com

#### Engaging two or three week Python project for beginners / intermediate / competent users

Fabulous presentation for a 2 or 3 week Python project. They idea is that they use IF to make a multiple choice quiz (code examples given). Learners are immediately engaged by following a flow chart, and describing what the diagram does. They then have to alter some pseudocode to come up with the first question for their quiz, using IF a,b,c,d etc. The coding ramps up with scoring, and using ELIF. More competent users are challenged to use a main menu, with sub routines so the end user can choose which quiz they would like to do. Then super human coders can learn how to read and write text files to record the leaderboard. To do this, they must look at the coding for Edexcel Fixture NEA from 2017 (please email me for the files if you don't have them (annemariebradshaw@Hotmail.com). There is also a link to a great independent learning site for Python skills. The presentation includes LO, outcomes, 2 extended learning (hwk) tasks, peer assessment with the focus given on a worksheet, and practice debugging with a sabotage task (which really gets them digging into the code in the most devious of ways :-). Fabulous differentiation got these lessons 'outstanding' on a LW and LO. Feedback from the kids was that they loved working at their own pace, and developing something personal to them. Great stuff!

#### Computing Worksheet / Homework KS2 or Year 7

Double sided worksheet that could be split over two homeworks / lesson tasks. Students use internet to help find out the information - instructions are on sheet for the students.

#### MORE Python Challenges - The Basics

Includes a handout giving example code and 7 NEW challenges to try out. Python files also included to allow you to demonstrate one possible answer for each challenge to your class. Pupils will use the following programming features to complete the challenges: • input • print • line breaks • integer and floating-point numbers • basic mathematical functions (+, -, *, / and //) Ideal for a NEA resource bank or to use for starter or plenary activities or use them for homework tasks. Easy to use and integrate into your lessons and handy to have around for pupils who finish other challenges early and need something to do. For more high-quality, ready to use computing and ICT resources visit www.nicholawilkin.com

#### An Autumn Coding Activity with Scratch

A computing lesson plan and associated resources for KS2 children programming an autumn leaf catching game with Scratch. Includes step-by-step lesson plan, support materials and pre-written program files. More free primary computing lessons and resources available at www.icompute-uk.com

#### Application of Computational Thinking - 21 Card Trick

My popular twitter poster is now available to download for FREE from my tes shop! Wow your friends with this fun card trick... all done through algorithms! Follow the instructions on the poster to complete the trick! Try it out in within the classroom, can be used as a fun starter activity! I have included both JPEG and PNG versions of the poster. ***Please leave a review!***

#### Scratch Pac-Man Project

This project is ready to go, all lesson powerpoints, guides, homeworks, starters included. Covers a half term. Lesson 1 - Flow Chart Homework Lesson 1 - PP Create pacman and movement Lesson 1 Example - Pac Man with Glasses And Hair! Lesson 1 Guide - Pacman Sprite with Movement Lesson 2 - HWall Lesson 2 - PP Maze Lesson 2 Guide - Walls Lesson 3 - Home Learning - Keywords Lesson 3 - PP Adding Prize and Score Lesson 3 - Prizes and Enemies Lesson 3 - Starter Lesson 3 Guide - Prizes Lesson 4 - PP Ghosts Lesson 4 Guide - Ghosts Lesson 5 - Maze Runner Extension Lesson 5 - Starter - Programming Theory Lesson 5 Guide - Maze Runner Lesson 6 - Evidence Sheet PP Lesson 6 - PP Evidencing work - Guide and Example Lesson 6 - PP Evidencing work - Template

#### Teaching Python Coding: An Exercise for GCSE Computer Science coursework preparation-Answers

This Power Point supports students preparing for GCSE computer science, using python code for notorious game rock paper scissors. Students are expected to examine the code by identifying variables, explaining the coding keywords, structure and approach. In addition, students are given the opportunity to test the code and come up with suggestions for improving the design. Solutions to all questions provided.

#### Python Coding Exercise for GCSE Computer Science coursework preparation

This Power Point supports students preparing for GCSE computer science, using python code for notorious game rock paper scissors. Students are expected to examine the code by identifying variables, explaining the coding keywords, structure and approach. In addition, students are given the opportunity to test the code and come up with suggestions for improving the design.

#### Microbit Unit of Work

This Unit of Work includes 10 lessons worth of Microbit programming skills and knowledge. Each lesson has a PowerPoint presentation to go with it, with all other resources also included as Word documents. All resources including PowerPoints are numbered to make it easier to follow the unit, and there is also a teacher’s guide included. The Unit begins with an introduction to Microbits, and concludes with revision, end of unit test and DIRT reflection lesson. Topics included are Variables, Selection, Iteration, and various programming challenges in the form of games that the students can create. It also includes the Microbit Board Game project that takes 2 lessons, which is also available from the Programmer’s Paradise shop on TES Resources. A homework is also included, where the students can create a program using printed code blocks, cut and stick them onto the other half of the paper. This can be used after the first couple of lessons, or later if they are less familiar with the concepts.

#### Microbit DIRT Reflection lesson

Included is a DIRT lesson following a microbit unit of work. Includes a fake Kahoot leaderboard to display top scores, and questions used to reinforce knowledge of the topic.