Python Programs and Applications for the Secondary Classroom

Sanjin Dedic
Educator, Author, Robotics Engineer
Create 5 Python programs themed on sports science, memory training and text analysis. These are wonderfully simple yet very engaging and rich in higher order thinking.
Target Audience
Secondary Digital Technologies Teachers in Years 7-12
1 review

Learning Areas

Teaching Standards

General Description

A good programming activity for secondary students generally means writing code that is conceptually easy to understand and yet rich in entertainment value and higher order thinking.
In this fast paced workshop you shall be creating five such activities line by line and learning how to adapt them to serve as both assessments and extension for advanced students. The concepts covered will include variables, loops, if statements, functions, lists and dictionaries. These will be applied to the following programs:
• Guess the number game (introduction to python)
• Reaction time program
• Memory training program
• Word ranking program
• Palindrome Discovery Program


Secondary Digital Technologies Teachers in Years 7-12

Available Delivery Formats

Format Description

24/7 lifetime course access


- If you have a TTA subscription or membership please ignore the pricing when enrolling. Rest assured if your school has a subscription you will not be charged and for Memberships, your invoice will be adjusted accordingly to reflect your discount.

- If you have no subscription or membership but you are interested in placing a bulk discounted order for a team of teachers see the ONLINE TEAM tab above.

- For more details on our Unlimited Online Subscription packages Click here .

- Money-Back Guarantee – If you complete less than 25% of an online course and aren’t impressed, simply visit to let us know what happened, and we will cancel your enrolment and provide a full refund.

The online course covers all the concepts in great detail with video tutorials. The learning sequence is more methodical and systematic online, the online course is designed for an adult learner to acquire knowledge most effectively whereas the live course is designed to simulate the classroom environment with teamwork and student engagement playing a big part.

The online course also has built in quizzes and self marking coding exercises. My recommendation is for teachers to complete the online course over a week, working an hour or so each day. This is an easier way to absorb the material

Teaching Standards

2.6.2 Proficient Level – Information and Communication Technology (ICT)
3.2.2 Proficient Level – Plan, structure and sequence learning programs
3.4.2 Proficient Level – Select and use resources

Are you in NSW? If so, this is relevant for you

Completing this course will contribute 8 hours of NSW Education Standards Authority (NESA) Registered PD addressing 2.6.2, 3.2.2 & 3.4.2 from the Australian Professional Standards for Teachers towards maintaining Proficient Teacher Accreditation in NSW.

TTA (Teacher Training Australia) is endorsed to provide the NSW Education Standards Authority (NESA) Registered Professional Development for teachers accredited at Proficient and Lead Level Teacher.

This course contributes to 5.0 professional development hours.


  Start Date Location Availability Price    
Enrol Now Now Online Places available $269 + GST Enrol Now


Guess the number game (introduction to python)

1 hour

In this session we will set out to create a simple text based game where a user guesses a number between 1 and 100. This will serve as a methodical introduction to Python. First we will learn to get user input as an integer, then we will compare it to a randomly generated number and finally we will do the process using a loop and counting the number of tries. The final program will have about 15 lines of code and apply pretty much all the Python core concepts

Reaction time program

1 hour

In this section we will learn about the time library and how it can be used to measure elapsed time in programs (a metric for efficiency). We will then use this feature to measure how fast a user can react to a GO signal in milliseconds. This is a lot of fun for students and can be a starting point for a project on data analysis

Memory training program

1 hour

In this session we will use loops in a more advanced way to cycle through characters in a string and apply this to a memory training game. The user will chose a level of difficulty whereby they have to memorise a sequence of numbers of a chosen length over a chosen time interval.

Word ranking program

1 hour

In this session we will get introduced to lists, how to create them, add to them and extract them from text files. This feature will come in handy because we will save entire books as a string, convert them to a list and then rank all words in a book by popularity. This is can be a fascinating process as we will create all the tools we need to find out what the book is about who the protagonist is and where the book is set

Palindrome Discovery Program

1 hour

It is always exciting to tackle an interesting problem where computer have a huge advantage over humans. Palindrome discovery is one such problem where we can take a text file containing a list of 20,000 English words (singulars, plurals and variations) and discover which of those words are palindromes.

User Rating


Latest Reviews

Please note the feedback listed here is unfiltered, and includes all comments and ratings collected.

Python Programs and Applications for the Secondary Classroom - Sanjin Dedic

Very interesting lesson ideas that could really get kids engaged more in programming.

About the team

Sanjin Dedic


Sanjin Dedic is a robotics engineer and an experienced educator in the field of Digital Technologies. Throughout his teaching career Sanjin has been at the forefront of the latest educational technologies, in 2013 he brought Arduino, 3D printing and the make movement ethos into the classroom, he since authored Python curriculum in use by dozens of Victorian schools and co-authored a book on the BBC micro:bit, both aimed at students in Years 7- 10. He currently teaches at the King David School in Melbourne and works with Digital Learning and Teaching Victoria, Teacher Training Australia and The Digital Technologies Hub to share the latest in educational technology and pedagogical approaches with fellow teachers.