Structured Programming 1 - Class Example Code
- Students are introduced to general programming environments in which they write simple structured algorithms and programs that input, process and output data, use some of the more basic operators and data types and follow a sequential flow of control.
- This is an introductory level computing science module and does not have a prerequisite.
- The files linked below contain examples of code, code "snippets" and the "proto code" used as the basis for summative assessments from class.
- Code is in both Portable Document Format (PDF) and Processing Development Environment (PDE) formats.
- Timeline: Monday February 28th to Thursday March 24th
Art Programs
|
|
|
|
|
|
|
|
|
Conditional "If Then" Programs
|
|
|
|
|
|
Game Code "Snippets"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Loop Programs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Rotating Arm Programs
|
|
|
|
|
|
|
|
|
|
Time, Date and Clock Programs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Miscellaneous Programs
|
|
|
|
|
|