Computer Science, asked by neelamdurgapal, 7 months ago

How does a compiler translate the user program into its equilent machine code
PLEASE TELL ME THE IF ANYONE KNOW
THE OPTION ARE :
1.Line by Line
2. Block wise
3 . In one go​

Answers

Answered by shikshavineet53
0

Explanation:

A compiler translates a program written in a high level language into Machine Language.

A Compiler is a computer program that translates code written in a high level language to a lower level language, object/machine code. The most common reason for translating source code is to create an executable program (converting from a high level language into machine language).

Programs written in the machine language of a given type of computer can be directly executed by the CPU of that type of computer. High-level language programs must be translated into machine language before they can be executed. ... A Java interpreter is used to run the compiled Java bytecode program.

Machine language is the only language a computer is capable of understanding. ... Computer programs are written in one or more programming languages, like C++, Java, or Visual Basic. A computer cannot directly understand the programming languages used to create computer programs, so the program code must be compiled.

COBOL was the first high level language developed for business. Each statement in a high level language is a micro instruction which is translated into several machine language instructions. A compiler is a translator program which translates a high level programming language into equivalent machine language programs.

I hope it will help you

mark me as brainliest

Similar questions