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 a Prolog predicate flatten(List, FlattenedList)  that asserts List  is any nested list of atoms and  FlattenedList  is the same list with the nesting removed. The atom [] sh

Write a function named prob2.m which creates and returns an N×N identity matrix. An identity matrix is a square matrix with values of one on the main diagonal and zeros in all off-

I need to do image reconstruction using Neural Network using Matlab

Problem 6. Demonstrate how and when can you use the commands- vi, cat, chmod, grep, man, pwd, ps, kill, mkdir, rm demonstrating how and when the above 10 commands can be

Write a program to show ten buttons with five possible colors: red, green, orange, yellow, blue. When the user clicks on a button, its color must advance to the next color, or go b

You are to build a Schema in XML Schema Language that will be used to support the development of the new central course information management system and other supporting applicati

Write a java program for inserting a particular node.

We want a program, a logic, we can list the intermediate films sandwiched between the 2 tapes (from - to) that indicates the user. example: From to

(a)  Create procedures for accessing the root, left subtree and right subtree, and also mutators for changing the root, left subtree and right subtree of an avl argument. (b) Wr

Hi I have an assignment for prolog languagle is it possible to get help