How do we change the flow of a program based on certain conditions? Every (see: esolang) Usually a
higher level programming language comes with constructs to evaluate conditions, repeat things until
a certain condition is met, or repeat a statement list x
times. This lecture contains
basic logic [sic!], and definitions for flow control constructs in formal, Matlab, and C-Shell
language.
Fundamental Principles 2 (pdf)
This lecture contains many examples: tar.gz or zip archive. Work through them! Change things! Breaks things and try to fix them. Get your hands dirty!
4.0 | Download examples and run the Matlab scripts -- play with them! |
4.1 | Compute the results for the logic problems given in the slides. |
ronni <at> gi <dot> alaska <dot> edu | last changed: October 04, 2010