Question 1: What is the function of the interpreter? A computer program or software program (often referred to as a program) refers to a set of instructions that instructs each step of the computer's actions. It is usually written in a certain programming language and runs on a certain target architecture. For example, a program is like a braised pork recipe (program) written in Chinese (programming language), which is used to guide people who understand Chinese (architecture) to make this dish. Typically, computer programs are compiled and linked into a format that is not easily understood by humans but is understandable by computers, and then run. Programs that can be run without compilation are often called scripts.
Question 2: What are translation programs, compilers, and interpreters? A translation program refers to a program that converts a program written in a certain language into a program in another language, such as a compiler and an assembler. wait.
A compiler is a translation program that converts (processes) a source program written in a high-level language into another equivalent target program written in a low-level language.
An interpreter is a program that interprets and executes high-level language source programs.
Question 3: What does program mean? A program is a sequence of commands written in a computer language to achieve a specific goal or solve a special problem. A series of statements and instructions that perform operations to achieve an intended purpose. Generally divided into two categories: system programs and application programs. Programs in computers are called programs in Hong Kong, Macao and Taiwan. A program is a sequence of computer instructions designed to make an electronic computer perform one or more operations, or perform a certain task.
Question 4: What does it mean to explain a program in a computer! Waiting for answers online! ! ! baike.baidu/view/47200
Question 5: What are the compiler and interpreter programs? The compiler is compiled as a whole and then executed at once. The interpreter interprets and executes at the same time.
Question 6: What do compiler and interpreter mean? What is a compiler and what is an interpreter? Compilation and interpretation are two methods of converting from source program to executable program. Compilation means that after the source program is completed, the intermediate code is first converted and then converted into binary code. After completion, the binary code is directly executed every time it is executed. One conversion is complete.
The execution of the interpreter is different. When it is executed, it reads one source code at a time, then analyzes and converts it into binary code, executes this statement, and then reads another source code, and then converts it. Execute again. It is executed while converting. A compiler and interpreter is a piece of software that completes compilation and interpretation.
Question 7: What is the difference between a compiler and an interpreter? The compiler is compiled as a whole and then executed at once.
The interpreter interprets and executes at the same time. After explaining a sentence and then submitting it to the computer for execution, it does not form a target program. Just like "interpretation" in foreign language translation, translating one sentence into another does not produce a full-text translated text.
Question 8: What are source programs and target programs? The code you enter on the keyboard (usually in text format) is the source program. The machine-translated code that can be recognized by the machine but cannot be recognized by humans is the target program.
Question 9: How does the explanation program work? C
Refer to JAVA program
Question 10: Multiple choice question, what is the function of the explanation program? Select A
The so-called interpreter is a type of high-level language translation program. It takes a source program written in a source language (such as BASIC) as input. After interpreting a sentence, it submits it to the computer for execution. It does not form a target program. .
Just like "interpretation" in foreign language translation, translating one sentence into another does not produce a full-text translated text. This way of working is very suitable for people to talk to computers through terminal devices. For example, if you type a command or statement on the terminal, the interpreter will immediately interpret the statement into one or several instructions and prompt the hardware to execute it immediately and reflect the execution results. Go to the terminal and enter the command from the terminal to get the calculation results immediately. This is indeed very convenient and is very suitable for some minicomputer computing problems. However, the execution speed of the interpreter is very slow. For example, if a loop occurs in the source program, the interpreter will repeatedly interpret and submit this set of statements for execution, which causes a lot of waste.