Science  People  Locations  Timeline
Index: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Home > Computer program


 Contents
A computer program (often simply called a program) is an example of computer software that prescribes the actions (" computations") that are to be carried out by a computer. Most programs consist of a loadable set of instructions which determines how the computer will react to user input when that program is running, i.e. when the instructions are 'loaded'.

An alternative, British English spelling is programme, but this is uncommon, even in the United Kingdom. Colloquially, the term program is often used interchangeably with software and software application.

1 Running a program

To run a program, the computer is initialized to a starting state by loading the program and perhaps the data and then some mechanism to begin is invoked. At the lowest level this is begun with a boot sequence.

In most computers, an operating system, such as Windows, loads and executes programs. In this context, a computer program refers to the individual executable image rather than all the programming currently running on the computer.

2 The Von Neumann architecture

In a computer with the most common Von Neumann architecture or Harvard architecture the program is loaded from a peripheral device of some kind, often a hard drive. In a machine following the Von Neumann architecture, the program is loaded into main memory. The instruction sequence are then executed in order until a jump or branch instruction is executed or an interrupt occurs. These instructions change the program counter.

A computer program consists of a set of instructions that the computer understands. A computer of this architecture without a program does absolutely nothing.

The instructions in a computer program are in machine code; they are usually originally written in a computer programming languageAn alternate rewrite has been has been. Please refer to it for large rewrites. A programming language or computer language is a standardized communication technique for expressing instructions to a computer. It is a set of syntactic and semantic rules use, and translated to machine code using a computer program called a compilerA compiler is a computer program that translates a computer program written in one computer language (called the source language into an equivalent program written in another computer language (called the output or the target language . Introduction and h or an interpreterAn interpreter is a computer program that executes other programs. This is in contrast to a compiler which does not execute its input program (the source code) but translates it into executable machine code (also called object code) which is output to a f. Sometimes the programming language is simply a set of abbreviations for the machine code instructions, called assembly languageAssembly language or simply assembly is a human-readable notation for the machine language that a specific computer architecture uses. Machine language, a pattern of bits encoding machine operations, is made readable by replacing the raw values with symbo – in this case, a program called an assemblerThis article is about a computing term. See Assembler (disambiguation) for other meanings''. An assembler is a computer program for translating assembly language — essentially, a mnemonic representation of machine language — into object code. A cross asse is used to make the translation.



Read more »

Non User