Challenge yourself, learn a real coding language.
While a drag-and-drop interface is great for children to learn logic, it will never replace text-based coding.
Reinforce Mathematical Concepts.
Learning to code improve abstract reasoning, the foundation of mathematics.
Coding requires application of math
Apply math concepts in an environment that encourages understanding through experimentation.
Coding and math are related
Both math and coding take what we see everyday and create abstract models of reality.
Learn to code - one step at a time.
Similar to learning a foreign language, learning to code does not happen a 2-day course. It happens over time through constant reinforcement and application.
Progressive Course Structure
Certificate on passing each module
Stay ahead, learn Python.
Python is not only the easiest coding language to read and learn, it is also the most widely used in data science.
20 weeks per module
There will be an open-laptop assessment after each module. Students who pass will receive a certificate.
Module 1: Syntax
Variable names, data types, arithmetic operators, block diagram notation
Module 2: For Loops
For loops, range, indentation rules
Module 3: Lists
Lists, calling, slicing, string slicing
Module 4: If-Else
Comparison operators, if, else-if, cases
Module 5: While Loops
While loops, loop counters, infinite loops
Module 6: Function
Defining functions, function variables, function inputs, function return
Module 7: Nested If-Else
2-layered statements, 3-layered statements, indentation rules
Module 8: Libraries
Math library, graphing (matplotlib)
Interactive Math Related Python Examples
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!
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
We use conditionals (if-else statements) everywhere in our daily lives. A familiar example would be school subject grading. Click the right hand panel, enter your score and hit the enter key to know your grade
Challenge: Try adding more conditions to the list
2019 PSLE Triangle Problem
Math and coding are intricately linked. We can use Python to solve challenging problems such as the PSLE Triangle Problem. Where students are challenged 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.