Computer Program Article Index for
Computer
Articles about
Computer Program
Website Links For
Computer
 

Information About

Computer Program





TERMINOLOGY

Computer programs are commonly referred to as Applications by end-users, as these people are focused on the non-computer related functionality of the software (application programs) rather than System Software which is applied to the functioning of computers.

In general discussion among Computer Programmer s the context is invariably sufficient to distinguish which of the two possible meanings of the terms are intended.

Note: The British English spelling ''programme'' is, for the most part, no longer used to refer to ''computer programs'', as most internationally-used computing terms use the words (and spelling conventions) adopted in the U.S.


PROGRAM EXECUTION

A modern day computer program is loaded into memory (usually by the Operating System ), interpreted and then executed ("run") instruction by instruction until "program Termination ", either with success or through software or hardware error. Some primitive types of computers ran instructions encoded in various ways, an example would be Punch Card s.

Before a computer can execute any sort of program (including the operating system which is also a program) the Computer Hardware must be initialized. This is done by a piece of software stored on Programmable Memory chips installed by the manufacturer called the BIOS . The BIOS will attempt to initialize the Boot Sequence making the computer ready for miscellaneous program execution


PROGRAMS VS. DATA

The Source Code of a program is often treated as being different from the Data it operates on. In some cases this distinction is blurred with programs creating, or modifying data, which is subsequently executed as part of the same program (this is a common occurrence for programs written in Lisp ). Neural Network s are another example where this distiction between code and data is not clear cut.


PROGRAMMING

A program is likely to contain a variety of different Algorithm s.

Creating a computer program is the iterative process of writing new Source Code or modifying existing source code, followed by testing, analyzing and refining this code. A person who practices this skill is referred to as a computer Programmer or software developer. The sometimes lengthy process of computer programming is now referred to as "software development" or Software Engineering . The latter becoming more popular due to the increasing maturity of the discipline. (see Debate Over Who Is A Software Engineer )

Two other forms of modern day approaches are Team Programming where each member of the group has equal say in the development process except for one person who guides the group through discrepancies. These groups tend to be around 10 people to keep the group manageable. The second form is referred to as "peer programming" or Pair Programming .

See Process And Methodology for the different aspects of modern day computer programming.

TRIVIA

The world's shortest useful program is usually agreed upon to be the utility cont/rerun used on the old operating system CP/M . It was 2 bytes long (JMP 100), jumping to the start position of the program that had previously been run and so restarting the program, in memory, without loading it from the much slower disks of the 1980's.

According to the International Obfuscated C Code Contest , the world's smallest "program" consisted of a file containing zero Bytes , which when run output zero bytes to the screen (also making it the world's smallest Self-replicating program). This "program" was was qualified as such only due to a flaw in the language of the contest rules, which were soonafter modified to require the program to be greater than zero bytes.


SEE ALSO



EXTERNAL LINKS