Python Masterclass
The Python Masterclass is suitable for upper primary and secondary school students (aged 11+) who are keen to venture beyond the basics of coding. This course is designed to give students a jump-start in their learning journey with the view of equipping them with all they need for self-directed learning. Problem solving and mathematical concepts are core features of the curriculum.
For students wishing to apply to their desired schools using DSA, starting Python Masterclass in Primary 5 is recommended before embarking on the DSA Prep course.
Course Details
1.5 hours per week
There will be an open-laptop assessment after each module. Students who pass will receive a certificate.
-
Basic overview of syntax, if/else and loops. This provide context for the 8 modules where we explore topics in greater depth
-
Variable names, data types, arithmetic operators, block diagram notation
The very basics of text-based coding. Concepts are used all other modules within the Python Masterclass.
-
For loops, range, indentation rules
Loops are sections of code that are repeated over and over again. Loops allow coders to do large amounts of computation with little code.
-
Comparison operators, if, else-if, cases
If-Else statements allow coders to build in decision making and logic into their codes. Concepts here are essential.
-
Lists, calling, slicing, string slicing
Python is often used in data analytics applications. Understanding lists is crucial as data is usually stored as lists.
-
While loops, loop counters, infinite loops
While loops are loops with an if-else logic. Sections of code are repeated until certain conditions are met.
-
Defining functions, function variables, function inputs, function return
Functions are ‘mini programs’ within larger programs. Think of them as ‘excel formulas’ that are written by the coder.
-
2-layered statements, 3-layered statements, indentation rules
If-else statements within if-else statements. This decision tree structure allows complex algorithms to be built.
-
Math library, graphing (matplotlib)
Libraries are sets of functions that are written as part of the Python code base for specific tasks so that coders do not have to reinvent the wheel.
Python DSA Applications
View DSA Prep to learn more about DSA eligible schools and timelines.
There are many schools that allow for DSA applications through a special interest in Robotics or Python.
Applying through Robotics requires participation in national level competitions that are best done through school CCAs.
Applying through Python requires a project to be prepared for the interview. This is often less time consuming and more controllable.
Parents can apply with both robotics competitions and a Python project to maximize their chances of success.
Interactive Math using Python
Press the play icon to run your code. The output will be giving on the right-hand panel. You can modify the code and experience what learning Python is like!
Note: This is best viewed on a desktop. To reset the examples, navigate to the top left-hand menu. Have Fun!
Multiplication Tables
Python can be used to create multiplication tables through applying loops. Loops are used to repeat certain segments of code and are a core feature of any programming language.
Challenge: Modify the below code to show multiples of 8 instead of 5
2019 PSLE Triangle Problem
Math and coding are intricately linked. Python can be used to solve challenging problems such as the PSLE Triangle Problem. Where students are tasked to find the percentage of grey triangles in the 250th figure of the below pattern.
Given below are the first 3 figures of the pattern.
Challenge: Modify the code to find the percentage of grey triangle to total triangles in the 2500th figure.
Get started with Python
Book a free trial at one of our centers:
City Square Mall #06-05
Parkway Centre #13-07