1. Resources Home
  2. Elementary School
  3. Computing
  4. Computational thinking
  5. Evaluation
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
MORE Python Challenges - The Basics

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
nwilkin
Computational Thinking Bundle

Computational Thinking Bundle

Purchase my three comprehensive guides to computational thinking within one bargain package! Includes: Computational thinking for KS3 Computational thinking for KS4 Problem Solving for KS3 Also includes my popular poster resources to help promote computational thinking within your classroom
RobbotResources
OCR - A-LEVEL Project - Computer Science - H446 - Lesson 2

OCR - A-LEVEL Project - Computer Science - H446 - Lesson 2

This is lesson 2 of the A-Level OCR computer science project guidance. The slides break down the tasks that should happen. It helps the students to do research and helps them to expand on what they've already found out. It gets them to think about interview techniques and discusses minutes and agendas. A good prompt for teachers who haven't delivered the project before.
r_chambers
Web Coding Problem Solving Homework 2

Web Coding Problem Solving Homework 2

This is a short written task is designed to following an introductory few lesson on HTML. The 15 minute, 15 mark homework sheet has four pages which use basic HTML tags to encourage students to learn the skill of finding errors in code. Question 1 shows a html file containing 10 deliberate errors. Students have to identify the position of each error and write in a correction. Question 2 consists of five similar problems. Students are shown a web page in a browser, each of which are not displaying as intended. Students told how the web page should have looked and have to identify what error may have been made in the code that would cause each page to display as shown. Question 2 may be used to generate lots of good discussion as often there may be several possible answers. This could easily be used as class written work or for staff absence cover. The download includes the original HTML files created while writing the questions. These may be used for demonstration, discussion or as part of your HTML course.
snegreid
150 Python Challenges

150 Python Challenges

A single location to download all of our Python challenges (previously sold as separate downloads). Includes a single 149 page book outlining the challenges giving helpful instructions including how to install Python and SQLite3 as well as including sample code to help you and your classes complete all of the challenges. Screenshots of each solution included along with the original Python file so you can demonstrate the working solution to your class and talk through the code with them. Includes ready-to-use challenges to practice with and 5 larger chunky challenges to help pupils prepare for their NEA coursework and ideal to be used for the NEA resource bank. Suitable for KS3, GCSE and A Level Computer Science pupils. Covers: • Inputting and displaying data • Strings • Maths • If statements • For and while loops • Random • Turtle • Tuples • Lists • Dictionaries • Numerical Arrays • 2D lists and dictionaries • Reading from and writing to an external text file • Reading from and writing to an external .CSV file • Functions • TKinter • SQLite3 A complete, ready to use resource that will prove invaluable to your pupils to help them learn Python as a reference guide as they progress with their programming. For more high-quality resource visit www.nicholawilkin.com
nwilkin
A Christmas Coding Activity with Scratch

A Christmas Coding Activity with Scratch

A computing lesson plan and associated resources for KS2 children programming a Saving Santa 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
iCompute
An Easter Programming Activity with Scratch

An Easter Programming Activity with Scratch

A lesson plan and resources from iCompute for KS2 pupils programming an Easter Egg Hunt 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
iCompute