Python II

A deeper dive into Python and its components - Python I completion or basic coding knowledge recommended

Book a Class


By completing this course, the students will have:

✓ Understood advanced concepts and implementations Python programming language.

✓ Developed complex programs that perform various tasks.

✓ Learned how programs and applications work behind the scenes on computing devices.

✓ Mastered the logic required to create programs from scratch in Python.


Length of course: 1 month
Frequency: Twice a week
Computer Required: Yes
Location: Online - Web Browser
Price: $250 $200

Syllabus

For the first class, students will download a program called MuCode. Similar to the reasoning for Python I, this code editor has all the essentials built in and allows the students to jump right into coding.

Then, we'll return to the fundamental concept of lists and learn about 2D lists, what they are, and how to create or modify them.

The following days will build on the program we start on this day, until the end where students create their own from the ground up.
If you want to loop through the deeper elements of a 2D lists, you'll want more than a simple for loop - you'll want nested for loops! Students will learn how to create a nested for loop and fully understand the logic behind them.
Other than lists, there exist other data structures that can handle multiple elements - Dictionaries and Tuples. On this day, students will learn about each of their properties and various use cases they fill.
Students are sure to come across some errors throughout our program, but rather than simply accept errors as they come, they will learn how to properly handle them using the try-except block. The steps are simple - we try and do something, and if it fails, we print a custom error message, or do something else!
Think of external libraries as a bunch of functions and objects that were written by others so that we don't have to write code from scratch. Python I introduced the random module (or external library). In this lesson, students learn how to import different libraries and use them to do some cool and useful things.
What if we want to read an external file? On this day, students work with CSV, TXT, and JSON files, reading them into our program, or writing to them!
By this point, the students' have a solid grasp of many of the fundamental functions and mechanics Python has to offer. Classes are a major step to unlocking the full potential of Python (and many other programming languages!), so we will step through what they are and how to make one. Think of them as a blueprint of an object (like a car) that has as many properties as you want to provide (tire size, color, etc.).

Anything the students want to ask or discuss as well, this is the time to do it. We'll go over everything we've learned once more and iron out any gaps in knowledge.

We'll also run a small multiple choice quiz on Kahoot!
For this class, we'll provide the student(s) with a scenario and ask them to make a program to fulfill some tasks. All things they've learned will be incorporated into their code. They can consult any resources and ask anything they need. Once completed, they can proudly say they've delved even deeper into the world of Python and succeeded, and will certainly be able to grasp even more advanced programming concepts in their future endeavours.

Copyright © Code Champions 2024