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
Use list recursion to de ne the function mySum which takes as input an integer and a list of integers and returns the list obtained by adding every element of the list by the rst

I need help with making a assembly program that uses Hoffman''s coding scheme to compress a text file.

Companies divide their subtasks of game's development. For large complex games, the development team can vary in size from 20 to 100 or more members. The most represented are artis

The first task is to extend the  NeoPhoneBookEntry and  NeoPhoneBook classes to accommodate for  four additional contact  details:  Ringtone,  Vibration Pattern,  Led Pattern  and

how to get the HORIZONTAL motion field from motion vectors matrices

One of the main strengths of the Perl programming language are its powerful text manipulation features. In this assignment, you will put them to use for writing a Perl program that

Improved Application Deployment Data source implementation is perhaps the key to any Asp.net program implementation, and, if the database implementation is easily done, there is an

Write a pseudocode for a program that reads a temperature as a whole number from a user and outputs a “probable” season (winter, sprint, summer, or fall) depending on the temperatu

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

Identifying the Central Individual in a Social Network 1. Introduction You have just been hired by a social networking company! The division you are working in is particul