What are the characteristics of a good algorithm, Programming Languages

Assignment Help:
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.

Related Discussions:- What are the characteristics of a good algorithm

Discuss about wap architecture, Question 1 How to call a WML Script from a...

Question 1 How to call a WML Script from a WML Page? Question 2 Write short notes on WML Script Operators and Expressions Question 3 Write short notes on WML Script Statements

Introduction to javascript, This is the programming language of the Web. It...

This is the programming language of the Web. It is mainly used for validating forms. JavaScript & Java can be associated to each other. There exist several other differences betwee

econometrics using r, EF308 Assignment 2 Due: 3pm, 26 April 2012 Introduct...

EF308 Assignment 2 Due: 3pm, 26 April 2012 Introduction This assignment is loosely based on Cheung et al. (2005) and Molodtsova and Papell (2009) and examines the out-of- sample pr

No Linux Audible, Why no Audible support for Linux? Maybe they should use a...

Why no Audible support for Linux? Maybe they should use a browser interface?

Vbs, Add macros to MS word 2010 according to A PARTICULAR FORMAT

Add macros to MS word 2010 according to A PARTICULAR FORMAT

Count the total number of records in data table, Normal 0 false...

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

Get horizontal motion field from block matching algorithm, how to get horiz...

how to get horizontal motion vectors field with quiver ?

What are attributes in html langauge, What are Attributes in HTML langauge?...

What are Attributes in HTML langauge? A few tags have attributes. An attribute is a name, followed through an = sign, followed by the value. For instance, to make a centered H1

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd