Sunday, October 9, 2011

Computer Algorithms

1.       Algorithms: An algorithm is a set of instructions, sometimes called a procedure or a function, that is used to perform a certain task. This can be a simple process, such as adding two numbers together, or a complex function, such as adding effects to an image.
2.       Pseudocode: Pseudocode is an informal language, so it is mainly used for creating an outline or a rough draft of a program. Because it is not an actual programming language, pseudocode cannot be compiled into an executable program.  
3.       Machine Language: computer language: a programming language designed for use on a specific class of computers.
4.       High Level Computer Language: a problem-oriented programming language, as COBOL, FORTRAN, or PL/1, that uses English-like statements and symbols to create sequences of computer instructions and identify memory locations, rather than the machine-specific individual instruction codes and numerical addresses employed by machine language.
5.       Flowchart:  a diagram of the sequence of operations in a computer program or an accounting system.
6.       Sequence: Sequence is the default control structure; instructions are executed one after another.
7.       Selection: 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. This structure is sometimes referred to as an if-then-else because it directs the program to perform in this way: If Condition A is True then perform Action X else perform Action Y.
8.       Repetition: The process of repeating a set of instructions a specified number of times or until a specific result is achieved.

No comments:

Post a Comment