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
Basic computer structure: A computer is an electronic device, which can accept and process data by carrying out a set of stored instructions in sequence. This sequence of math

The 7489 TTL Ram Device: The 7489 TTL Ram package has 64 memory cells, each cell is capable of holding a single bit of data.  The cells are organised into locations, and each l

Below you will find a question the areas of automata. Solve the problem showing all steps. Thoroughly explain how and why you performed each step with complete sentences. A finite

Description A semaphore is a confined variable whose value can be accessed and changed only by the operations P and V and initialization operation known as ''Semaphoiinitislize''.

write advantages and disadvantages of private and public network

Mike sells on the average 15 newspapers per week (Monday – Friday). Find the probability that 2.1 In a given week he will sell all the newspapers

Hill Climbing - artificial intelligence: As we've seen, in some particular problems, searching the search path from primly to goal state is the point of the exercise. In anothe

Classify computer systems according to capacity. How they are different from computers according to the classification of technology. Provide comparative study also.

2. Mike sells on the average 15 newspapers per week (Monday – Friday). Find the probability that 2.1 In a given week he will sell all the newspapers [7] 2.2 In a given day he w

whats the adaptation