What are the characteristics of a good algorithm, Programming Languages

What is an algorithm? What are the characteristics of a good algorithm?


An algorithm is defined as “a step-by-step procedure of accomplishing some task'''' An algorithm may be shown many ways. For i.e., it may be written down in English or French, or any other ''''natural'''' language. Thus, we are interested in algorithms that have been precisely specified using an appropriate math formalism--like as a programming language.
Each algorithm should have five characteristics:
A. Input: The algorithm must take zero or more input.
B. Output: The algorithm may produce one or more outputs.
C. Definiteness: Each step of algorithm must be defined unambiguously.
D. Effectiveness: A human should be able to calculate the exact values involved in the procedure of the algorithm using paper & pencil.
E. Termination: An algorithm may terminate after a finite number of steps.
Posted Date: 7/7/2012 5:53:11 AM | Location : United States







Related Discussions:- What are the characteristics of a good algorithm, Assignment Help, Ask Question on What are the characteristics of a good algorithm, Get Answer, Expert's Help, What are the characteristics of a good algorithm Discussions

Write discussion on What are the characteristics of a good algorithm
Your posts are moderated
Related Questions
Define the The if statement - Computer Programming? The if statement is an influential selection statement and is used to control the flow of execution of statements. One of th

Difference between java and j2ee programming In the basic form, the phrase java is placed as a selection terminology. On the other hand, the phrase J2EE is placed as a renderin

Write a function called threshold1 (in a file called 'threshold1.m'. The function takes three arguments. The first two are arbitrarily sized arrays, A and B, and the third is a pos

about how to create the program in c

Is it possible to get an assignment done within 2 hours

Question 1 What is CISC & RISC? Explain their addressing modes Question 2 Discuss the following- Design Specification of Assembler Design of Single Pass Assembler

You must programme an analogue clock and digital stopwatch using the Processing programming language

Area Under Curve Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve be

i have a database having field name title and comm. I want to search by name and get the all data remaining title and comm(comm is integer)

Question 1 Discuss on UNIX kernel components 2 Explain process creation and process termination 3 When do a Deadlock occur? What are the Necessary Conditions for Deadlock