#### Lessons: Linear & binary search

Lessons (x1 hour) on linear and binary searches and logic gate presentation GCSE Computer Science. Starter activities Presentation on linear and binary searches View simulations of both searches Worksheet questions Stretch &amp; challenge activities Plenary Homeworks (Logic gate presentation included)

#### Lesson: Binary search, (lesson plan & x 12 resources)

Lesson: Binary search, (lesson plan &amp; x 12 resources) (GCSE Computer Science) • To understand and explain how a binary search works An easy to follow and timed lesson plan (x1 hour) that includes x12 resources. Starter activity where pupils run a python program and share ideas how they would search through it to find an item A binary search presentation that introduces and explains the search algorithm A link to a binary search simulation demonstrates a working binary search model A further presentation demonstrates how to code a binary search in python There is a sample binary search written in python A worksheet (x8 marks) of questions and answers on the binary search. A stretch and challenge exercise to identify errors and omissions in binary search code A plenary exercise (x8 questions) using a presentation to test what the pupils understand by a binary search (answers provided) A homework to rearrange lines of code to form a binary search

#### Beginning Python Programming – Code Breaker

A simple example of some basic python commands that creates a code breaking game. The explanation lines have been commented out so you can simply copy and paste the whole document into IDLE (or similar) and see it working, or print to use as a help guide. The task can be extended to include a longer code, different scoring systems, characters instead of numbers, password guesses or allow one player to enter a code that the other has to guess then swap turns… and loads more! (If you find the resource useful, please leave a review as it helps other teachers find it) HackDragn

#### Computer Science Bundle

All of my Computer Science resources as I am soon to be moving to another subject.

#### Lesson: Linear search, (lesson plan & x 10 resources)

Lesson: Linear search, (lesson plan &amp; x 10 resources) (GCSE Computer Science) • To understand and explain how a linear search works An easy to follow and timed lesson plan (x1 hour) that includes x10 resources. Starter activity where pupils line up and hold numbers up to simulate a linear search. A linear search presentation that introduces and explains the search algorithm with supporting examples given in python Three linear search programs written in python, demonstrating a linear search (basic), a linear search (when data item not found) and a linear search (when more than one item you are looking for is found) Pupils view a simulation of a linear search (Internet link provided) A worksheet of six questions and answers on the linear search. A stretch and challenge exercise to program a linear search that counts the number of search terms if there is more than one search term. A plenary exercise to read through an account of visiting a games store and searching for a particular game. The parts of the account that are in error have to be highlighted in red. A research homework exercise and answers about the linear search (x3 questions)

#### Intermediate Python Programming – Dungeon Escape

This is designed to be used after the Beginning Python Programming examples. The price covers the FREE resources also published. A more complex demonstration of how you can build a dungeon/map game. The game utilises a 2D Array to store a map so that directions can be correctly calculated depending on the player position. The progam also uses a global variable for the map, functions, integer floor division and modulus for time calculations. Development of the game could include: Changing the map, altering the size of the map (look out for limiting variables), adding a wandering monster, adding a new message for the starting square, increasing difficulty, adding a new scoring system and lots more that I’m sure you’ll think of. The explanation lines have been commented out so you can simply copy and paste the whole document into IDLE (or similar) and see it working, or print to use as a help guide. (If you find the resource useful, please leave a review as it helps other teachers find it) HackDragn

#### Basics of Python - Tutorial Videos

A series of videos to explain some of the basic commands in Python programming.

#### Beginning Python Programming – Guessing Game

A simple example of some python commands that creates the start of a random number guessing game. The explanation lines have been commented out so you can simply copy and paste the whole document into IDLE (or similar) and see it working, or print to use as a help guide. Extension work could include adding a way to use the currently unused ‘playerScore’ variable, checking if the player gets it in 1 guess and gives a special message and lots more. (If you find the resource useful, please leave a review as it helps other teachers find it) HackDragn

#### Tracing Algorithms and implementing solutions (Dog Years Task)

This is a 2 lesson plan to help students interrogate algorithms, starting with tracing through flowcharts and debugging/answering questions. This was developed to help students in the way they approach solving exam questions for Unit 2. Through flowcharts and then a simple pseudocode style tasks set to build upon the prior knowledge. They can then use the tasks set to identify data types and use the tasks to develop program solutions using Python. Student workbook Powerpoint and teacher Powerpoint slides included.

#### 64 Python programming exercise ideas

64 Python programming exercises ranging from “Hello World” style first programs to file reading and writing. Many tasks also have extension (“bonus”) sections to stretch pupils. Exercises are sorted into sections by the skills needed to complete them (conditionals, loops, arrays, etc). A good resource for homework, extension tasks, and independent learning. Fully editable resource, ready for printing or online use. Topics covered: Basic input and output Conditionals Loops (while and for) Strings Lists Subroutines and functions File reading and writing Some of the exercises in this document require sample code for students to edit: this code is provided in the download. The exercises in this resource can be completed in any programming language, but some of the phrasing in the questions is specific to Python. There is also a Java version of this resource available.

#### Presentation: validation rules (x16 slides)

The presentation introduces x7 validation rules; range check, type check, presence check, length check, lookup check, picture check and check digit check. Each one of the descriptions is supported with an example written in python and these have been uploaded as separate text files as part of the resource.

#### Presentation: object orientated programming (OOP) (x22 slides)

The presentation introduces the idea of properties and methods belonging to a class, being able to instantiate a class and produce an object and how many objects can be created from the class. The presentation describes the OOP characteristics behind inheritance, encapsulation and polymorphism. It gives six supporting examples using python code to demonstrate the above concepts. At the end of the presentation there is a challenge to create a program to illustrate the new ideas. This is supported by a class diagram that displays the relationship between the classes.

#### Beginning Python Programming - Rock, Paper, Scissors

A simple example of some basic python commands that creates a basic Rock, Paper, Scissors game. The explanation lines have been commented out so you can simply copy and paste the whole document into IDLE (or similar) and see it working, or print to use as a help guide. There is plenty of scope to improve the code: Adding scoring, checking for a real choice instead of assuming a default value of ‘Scissors’, Correct the error if the user types ‘Rock’ or ‘Paper’ and lots more that I’m sure you’ll think of. (If you find the resource useful, please leave a review as it helps other teachers find it) HackDragn

#### Beginning Python Programming - Chatbot

A simple example of some basic python commands that creates the start of a chat bot. The explanation lines have been commented out so you can simply copy and paste the whole document into IDLE (or similar) and see it working, or print to use as a help guide. (If you find the resource useful, please leave a review as it helps other teachers find it) HackDragn

#### Presentation: recursion programming technique (x10 slides)

A presentation that describes what recursion is, uses two pseudo code examples (eg sum numbers and factorial) to illustrate the programming technique, including the importance of using a base condition and the result if no condition is used. There are a series of programming challenges at the end of the presentation.

#### Computer Science GCSE 0478- One mark Questions - Unit 8 & 9 Programming using PYTHON

Unit 8 &amp; 9 Programming using PYTHON A set of 50+ questions with answers to be printed and used as revision cards with students. Good for cold calling, pair work starter etc. Designed for CIE 0478 IGCSE Computer Science course but useful for UK GCSEs also Questions can be edited, added to etc…

#### Caesar Cipher Python Program (KS3 resource)

This was programmed by me as a teaching aid to allow Year 9 pupils to see both how the Caesar Cipher works and to link it directly to programming and computational thinking. It can be used to have students identify the algorithm, use of items such as strings and lists and other variables as well as procedural programming and as an example of the practical use of Tkinter to code the graphical user interface. Another activity is to have pupils comment the program and to explain the job carried out by each procedure. Sensible names are used throughout the code for ease of tracing and to make it more easily understood. Code also contains some comments. Please note: on download rename the caesar1.txt file to caesar1.py and keep the gif file in the same file directory as the program file for the image of Julius Caesar to appear in the program.

#### Python Calculator - Using Subroutines

This is a full lesson which teaches students how to create a simple calculator program in Python using subroutines. Help code is provided with each task for weaker students Task solutions are also included on the PPT The full working code is attached as a text file Extension tasks are included for the more able This is best taught after an introduction to subroutines.

#### Python Turtle Help Sheet

Print this help sheet this help sheet to support students during Python Turtle lessons. The sheet contains the code needed to get started, an example of drawing geometric shapes using a loop and functions used in Python Turtle. i use this help sheet to keystage 3 students, Python Turtle is a great way of getting students into coding as it creates graphics as opposed to a text response

#### Mix and match keywords _ definitions

Mix and match keywords _ definitions

#### Selection

Select / IF / Then

Input, output.

#### Computer Science - KEYWORDS TABOO

This is a powerpoint of over 140 keywords for GCSE Computer Science. Mainly for the AQA Specification but could also be used for other exam boards. Free to use by anyone but drop me an email if you do use as it would be noce to know woh has used it. The game is called TABOO. It is where the powerpoint is presented at the front and there is different teams. So you could have 2 teams and each team selects a player. Team one player goes and sits in front of the board, facing away from the board. Then their team has to describe the word that comes up on the board without saying the banned words on the screen or the word it self. The person facing away from the board has to guess what the word is behind them. The team with the most correct answers wins. A time limit is fun to do. An ONLINE version is availble here - https://docs.google.com/presentation/d/1zxMbWVjzyUlaBtMdVNxtoIZaANeIcR23hKEbkWZysIA/edit?usp=sharing

#### Introduction to Python 3.5/6 Primary to O Level Series 1-45 Pages

Introduction to Python 3.5/6 includes the smooth and basic track for learning and getting hands-on experience in Python. It has been focused for Beginners, students of Primary to O’ Level can get command over it. This is a first part consists of 40 Pages. The whole book is going to be stored sooner.

#### Computer Science: Programming with pseudocode and Python AQA (9-1) GCSE

Great for AQA (9-1) GCSE Computer Science revision and help with the programming project. This workbook covers the AQA GCSE Computer Science (8520) specification section 3.2 “Programming”. It includes a 116-page PDF document including theory, tasks and includes all the answers. Whenever possible pseudocode is shown alongside the Python code to allow students to compare the similarities and differences between them. Perfect for NQTs, non-specialist teachers or teachers who feel a little unsure about the qualification content and want to improve their subject knowledge. Also ideal as a teaching resource and covers programming in Python from the basics to more advanced techniques including writing to text files, 2D arrays and using subroutines. It also gives help on planning robust programs and testing programs along with the difference between an interpreter, a compiler and an assembler. Table of contents: Data types Variables and constants Iteration Selection Subroutines (procedures and functions Global and local variables Operators One-dimensional arrays Two-dimensional arrays Input and Output Reading from and writing to a text file String handling operations Random number generation Structuring programming Robust and secure programming Data Validation Creating a simple authentication routine Testing your programs Low-level and high-level languages Translators Other workbooks in this series: * Fundamentals of Algorithms GCSE revision student workbook Fundamentals of Data Representation GCSE revision student workbook * Computer Systems GCSE revision student workbook Fundamentals of Computer Networks GCSE revision student workbook Cyber Security GCSE revision student workbook Ethical, legal and environmental impacts

#### Python Programming Challenge - Creating a Strong Password, With clues, Extension Task

A python programming challenge where students are expected to write a program that checks if a password is considered to be strong. The password must be greater than a certain length, include numbers, symbols, upper &amp; lower case letters, not contain certain words or number pattens. The booklet includes: A tick sheet for when students have managed a certain task A test plan to check that certain passwords are ‘strong’ or not Some useful snipits of python code that will assist the students. An extension task. Good practice for string manipulation. Depending on your group ability, this could be a 1 or 2 lesson activity.

#### 4 Programming Lessons Pack for Python

Four lessons: Variables, Selection, Iteration and Functions. Includes 2 worksheets for lessons 2 and 3. Full lessons, starters, activities, plenaries etc, differentiated and include screen shot answers for each python programming activity.

#### Starter - Pseudo Code Python programming

A fun starter for pupils to learn and practise Pseudo code and prepare pupils for coding in python or in other programming languages. The worksheet helps pupils create a pseudo code with a fun pirate adventure that includes various programming key words. Two files: one file is a pupil file ready to print (A4) and one file for the teacher with a suggested answer for differentiation.

#### One and Two Dimensional Arrays (1D & 2D Arrays) Knowledge Organiser GCSE OCR Computer Science J276

My current year 11 students have been extremely positive about the Knowledge Organisers that I have created for their Computer Science revision (and students in previous years on the legacy spec). This resource covers 1D and 2D arrays, from the pseudocode for declaring them, terminology and python examples of using loops through arrays to search or amend data. This can be used with all abilities as it is good for revising the main points needed to be able to answer most exam questions about this topic. I have been using them alongside example exam questions so that the students can see that the information is in the knowledge organiser but they just need to apply it to the specific question. This covers the new J276 OCR specification for GCSE Computer Science. You can either buy this knowledge organiser on its own - or all eight are available for a slightly lower overall cost. Please do leave feedback if possible, I hope you find it useful.

#### GCSE COMPUTER SCIENCE REVISION GAMES

These are some revision games for GCSE CS. All instructions are included.

#### Programming & Control Unit of Work

This is a unit of work for programming and control. It includes Scratch, Python and Flowcharts.

#### Programming Wordsearch

This is a wordsearch for a programming unit. Instructions are the usual for a wordsearch. It can be used as a starter or plenary.

#### Scratch Splat

This is a game of Splat for a programming and control unit. Instructions: Have two volunteers have rulers and stand back to the interactive white board. Say the definition and they have to hit the word that goes with it. This can be quite a fun plenary for students.

#### Scratch WWTBAM

This is a version of the WWTBAM. Questions cover Scratch and the use of it. This is a good resource to use at the end of a Scratch or programming unit. This is mainly for KS3.

#### Python Workbook

This is a workbook to teach the basics and some more advanced aspects of the Python program. All instructions are included in the booklet. Be aware that this is for Python 3, it may not work completly for previous versions.

#### Programming and Control PowerPoint

This is a PowerPoint for a programming and control unit. It details work to be completed in the unit, giving some outline to Scratch and Python. For other worksheets and activities linked, see my other resources.

#### KS3 Scratch Booklet

All instructions are included in booklet. This is a booklet aimed at a KS3 group as a recap to Scratch allowing them to design and create their own game. This should be enough for 2/3 lessons worth.

#### GCSE Computer Science Revision

The exam is soon…

#### GCSE IT Revision

The exam is near…