Tuesday, October 12, 2010

Computer Algaration

class discusion for a trafic light relating to computer algartion.

TRAFIC LIGHTS

  • approch lights
  • cheak colour of light

if light is green then continue.
if light is red then stop.
if light is orange then slow down.

"if.....then....". Selection-choose.
Selection-order.

...............................................................................................
TEMP OF BATH WATER

Repetition-truning the hot and cold handles, testing the temp.

DEFINITIONS

Algorithms- a set of steps that describes exactly how to do something. An algorithm is a step-by-step problem-solving procedure, especially an established, recursive computational procedure for solving a problem in a finite number of steps.

Pseudo code- a program code unrelated to the hardware of a particular computer and requiring conversion to the code used by the computer before the program can be used.

Machine Language- a coding system built into the hardware of a computer, requiring no translation before being run.

Flowchart- a graphic representation, using symbols interconnected with lines, of the successive steps in a procedure or system.

Sequence- something that follows.

Selection- an act or instance of selecting or the state of being selected; choice.

Repetition- something made by or resulting from repeating.

No comments:

Post a Comment