Home | Site Map |
 
Anoca.org  


Computer programming

(computerprogramming)





Computer programming (often simply programming) is the craft of implementing one or moreinterrelated abstract algorithms using a particular programming language to produce a concrete computer program . Programming has elements of art , science , mathematics , and engineering .

Contents

Programming languages

Main article: programming language

The program written in a particular programming language is then translated into the specific machine language executable by the target computer: programs written in any programming language canbe translated into machine language. In some languages, an interpretable p-code binary is generated, rather than machine language. It is also possible for the programmer to write directly in machine code, but this is hardly ever done anymore:instead, when complete low-level control of the target computer is required, programmers resort to assembly language , whose instructions are mnemonic one-to-onetransriptions of the corresponding machine language instructions.

Different programming languages support different styles of programming (called programming paradigms ), some of which are better suited for a particular task than others.They also require different levels of detail to be handled by the programmer when implementing algorithms, often resulting in acompromise between ease of use and performance.

Software development

Main article: software engineering

Software is a mass noun for computer programs and data. The accompanying documentation is also considered an essential part of the software, even thoughit doesn't involve any actual programming.

Creating software involves:

  1. Recognizing the need for a program to solve a problem.
  2. Planning the program and selecting the tools (including hardware platforms, languages, databases, browsers, development kits)to solve the problem.
  3. Writing the program in the programming language ofchoice.
  4. Translation: translating the human-readable source code into either machine-readable executable code, which is done by compilers , assemblers or other tools, such as interpreters , which directly execute source languages (such as SQL , and scripting languages ) at a higher level thanlibraries of machine code. In metaprogramming , programs are createdwhich can generate the source code for other programs.
  5. Testing the program to make sure it works; if not, return tostep 3 (see code and fix ).
  6. Documentation , deployment and delivery

These steps are collectively known as softwaredevelopment . The skills required to be an effective programmer include the ability to mentally translate the concepts of thefirst step into expressions in the target programming language(s).

A revision control system for source code is a valuable resourcefor a programmer. It facilitates the reversion of changes, and the comparison of different methods used in the code.

History

Hero of Alexandria in the first century invented automatedtheatres that used analogue programming to control the puppets, doors, lights, and sound effects.

Ada Lovelace , daughter of Anabella and Lord Byron (the poet), was the first recognised computer programmer. Anabella gave herlove of mathematics to Ada, who after meeting Charles Babbage , translated and expanded a description of his analytical engine . Even though Babbage never completed construction of any of his machines, thework that he and Ada did earned her the title of the world's first computer programmer, see Ada Byron's notes on theanalytical engine . The Ada programming language is named for her.

One early programmer known to have completed all the steps for unaided computation, including compiling and testing, is Wallace J. Eckert . This man's work predated the rise of computerlanguages, because he used the language of mathematics to solve astronomical problems . However, all theingredients were there: he operated a computing laboratory for Columbia University with equipment provided by IBM , complete with acustomer service division, and special purpose engineering consultants, in New York City, in the 1930s, using punch cards to hold the intermediate results of his calculations, and then formattingthe punch cards to control the printout of the answers, just as in the work for the census decades earlier. He even had debuggingtechniques such as color coding, cross-footing, verifying and duplicating. One difference between Eckert and today's programmersis that the example of his work influenced the Manhattan project .His work was recognized by astronomers from Yale University Observatory, Princeton University Observatory, U.S. Naval Observatory , Harvard College Observatory, Student's Observatory of the University of California , Ladd Observatory of Brown University and Sproul Observatory of Swarthmore College .

Alan Turing is often considered the father of computer science and, by proxy, of the craftof programming. He was responsible for helping design and program a computer to break the German ENIGMA code during World War II .

See also

External links


compute rprogramming, code, cmputer programming, languages, comptuer programming, program, copmuter programming, observatory, computer programmin, he, , programs, computre programming, university, computer programming, one, comupter programming, control, ocmputer programming, target, computer porgramming, science, computer proramming, particular, computerp rogramming, solve, computerprogramming, development, computer progamming, history, computer pogramming, considered, computr programming, tools, compute programming, readable, computer programmign, punch, computer progrmaming, cards, computer prgoramming, ph, computer programimng, world, computer programing, byron, computer programmig, babbage, cmoputer programming, completed, computer rpogramming, methods, compuetr programming, executable, compuer programming, implementing, computer rogramming, complete, computer progarmming, links, comuter programming, written, computer programmnig, article, computer programmng, division, coputer programming, purpose, computer prgramming, equipment, compter programming, provided, computer progrmming, consultants, computer prorgamming, york, omputer programming, census...


This article is completely or partly from Wikipedia - The Free Online Encyclopedia. Original Article. The text on this site is made available under the terms of the GNU Free Documentation Licence. We take no responsibility for the content, accuracy and use of this article.

Anoca.org Encyclopedia
0.01s