Programming and Algorithms: Week 1

banner

structured programming

What are we doing this week?


This week we are going to look back on topics we have covered previously, and we are also going to look at STRUCTURED PROGRAMMING, including MODULARISATION, RETURN VALUES, PARAMETER PASSING, and GLOBAL AND LOCAL VARIABLES.
Moving onto the Python side of things we will look at implementations of MODULARISATION, RETURN VALUES, PARAMETER PASSING, and GLOBAL AND LOCAL VARIABLES.
 
PseudoCode Python Python Logo


Powerpoint: Structured Programming
[Taught in class]


Powerpoint:
Python Recap
(Part 1, Part 2)
[Taught in class]

Powerpoint: Structured Programming
[Taught in class]
Total running time of videos is 0 minutes.

Online Interpreter:
Python Intrepreter
Sample Code:
 Modularised Prime Checker * Parameterised Prime Checker * Global and Local Variables with Strings (Example 1, Example 2, Example 3, Example 4)  * Global and Local Variables with Integers (Example 1, Example 2, Example 3


Downloading and Installing Python

Running Python Programs




Learn Python in 1 Hour



Python Modularisation - Trevor Payne





Links
Python Programming Examples
http://www.programiz.com/python-programming/examples

Python Wik: Simple Programs
https://wiki.python.org/moin/SimplePrograms

"Hello World" in Python and 318 other programming languages
http://rosettacode.org/wiki/Hello_world/Text#Python



Lab #1
Lab #1 is all about checking if you can remember about Python.


back

If you have any suggestions, corrections, or comments, please feel free to e-mail me at:
Damian.Gordon(a)dit.ie