______ translates a low-level language program into Machine code.
Assembler
Computer programs are written in various programming languages. For a computer's processor to understand and execute these programs, they must be translated into machine code, which is the native language of the processor, consisting of binary instructions (0s and 1s).
Programming languages are broadly categorized into low-level languages and high-level languages.
Since computers only understand machine code, programs written in any other language must be translated. This translation is done by special programs called language translators or processors.
Let's look at the provided options:
Based on the definitions, the program that translates a low-level language, specifically assembly language, into machine code is an assembler.
| Translator Type | Input Language | Output Language | Translation Process |
|---|---|---|---|
| Compiler | High-Level Language | Machine Code (or Intermediate) | Translates the entire program before execution. |
| Interpreter | High-Level Language | Executes instructions directly | Translates and executes line by line. |
| Assembler | Assembly Language (Low-Level) | Machine Code | Translates assembly code into machine instructions. |
Therefore, the correct answer is the one that identifies the assembler as the translator for low-level language programs (assembly language) into machine code.
| Term | Function | Input Language Example | Output Language Example |
|---|---|---|---|
| Assembler | Translates assembly language into machine code. | MOV AX, 01h | 1011100000000001 |
| Compiler | Translates high-level language into machine code or intermediate code. | print("Hello") | Machine code executable |
| Interpreter | Translates and executes high-level language code line by line. | print("Hello") | Direct execution result |
Understanding the difference between low-level and high-level languages helps clarify the role of different translators:
The question specifically asks about translating a low-level language into Machine code. While Machine code is the most fundamental low-level language, the term "low-level language program" often refers to programs written in Assembly language, which is translated by an Assembler.
Arrange the following programming languages in an ascending form according to their year of development
(A) Cobol
(B) C
(C) Java
(D) FORTRAN
Choose the correct answer from the options given below:
POST is performed by ______
Arrange the following search engines according to their year of launching in an ascending order.
A. Yahoo
B. Google
C. Bing
D. Hotbot
E. Scirus
Choose the correct answer from the options given below:
Arrange the file formats based on the storage space required in ascending form.
A. Text
B. Video
C. Multimedia
D. Image
E. Audio
Choose the correct answer from the options given below:
Match List I with List II
LIST I | LIST II | ||
Programming Language | Inventor | ||
A. | Java | I. | James A. Gosling |
B. | C | II. | Guido van Rossum |
C. | Lisp | III. | Dennis Ritchie |
D. | Python | IV. | John McCarthy |
Choose the correct answer from the options given below: