Tuesday, October 20, 2009

TERM 4 ! - Definitions !

DEFINITIONS!
1. Algorithms:
An algorithm is a process of instructions used in machines and computers to determine how to do a task when told to.

2. Pseudocode:
Pseuadocode is a computer programming algorithm that is written in a way that is not necessarily for machine reading but for human reading.

3. Machine Language:
This is the only languaghe that is understood by computers. They are made up entirely of numbers and are near impossible for humans to read.

4. High Level Computer Language:
A programming language that allows a programmer to write programs that are independent of a particular type of computer.These languages are considered high-level because they are closer to human languages and further from machine languages that are used.

Flowchart Symbols;
Beginning and ending a set of instructions:
A the beginning and ending of a set of instructions, a rounded, rectangular box is used to show this.

Decision making:
For decision making, a diamond shaped box is used and involves a yes or no question.

A process or action:
For a process or action, a normal rectangular box is used.

ALGORITHMS:
1) FOR OPENING AND ENTERING A DOOR.
-Turn 90degrees to the left.
-Walk forward 4 medium steps.
-Tun 90degrees to the left.
-Walk forward 1 small step.
-Grasp the door handle.
-Turn the handle.
-Push to open the door.
-Take 3 medium steps to walk outside.

2) FOR NEGOTIATING TRAFFIC LIGHTS.
-

No comments:

Post a Comment