Algorithms- a set of rules for solving a problem in a finite number of steps, as for finding the greatest common divisor.
Pseudocode- 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.
High Level Computer Language- A computer language whose instructions or statements each correspond to several machine language instructions, designed to make coding easier.
Flowchart- A flowchart is a schematic representation of an algorithm or a process.A flowchart is one of the seven basic tools of quality control, which also includes the histogram, Pareto chart, check sheet, control chart, cause-and-effect diagram, and scatter diagram.
Sequence- A control structure where you do the items in the sequence listed.
Selection- A control structure where you select between two or more choices
Repetition- A control structure that allows some lines of code to be executed many times.
Opening a door and entering the room
1. hold the door handle
2. turn the door handle
3. push the door open
4. walk through the door.
Negotiating traffic lights as you drive down a street
1. wait for the light to turn green
2. drive when light is green
3. slow down when light is yellow
4.stop when light is red
5. drive when light is green
No comments:
Post a Comment