generated from ThePyProgrammer/CTFd
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
VikramRamanathan edited this page Oct 6, 2023
·
13 revisions
Welcome to the Python Coding Workshop!
This Coding Workshop covers the fundamentals of the Python Programming Language, and is intended to be taught over 3 Days with 2 Hours of Lessons per day. The topics are as follows:
S/N | Topic | Sub-Topic |
---|---|---|
1 | Intro to Python and IDLE | Using print and input functions |
Accessing IDLE | ||
2 | Operations | Basic Arithmetic (+ , - , * , / , // , % , ** ) |
Order and Operations (BODMAS/PEMDAS) | ||
3 | Variables & Assignment | Box Analogy |
Assignment Statements (= , += , -= , *= , /= …) |
||
4 | Types |
int , float , bool , str , None
|
Type Casting | ||
5 | Conditionals |
if Statement |
else Statement |
||
elif Statement and Control Flow |
||
6 | Functions | Defining Functions |
return Statement and lambda Functions |
||
Functions as Objects (e.g. map , filter , etc.) |
||
7 | Loops |
for Loop |
while Loop |
||
8 | Modules |
math Library |
random Library |
Additionally, the following topics will not be covered in the workshop, but we encourage students use the notes as a starting point to learn about them, as they are very important.
9 | Arrays / Lists | Storage, Append and Remove |
Indexing (and String Indexing) | ||
10 | Exceptions and Error Handling | Exceptions |
try , except , else and finally Statements |
||
11 | External Systems | Accessing the Command Line |
pip |
||
PyPI and numpy
|
||
Docs (+ Debugger) |
Day | Duration | Topics Covered |
---|---|---|
Day 1 | 2 Hours | Topics 1 - 3 |
Day 2 | 2 Hours | Topics 4 - 5 |
Day 3 | 2 Hours | Topics 6 - 8 |
In lesson 1, we will be covering the following topics:
- Intro to Python and IDLE (Expected Time: 30 minutes)
- Operations (Expected Time: 40 minutes)
- Variables and Assignments (Expected Time: 50 minutes)
- Types (Expected Time: 60 minutes)
- Conditionals (Expected Time: 60 minutes)
- Functions (Expected Time: 45 minutes)
- Loops (Expected Time: 45 minutes)
- Modules and Packages (Expected Time: 30 minutes)
- Arrays and Lists (Expected Time: 65 minutes)
- Exceptions (Expected Time: 25 minutes)
- External Systems - Going Forward (Expected Time: 55 minutes)
By a team of students from NUS High School, aiming to make coding easier for everyone.