blah.

stuff

Tuesday, June 13, 2006

me 64, 72, 68
sy 60, 59
jt 57, 60
ringo 70, 65, 93

Monday, June 12, 2006

http://www.calvin.edu/academic/cas/gpa/posters/1933ba.jpg

This poster is from the March 1933 Reichstag election, the last one in which Germans had a choice. The poster shows President Hindenburg and Chancellor Hitler. The caption: "The Reich will never be destroyed if you are united and loyal." Courtesy of Dr. Robert D. Brooks.

http://kriegsende.ard.de/container/ndr_style_images_default/0,2299,OID1061244,00.jpg

The ship Wilhelm Gustloff, who's final voyage was evacuating civilians and wounded German soldiers and sailors from Gdynia (known by Germans as Gotenhafen or Gdingen) near Danzig (Gdańsk) to Kiel. The Gustloff was torpedoed 30 kilometres offshore and somewhere between Władysławowo ( Neustadt in Westprussia) and Łeba. According to the ship's records, the total number of passengers who died was 6,050 people. Including the unregistered, the death toll was almost certainly higher

Tuesday, June 06, 2006

1 The simplest control structure is the sequence. The direction of flow passes through all steps in this structure. In pseudocode, a sequence will always be indented the same amount. As a flowchart, the sequence is identified as a number of steps flowing down the flowchart.

2 The three structures are sequence, selection and repetition.

3 A sequence consists of a number of steps that are to be performed one after the other, each step being performed once in the pass.

4 An algorithm in pseudocode starts with BEGIN and finishes with END.

5 Indentation allows the structure of the algorithm to be clearly seen.

6 A flowchart starts and finishes with terminal symbols containing the keywords BEGIN and END respectively.

7 The process symbol represents an action that is to be carried out.

8 The flow direction is from top to bottom since that is the natural direction for us to read.

9

get steak and oil

heat oil in frying pan

put steak into frying pan

turn steak as required

remove steak when cooked

10

get pencil and sharpener

put pencil into sharpener

turn pencil

remove pencil from sharpener

11

    a

    BEGIN sharpen pencil

    get pencil and sharpener

    put pencil into sharpener

    turn pencil

    remove pencil from sharpener

    END

    b


12

get bowl, cornflakes, milk and sugar

fill bowl with cornflakes

pour milk over cornflakes as required

pour sugar over cornflakes as required

Thursday, June 01, 2006

1
a pseudocode
b word processor
c keywords
d indentation
e flowchart
f flowlines
g algorithm
h terminal
i decision
2 Some of the methods of algorithm description used today are:

flowcharts, pseudocode, structured English, Nassi-Schneiderman diagrams and English prose. The two methods approved for this course are flowcharts and pseudocode. The graphical method is the flowchart. The method that uses English-like language is called pseudocode. When using flowcharts, we read them from top to bottom and left to right, moving from step to step along flowlines. Pseudocode is popular because its keywords are close to those in programming languages.

3 Pseudocode is a text-based algorithm description method.

5 Flow of control is from top to down

13
a
BEGIN
phonecall
pick up the phone
dial number
deliver message
hang up phone
END

14
BEGIN
frypan heat
crack egg
egg in pan
wait 3 minutes
take egg out
clean pan, turn off element
END

15
Begin
drive car out
get hose
clean off dirt
get bubbles/washing liquid
clean in detail
get hose
wash off
dry with cloth
drive car back in garage
clean up stuff
END
Algorithm

Decision tree
Pseudocode

Important that algorithm is in a specific order, and can be full understood.
Should be fully tested and chekd against the desired outpu, if required, s hould be modified.
One start, one ending.
Input/Output structure

Pseudocode:


Popular
Easily written, in english.
Flow from top to down
Group in paris, if begin, there is end. If if, endif.