CSSE 120 Summer 2015-2016 (aka 201640)Introduction to Software Development (with robotics)
Session 4 Preparation — Videos, Reading and Quizzes
Quiz
Go to Moodle to find the Quiz for
this Preparation.
Do the quiz as you watch the videos and do the reading.
The quiz follows the same order as the videos/reading do.
You can access the videos from here or from Moodle;
they both point to the same place.
Videos and Reading:
All of the following are required except items
labeled Optional are, well, optional (i.e., things
that may be interesting but do not directly pertain to your success in this
course).
Conditionals: IF and IF-ELSE and IF-ELIF-ELIF...-ELSE statements
You may also want to skimSections 5.1 through 5.4 of the above page.
The Accumulator Pattern (revisited)
This
video
[9:36 minutes]
extends the accumulator pattern from the summing pattern that you have seen previously
to include the counting and in-graphics accumulator patterns.
First Do a Concrete Example By Hand
This video
[10:36 minutes]
works through an example of a technique that you will use often.
Note: The video uses the following example: Given a line, draw a diamond from the line.
The video should have said that the given line is the upper-left
line of the diamond. (Instead, the video wrongly spoke of "positive slope".)
Read the above page, but you do not have to follow its links to other pages.
Optional additional reading:
Test-First Programming (aka Test-Driven Programming, TDD)
is widely used in Agile Software Development Processes,
as described at length in this optional article on
Test-First Programming
from the web site for the Agile management tool called VersionOne.