Editing Algorithm
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 | + | ''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=== |