Algorithm - programming language, Basic Computer Science

Algorithm: Once a problem has been defined precisely, a procedure or process must be designed to produce the required output from the given input. Since a computer is a machine that does not possess problem-solving judgmental capabilities, this procedure must be designed as a sequence of simple and unambiguous steps. Such a procedure is known as an  algorithm.   

The steps that comprise an algorithm must be organized in a logical, clear manner so that the program that implements this algorithm is similarly well structured. Number of steps in the algorithm should be finite, they should be executed in finite amount of time and they should give the desired output.  

Algorithms  are designed using three basic methods of control:   

a)  Sequential  :  Steps are performed in a strictly sequential manner, each step being executed exactly once. 

b)  Decision/Selection  :  One of several alternative actions is selected and executed. 

c)  Repetition : One or more steps is performed repeatedly.  Any algorithm can be constructed using basic methods of control.   

Posted Date: 10/23/2012 3:32:15 AM | Location : United States







Related Discussions:- Algorithm - programming language, Assignment Help, Ask Question on Algorithm - programming language, Get Answer, Expert's Help, Algorithm - programming language Discussions

Write discussion on Algorithm - programming language
Your posts are moderated
Related Questions
Our instructor gave us a project in making a mechanical game or simple device using assembly language, can anyone give me a an example of a project description for our proposal?

whats the out put of int main(){ int n=310; funcone(n); functwo(&n); cout return 0; } void funcone(intn) n=240; } void func two(intn*) { n=120; }

ython variables do not comprise to be explicitly declared to already reserve memory space. The declaration occurs automatically when you allocate a value to a variable. The equal s

Collaboration: Collaboration is defined as an act or process of working together on a project or some intellectual activity. But what is the importance of collaboration? The w

how does one create a database in mysql

Definition of  Algorithm  An algorithm is a design or plan of obtaining a solution to a problem. The solution is presented by listing all steps in which they are carried out.


They are particular register instructions. They are used to load bytes or sequences of bytes onto a register. LODS (LODSB) (LODSW) LAHF LDS LEA LES LODS (LODSB) (LODSW) INSTRUCTION

Regardless of of the fact that a thread must execute in process, the process and its associated threads are different notion. Processes are used to group resources together and thr

Magnetic tapes and Magnetic Disk: Magnetic tapes are very commonly used for storing large quantum of data for which rapid access is not necessary; specially for archival data