Python Programs and Applications for the Secondary Classroom

Sanjin Dedic
Teacher, Robotics Engineer, Learning Designer
Create 5 Python programs themed on sports science, memory training and text analysis. All of these a wonderfully simple (<25 lines of code) yet very engaging and rich i...
Target Audience
Secondary Digital Technologies Teachers in Years 7-12

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

Course Access - This course is available 24/7. Once your enrolment is complete you will be emailed with details to give you course access. You can complete the course when it suits you, and you will have ongoing access to revisit the course at any time.

My school has TTA School Membership - If your school has TTA School Membership and will be paying for your course, please enrol in the normal way. Upon submitting your enrolment confirmation, your enrolment request will be sent to your PD Coordinator for approval. Once they approve the enrolment you will be emailed with details for course access. The school will not be charged until the PD Coordinator approves the enrolment.

Did you know that courses are 50% off with TTA School Membership? - Click here to learn more about School Membership

Do you have a team of teachers interested in this course? - If several teachers would benefit from this course, you can pay as little as $850 + GST and give all teachers access to this course. To learn more, click on the tab ‘WHOLE SCHOOL ONLINE’ above

Money Back Guarantee - If you complete less than 25% of an online course and aren’t impressed, simply visit to let us know what happend, 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 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.

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.

No Reviews

There are no reviews of this format at this time.

About the team

Sanjin Dedic


Sanjin Dedić has a B.Eng in Mechatronic Systems majoring in Robotics and Computer Vision and spent several years working industry as an Engineer. He then retrained as a teacher and taught Systems Engineering and Digital Technologies at a secondary level. Recently he has been developing a series of technology programs for G.A.T.E.WAYS (gifted and talented education) covering everything from coding, robotics, applied mathematics and microcontrollers. These programs have been delivered to students in Melbourne, Sydney, Canberra and Queensland. As a head of eLearning at Techxellent he has combined his technological expertise with his educational experience to create innovative teacher training programs and resources.