1. Resources Home
  2. Primary
  3. Computing
  4. Algorithms and programming
Using functions and creating a Tkinter GUI interface in Python

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.
nwilkin
SQLite Program Introduction (DB Browser)

SQLite Program Introduction (DB Browser)

DB Browser is a handy tool you can use for SQLite, it is freeware which is available at: http://sqlitebrowser.org This little guide take you through how to make use of DB Browser for SQLite!
msmarwaha
MORE Python Challenges - If statements

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
nwilkin
Engaging two or three week Python project for beginners / intermediate / competent users

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!
hoof_hearted
GCSE Computer Science Mock Papers

GCSE Computer Science Mock Papers

Component 1 and Component 2 mock papers. Created with exam builder then edited and added to by myself. Marked out of 40 with mark schemes attached. There is an OCR cover page containing my name, please remove.
brigden91
Free Primary Computing Lesson - Halloween with HTML

Free Primary Computing Lesson - Halloween with HTML

A computing lesson plan and associated resources for KS2 children designing a Halloween themed invitation. Introduces basic HTML and CSS and includes step-by-step lesson plan, support materials and pre-written HTML/CSS template. More free primary computing lessons and resources available at www.icompute-uk.com
iCompute
ICT and Computing Word Clouds - Key Words

ICT and Computing Word Clouds - Key Words

ICT and Computing Word Clouds A set of 3 word clouds in the shape of a Laptop, Monitor and Smart Phone, Featuring 150 keywords (across all 3 clouds) for upper-end KS3 and KS4 students. Images in high resolution .png format ideal for printing as posters etc.
pfairclough_mobile
Python SEVEN ten min starters / plenaries, short lessons

Python SEVEN ten min starters / plenaries, short lessons

There are 7 ten minute Python starters, or plenaries in this presentation. They include identifying code purpose, spotting errors, discussing efficiency of coding. The codes themselves are also useful for ideas of scripts learners can create, add to, or change. They include IF, sub routine, tuples, and other structures. The kids actually love solving the problems. All but one (open ended one) have the solutions on slide 2, to either share, or use as a mark scheme.
hoof_hearted