Flux rss
Bookmark Bookmark & Share
Programmi informatici Programa informático Computerprogramm Programme informatique Programa informático

What is a computer program?

A computer program is a series of commands that are executed by the computer. However, the computer is only capable of processing binary, i.e. a series of 0s and 1s. Therefore we require a programming language to be able to write commands that the computer can execute, but in a legible manner, i.e. commands that are understood by humans.

These programs are then translated into machine code (in binary) by a compiler.

The method of writing a program is closely linked to the programming language chosen, there being many different types. Furthermore, the compiler should match the chosen language: each programming language has its own compiler (except interpreted languages).

Generally speaking, the program is a simple text file (written using a word processor or a text editor), this is called the source file).

The source file contains lines of program called source code. Once the source file has been completed it must be compiled. Compilation takes place in two stages:

  • The compiler transforms the source code into object code, and saves it in an object file, i.e. it translates the source file into machine code (some compilers also create a file in assembler), a language similar to machine code as it possesses basic functions but is legible by humans)
  • The compiler then makes a call to a link editor (or linker or binder) which enables it to embed all additional elements (functions or libraries)that are referenced in the program into the final file but which are not stored in the source file.
    Then an executable file is created which contains all items required for the program to run on its own (in Microsoft Windows or MS-DOS this file will have the extension .exe).


Last update on Thursday October 16, 2008 02:43:20 PM.This document entitled « Computer program » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the licence, as this note appears clearly.
Program structure How does a computer program work? A program's behaviour depends on the type of language used to write the program. Nonetheless, almost all programming languages are based upon the same principle: The program consists of a set of commands that the... en.kioskea.net/contents/langages/structure.php3
Programming languages Programming language A "programming language" is a language designed to describe a set of consecutive actions to be executed by a computer. A programming language is therefore a practical way for us (humans) to give instructions to a... en.kioskea.net/contents/langages/langages.php3
Running older programs under windows XP Running older programs under windows XP Configuration The DOSBox Configuration Many computer programs or games do not correctly work when clicking on the .exe file in XP. These programs use DOS calls which isn’t sometimes compatible... en.kioskea.net/faq/sujet-1954-running-older-programs-under-windows-xp
Choose the best AntivirusChoose the right Antivirus What is an Antivirus? How to know if your computer is infected? BitDefender Kaspersky ESET NOD32 AVG Anti-Virus What is an Antivirus? An antivirus is a computer program designed to search, disable and... en.kioskea.net/faq/sujet-193-choose-the-best-antivirus
Display Add/Remove ProgramsDisplay Add/Remove Programs Solution When trying to uninstall a program in the add/remove programs, below error message appears on your screen: An unexpected error occurred Object does not support this property or method... en.kioskea.net/faq/sujet-1672-display-add-remove-programs
The Add/Remove Programs icon is missing in Control PanelThe Add/Remove Programs icon is missing in Control Panel When trying to add a program on your computer system, you suddenly noticed that the specific icon is missing. This can be due to Appwiz.cpl missing or damaged. This applet... en.kioskea.net/faq/sujet-465-the-add-remove-programs-icon-is-missing-in-control-panel
Sharing file and internet between 2 computersHello, i've connected 2 com through LAN connection. also i have shared internet. it was working properly. Sometimes after i restart any one of the computers, they couldn't share anyfile each other. I tried ping . but 'request time out' seems. I really... en.kioskea.net/forum/affich-11601-sharing-file-and-internet-between-2-computers
Reset my computerHello, I have a compaq presario f500 running on windows vista home premium and i am looking to clear my whole computer and have it like when i first bought it, however i dont know how to do this!!! can anyone help me??? thanks en.kioskea.net/forum/affich-31051-reset-my-computer
Computer automatically shuts offHello, After working on computer, when i shut down the computer then my computer automatically switches on, i mean it gets on automatically & goes to desk top. pls advice how to fix it en.kioskea.net/forum/affich-25918-computer-automatically-shuts-off
Download Karaoke Anything!Karaoke Anything! is a computer software to rid of a song, the song can have fun singing your favorite song. This program works by putting a filter in the songs you want, eliminating the song to show your voice in an amusing way. Advantage It... en.kioskea.net/telecharger/telecharger-3688-karaoke-anything
Download ProgDVBThe broadcasting of program in numerical is more and more fashionable since the appearance of connection high - debit side. ProgDVB is a program intended to look at chains TV and to listen to stations radio on your computer.It supports DVB-S... en.kioskea.net/telecharger/telecharger-722-progdvb
Download Hide ProgramsAll software that you install on your PC adds elements to the start menu, in the option Add / Remove program list of the Configuration panel. By using the Configuration panel, anyone who has access to your computer can display all the programs... en.kioskea.net/telecharger/telecharger-2464-hide-programs
Avanquest Software Disney Learning Adventures In Typing With Timon And Pumbaa Ages 6+ (PC)Timon & Pumba A fun, comprehensive typing program that brings your keyboard to life. This title teaches finger placement, speed accuracy, home row technique, edit mistakes, letter rocognition and word processing. Learn all this and more as you... en.kioskea.net/guide/458935347-avanquest-software-disney-learning-adventures-in-typing-with-timon-and-pumbaa-ages-6-pc
'Sims' creator lets people play god in new computer gameComputer buff Will Wright created a multi-billion-dollar franchise with "The Sims" video games that let people play at real life affairs such as dating, working and raising children. Now from September, Wright will let people play god with his latest... en.kioskea.net/actualites/sims-creator-lets-people-play-god-in-new-computer-game-10300-actualite.php3
Introduction to object-oriented programmingA new programming concept Extract from "Understanding Active X and OLE" by David Chappel "In the last 35 years, designers of computer hardware have gone from designing machines the size of a hangar to thin notebooks based on minuscule... en.kioskea.net/contents/poo/poointro.php3
Computer-aided Software Engineering (CASE)Computer-aided Software Environment (CASE) Computer-aided Software Environment (or CASE) is a set of programming tools which use a common interface, and is used to design, develop and debug software.A CASE environment therefore comprises of tools... en.kioskea.net/contents/genie-logiciel/agl-atelier-genie-logiciel.php3
Laptop ComputerRelegated several years ago only to business use, laptop computers now have processing and storage capabilities close to that of desktop computers, and can easily be used for high-tech multimedia purposes (DVD drive, video games, 3D-image processing,... en.kioskea.net/contents/pc/ordinateur-portable.php3