Béda révisi "Algoritma"

20 bita ditambahkeun ,  12 tahun yang lalu
bot Nambih: ml:അല്‍ഗൊരിതം; kosmetik perubahan
m (bot Nambih: ml:അല്‍ഗൊരിതം; kosmetik perubahan)
[[imageGambar:flowchart.png|frame|right|[[Flowchart|Diagram alir]] mindeng dipaké pikeun ngagambarkeun algoritma.]]
'''Algoritma''' nyaéta susunan paréntah, nu jumlahna kawates, pikeun ngolah sababaraha paréntah nu, sakumpulan data asupanana, bakal ngahasilkeun sarupaning bentuk ahir nu bisa dipikawanoh; sabalikna ti [[heuristik]]. Konsép algoritma mindeng digambarkeun ku conto hiji [[resép]], sanajan loba algoritma kacida ruwetna; algoritma sering miboga léngkah-léngkah anu malikan ([[iterasi]]) atawa merlukeun kaputusan (saperti [[logika Boolean|logika]] atawa [[kahenteusaruaan|perbandingan]]) nepi ka tugas diréngsékeunnana.
== Algoritma nu dirumuskeun ==
Algorithms are essential to the way [[computer]]s process information, because a [[computer program]] is essentially an algorithm that tells the computer what specific steps to perform (in what specific order) in order to carry out a
specified task, such as calculating employees’employees’ paychecks or printing students’students’ report cards. Thus, an algorithm can be considered to be any sequence of operations which can be performed by a [[Turing-complete]] system.
Typically, when an algorithm is associated with processing information, data is read from an input source or device, written to an output sink or device, and/or stored for further use. Stored data is regarded as part of the [[internal state]] of the entity performing the algorithm.
Notes on notation:
*<i>''=</i>'' as used here indicates assignment. That is, the value on the right-hand side of the expression is assigned to the container (or variable) on the left-hand side of the expression.
*<i>''List[counter]</i>'' as used here indicates the counter<sup>th</sup> element of the list. For example: if the value of <i>''counter</i>'' is 5, then <i>''List[counter]</i>'' refers to the 5<sup>th</sup> element of the list.
*<i>''<=</i>'' as used here indicates 'less than or equal to'
Note also the algorithm assumes that the list contains at least one number. It will fail when presented an empty list.
== Sajarah ==
[[ImageGambar:Abu Abdullah Muhammad bin Musa al-Khwarizmi.jpg|thumb|A tribute to the originator and namesake of algorithms]]
Kecap ''algoritma'' comes ultimately from the name of the [[9th century|9<sup>th</sup>-century]] mathematician [[al-Khwarizmi|Abu Abdullah Muhammad bin Musa al-Khwarizmi]]. The word ''[[algorism]]'' originally referred only to the rules of performing [[arithmetic]] using [[Arabic numerals]] but evolved into ''algorithm'' by the [[18th century]]. The word has now evolved to include all definite procedures for solving problems or performing tasks.
A [[list of algorithms]] discussed in Wikipedia is available.
== Tempo ogé ==
*[[Bulletproof algorithm]]s
*[[Computability logic]]
== Sumber séjén ==
* [[Donald E Knuth]]: ''[[The Art of Computer Programming]]'', Vol 1&ndash;31–3, Addison Wesley 1998. Widely held as a definitive reference. ISBN 02014854190-201-48541-9.
* [[List of important publications in computer science#Algorithms|Important algorithm-related publications]]
== Tumbu kaluar ==
* Gaston H. Gonnet and Ricardo Baeza-Yates: Example programs from [http://www.dcc.uchile.cl/~rbaeza/handbook/ ''Handbook of Algorithms and Data Structures.''] Free source code for lots of important algorithms.
* [http://www.nist.gov/dads/ Dictionary of Algorithms and Data Structures]. "This is a dictionary of algorithms, algorithmic techniques, data structures, archetypical problems, and related definitions."
* [http://www.nr.com Numerical Recipes]
{{Link FA|sr}}
[[CategoryKategori:Élmu komputer]]
{{Link FA|sr}}