Using the web, find definitions for
the following terms and post them on your blog. Make sure the
definitions relate to computers and programming
AlgorithmsA process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer.
Pseudo code
Pseudocode is a compact and informal high-level description of a computer programming algorithm that uses the structural conventions of a programming language, but is intended for human reading rather than machine reading
Machine Language
computer language: a programming language designed for use on a specific class of computers.
High Level Programming Language
a diagram of the sequence of operations in a computer program or an accounting system.
A particular order in which related events, movements, or things follow each other
Selection
The action or fact of carefully choosing someone or something as being the best or most suitable
Repetition
The action of repeating something that has already been said or written
Then with the aid of class discussions,
write an algorithm for the following processes;
Opening
a door and entering a room.1. face the door
2. reach out with left hand and grasp door handle
3. turn door handle
4. step forward through the door
5. enter the adjacent room
Negotiating traffic lights as you drive down a street.
1. If the traffic light is red, stop
2. If the traffic light is orange, prepare to stop
3. If the traffic light is green, continue
In your algorithm write each step of
the process on a new line. Remember not to assume the computer knows anything.
No comments:
Post a Comment