Jump to content

Computer code

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Wbm1058 (talk | contribs) at 19:39, 27 October 2017 (added Category:Computing using HotCat). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Computer code or program code is the set of instructions forming a computer program which is executed by a computer.

Computers can only directly execute the machine code instructions which are part of their instruction set. Because these instructions are difficult for humans to read, and writing good programs in machine code or other low-level programming languages is a time-consuming task, most programmers write in the source code of a high-level programming language. This source code is translated into machine code by a compiler or interpreter so that the computer can execute it to perform its tasks.