Computer program

A computer program is a list of instructions that tell a computer what to do. Everything a computer does is done by the instructions of a program. The first com…

Computer program

A computer program is a list of instructions that tell a computer what to do. Everything a computer does is done by the instructions of a program. The first computers were made with only one built-in program, but today's computers have memory, which can be used to store many different programs. John von Neumann, a mathematician born in Hungary, came up with this idea in the late 1940s.

Some common examples of computer programs include:

A computer program is usually stored as a file on the computer's hard drive. The file contains a list of instructions. When the user runs the program, the computer reads the file does what the instructions tell it to do. These instructions can be very simple, like "add these numbers together" or "save these letters". A computer program is written by a programmer, who combines many of these simple instructions to do complicated things, like talking to the computer's screen and telling it to show a video.

The main part of the computer, the processor, is built to understand instructions written in machine code, meaning very long patterns of ones and zeroes. This is hard for humans to understand, so computer programmers write in a programming language, such as BASIC, C, or Java. Once the program is written, the programmer uses a compiler to turn it into machine code so the computer can read it.

There are also bad programs, called malware, written by people who want to do bad things to a computer. Some are spyware, trying to steal information from the computer. Some try to damage the data stored on the hard drive. Some others send users to web sites that offer to sell them things. Some are computer viruses or ransomware.

Other websites

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.