Editing Algorithm

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 6: Line 6:
  
 
===Implementation===
 
===Implementation===
''Implementation'' of an algorithm is the process by which it is translated from its abstract, newly designed form into machine language, which may be directly executed on a computer, and is, more or less, the proper name for what is often called simply ''programming'', although in actual fact a programmer cannot implement without also performing design. This tends to be the longest stage of the design-implementation-analysis process. The abstracted form of the algorithm must first be refined and carefully fleshed out; in particular, the programmer must decide which [[data structure]]s to use, and this often determines the efficiency of the resulting implementation. The algorithm must then be converted into a form that is readable by both humans and computers, the ''syntax'' of a ''programming language''; the algorithm in this form is generally referred to as ''code'', and writing code is colloquially referred to as ''coding''. Finally, some combination of a ''compiler'', ''assembler'', and ''linker'' convert this syntax into a final concrete form, the ''machine code'', which may be directly executed by a computer (often simply called a ''program''). The ''testing'' phase follows; the code will be modified until the resulting program appears correct, sometimes using a tool called a ''debugger'' to help identify errors. The programmer may discover that the algorithm is incorrect and must be redesigned, or that the implementation does not accurately represent the algorithm and the code must be modified.
+
''Implementation'' of an algorithm is the process by which it is translated from its abstract, newly designed form into machine language, which may be directly executed on a computer, and is, more or less, the proper name for what is often called simply ''programming'', although in actual fact a programmer cannot implement without also performing design. This tends to be the longest stage of the design-implementation-analysis process. The abstracted form of the algorithm must first be refined and carefully fleshed out; in particular, the programmer must decide which [[data structures]] to use, and this often determines the efficiency of the resulting implementation. The algorithm must then be converted into a form that is readable by both humans and computers, the ''syntax'' of a ''programming language''; the algorithm in this form is generally referred to as ''code'', and writing code is colloquially referred to as ''coding''. Finally, some combination of a ''compiler'', ''assembler'', and ''linker'' convert this syntax into a final concrete form, the ''machine code'', which may be directly executed by a computer (often simply called a ''program''). The ''testing'' phase follows; the code will be modified until the resulting program appears correct, sometimes using a tool called a ''debugger'' to help identify errors. The programmer may discover that the algorithm is incorrect and must be redesigned, or that the implementation does not accurately represent the algorithm and the code must be modified.
  
 
===Analysis===
 
===Analysis===

Please note that all contributions to PEGWiki are considered to be released under the Attribution 3.0 Unported (see PEGWiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)