I. Compiler
A compiler is a special program that converts a program written in a specific programming language into a machine code that a machine can run. When we write a program, the environment we use is a text editor. At this time, we call the program a source program. After that, the programmer can run the corresponding compiler, by specifying the name of the file to be compiled, you can convert the corresponding source file (through a complex process) to machine code.
Ii. machine code
Machine language is a system of instruction sets. This instruction set, known as machine code, can be directly interpreted by the computer's CPU.
Iii. Target Program
The target program is also called the "Target Program ". A program that is equivalent to a program that consists of machine codes. A program that can be directly run by a computer is called a target program.
4. What is the CLR in. NET?
It is ASP.. NET public Language Runtime Library, that is. the aspx page is compiled into a dll file through CLR, because the aspx page can use C #/VB.. NET/J.
5. What is the difference between execution and compilation?
Computers cannot directly accept and execute source programs written in advanced languages. When a source program is input into a computer, the program is translated into a target program in the form of machine language, only computers can recognize and execute. This kind of "Translation" usually has two ways: the compilation method and the interpretation method. The compilation method refers to the use of a previously compiled machine language program called the Compilation Program, which is stored in the computer as system software. After the user inputs the source program compiled in the advanced language into the computer, compile the program to translate the source program into a machine language equivalent to the target program, and then the computer executes the target program to complete the operations to be processed by the source program and obtain the results. After the source program enters the computer, the interpreter scans and interprets the program, and translates the program into sentences one by one. The Interpreter executes the program without generating the target program.