Post date: Dec 26, 2014 2:09:31 AM
The software life cycle
Start > Development > (Software not yet obsolete)
> (1. True) > Use > Modification >Development > (Software not yet obsolete)
> (2. False) > Stop
The waterfall model
Analysis > Design > Implementation > Testing
Algorithm example
Informal definition -figure 8.2 Finding the largest integer among five integers (page 221)
(One by one compare)
Defining actions -figure 8.3 Defining actions in FindLargest algorithm (page 222)
(Set the largest to the first number)
Refinement -figure 8.4 FindLargest refined (page 223)
(Set largest to -infinity)
Generalization -figure 8.5 Generalization of FindLargest (page 223)
(Set largest to -infinity)
Three Constructs
Sequence
action 1 > action 2 > ... > action n
Decision
if a condition is true, > action a
else, > action b
Repetition
while a condition is true, > action
UML representation is a figure to construct the process.
Pseudocode is a kind of words to construct the process.