There are two programming modules on the syllabus. The core - required- module is Object Oriented programming 5N0541. We do another module that covers a sub-set of the OOP syllabus and focusses on functional programming - 5N2927. All of the components in this module are part of the OOP syllabus.
The "Main Text" is linked to. There are also videos, quizzes, discussion boards, interactive versions of the book and pdfs that you can print.
Under the Course page, I'm adding information here that is absent from the book chapter, or perhaps not covered in sufficient detail. Please reference the relevant chapter as required reading for each part. The following is a rough guide to the sequence of topics- some concepts are introduced early on and then examined later in more detail.
1) Basic section (Chapters 1-2) for:
Structuring (Flowcharts)
Variables and casting
Operators (arithmetic and logical)
Basic functions (print, input and help)
2) Decision Making (Chapters 3 and 5) for:
If, elif and else (just this so far)
While loops (just while so far)
3) Functions (Chapter 4)
Types of functions
Docstrings
Doctest
Helper functions (input and output statements)
4) Strings (Chapter 6)
Class str and it's methods
Indexing
Slicing and concatenation (adding)
5) Lists (Chapter 8) and tuples (Chapter 10)
methods
Indexing
Mutability vs. immutable
6) Modularisation- see notes in that section. Similarity with chapter 14
Importing files and functions
Game Development
Namespaces
7) Dictionaries (Chapter 9)
Key value pairs
Methods
Creation
Modifying
8) Files (Chapter 7)
Filetypes
Read (Parse) / Write
9) OOP (Chapter 14) {OOP Module Only}
Class diagrams
Design and implement classes
Dunder (special) methods
This is an introductory module that is oriented towards functional programming.
This is an intermediate module that is based on object oriented programming.
Previous Year's first Assignment
This was an assignment to make a game like the national lottery using letters instead of numbers. There are many issues not shown in the video, such as:
making sure only letters are accepted
making sure single characters are accepted
an option to set (in the code) the number of chars to be entered
how the odds for winning are calculated
how many files are used to create the program
how the program was developed
Can you think of other issues that might be considered when coding such a game?
About me
I worked as an Engineer in electronics manufacturing after spending a few years as a repair tech. After setting up a business, I was asked to cover teaching web and programming for a few weeks.... then I was offered a job lecturing business, and another job teaching computer applications. Years later I am still involved in training.
I enjoy problem solving, and a big chunk of programming is just that- structuring a problem and finding a sequence or path to a solution.