A lot of introductory courses on programming quickly teach you how to write lines of code to produce a quick effect. In this course, you will learn to write code through the simultaneous application of theory and practice, thus allowing you to understand what the code you write is doing. Hopefully this will be useful to those new to programming, as well as to those with an intermediate understanding of programming theory.
Throughout this course, we will be learning the theoretical components for each section, and then learning to implement these in practice using the Python programming language. The reason for the choice of Python is multi-fold. Firstly, the Python programming language is freely available and is cross-platform (it will run on Windows, Mac, and Linux). Secondly, it has a clear syntax, making it easy to read, write, and comprehend. Thirdly, there is a large programming community around the Python language, with many open source projects written in Python, allowing students to investigate production Python code easily. Lastly, Python has a live interpreter, removing the complication of compilation, deployment, or installation of other frameworks.
Note: This course is focused on teaching programming theory, and not the intricacies of the Python programming language. Thus, certain Python-specific terminology has been replaced by more generic terminology to allow the knowledge imparted in this course to be more easily transferable to other programming languages.
- Overview of Computer Architecture
- Binary Data
- Data Types
- Working with Arrays
- Functions: A Mathematical Perspective
- Functions: A Computer Science Perspective
- Introducing Binary Arithmetic
- Statements: Declarations and Assignments
- Statements: Conditionals
- Statements: Loops
- Error Handling
- Writing a Program
- Recommended Reading
Programming Theory Level 1
Open Source Coder
Once you have completed the course material, you can gain recognition for your learning via the course badge. To find out more about this Open Badge, take a look at the Open Source Coder section.
At the end of each section of this course there will be a set of exercises for you to test your understanding of the content. It is recommended that you answer the exercises in the comments section at the bottom of each page, so as to get feedback from one of the course organizers, as well as from other peer learners.
To get us started with this course, let's start with our first exercise:
Add a comment to the "Discussion" tab to introduce yourself. Include the following information:
- A sentence about who you are.
- Why are you taking this course? What are you hoping on getting out of this course?