Pages

Monday, October 10, 2011

Algorithim for opening door and entering a room

Go to door
turn handle
push door
and enter room.

Repetition:

a concept that enables programmers to repeat a block of code a number of times, until a condition is met.

Selection:

one of the three basic logic structures in computer programming. In a selection structure, a question is asked, and depending on the answer, the program takes one of two courses of action, after which the program moves on to the next event.

Sequence:

In a sequence structure, an action, or event, leads to the next ordered action in a predetermined order. The sequence can contain any number of actions, but no actions can be skipped in the sequence. The program, when run, must perform each action in order with no possibility of skipping an action or branching off to another action

Flowchart

A flowchart is a formalized graphic representation of a logic sequence, work or manufacturing process, organization chart, or similar formalized structure.

High Level Computer Language

A programming language such as C, FORTRAN, or Pascal that enables a programmer to write programs that are more or less independent of a particular type of computer.

Machine Language:

a set of instructions coded so that the computer can use it directly without further translation

Pseudocode:

An outline of a program, written in a form that can easily be converted into real programming statements.

Algorithms:

A formula or set of steps for solving a particular problem. To be an algorithm, a set of rules must be unambiguous and have a clear stopping point. Algorithms can be expressed in any language, from natural languages like English or French to programming languages like FORTRA.