Introduction to Python.
The course is a total beginner’s introduction to programming. It takes students from zero to being able to write their own programs in 10 sessions. It teaches the logic and mindset needed to break down complex tasks into individual steps and have a computer execute them. It opens up students minds to how technology and applications they use on a daily basis work, and allows them to get inspired by how technology can change their everyday lives. Most importantly it shows them that no matter their background/knowledge level/age, that they can learn new things and that programming is something they can do and (mostly like) enjoy.
The course breakdown is as follows:
• Intro to programming • “Hello World” • Variables • Basic Math • Accepting input
These sessions outline what programming is and gets attendees writing and running their first programs. They learn about how to output information, calculate basic maths, accept user input and start to process it.
• If/else statements • Collections - Lists • For loops
These sessions get students using basic logic to adapt the flow of execution within their programs. They also learn about their first basic data structure and loop through them to show the same piece of code being run multiple times.
• While loops • Collections – Dictionaries • Advanced Lists
These sessions extends the students basic knowledge around data structures and how to loop through code in more ways. They learn how to extend their programs by including modules of code written by others.
• What / Why / How
These sessions introduce functions, what they are, why they are used, how to use them. It takes all the knowledge they have previously learnt and teaches them how to start writing more manageable and re-usable code.
• Read • Write
These sessions teaches how to read and write data to files. Students calculate values from data within files, and write results out to other files. It builds from their existing knowledge and gets them to use the logic they have learnt to process data on a larger scale.
• Class • Method • Objects
These sessions introduce class, methods and objects, what they are, why they are used, how to use them. It takes all the knowledge they have previously learnt and teaches them how to start writing more manageable and re-usable code.