Friday, September 23, 2016

a computer program is a set of instructions that become run by the computer. This is usually compiled code that is executed. A computer program can be made in any of a set of different languages like C++, Java, etc. The three main parts in a computer program are source code, compilation, and execution. Writing the source code is designing the computer program from the language itself. Then comes the part that converts the source code into something that the computer can work with. This is compiling. The code is put through a preprocessor that checks for syntax errors and then through tthe compiler itself. The compiler puts the source code into machine code, so the CPU can actually calculate the code. Then, execution comes. The execution is when the code is calculated out and the program runs. This is when you click the icon or that .exe, .run, etc.

No comments:

Post a Comment