Definition of algorithm , Basic Computer Science

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.
i) determine the correctness of the various steps.

ii) reduce the number of steps, if possible.

iii) increase the speed of solving the problem.

Suppose you want to calculate simple interest, if principal, time and rate of interest are given . The algorithm for solving this problem is given below.

Algorithm :
1. Read principal, time and rate of interest into three locations labelled as P,T,R.
2. Calculate S.I = PTR/100 (where S.I meens Simple interest)
3. Print S.I
4. Stop

Posted Date: 8/29/2012 4:02:46 AM | Location : United States







Related Discussions:- Definition of algorithm , Assignment Help, Ask Question on Definition of algorithm , Get Answer, Expert's Help, Definition of algorithm Discussions

Write discussion on Definition of algorithm
Your posts are moderated
Related Questions

Keyboards, microphones, and mice have generally been used as the standard input devices for most computer systems. The popularity of video and computer games has led to the introdu

Process of Data mining Data mining is an iterative process that typically involves the following phases: Problem definition A data mining project starts with the understanding o

1. Suppose that the meaning of the BUN instruction of the Basic Computer is changed to implement the relative addressing mode, i.e PC a) Write an optimal operation sequence to im

Application-Specific Multiprocessors Although this book details a variety of similar architectures, it specializes in the design of such architectures in the perspective of par

Question 1 Explain the following terms associated with Pattern Recognition Features Collection Question 2 Explain the working of character recognition with a suit


board coloring

URL services has two divisions. Basic webpages and custom webpages. Ricky Vega, Custom's manager wants to find out why Custom is not profitable. He has prepared the following repor

Input a list of positive numbers, terminated by 0, into an array numbers []. Then display the array and the largest and smallest number in it.