MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPILER DESIGN

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
An assembler is a program which converts
A
Assembly language into source language
B
Source language into assembly language
C
Source language into target language
D
None of the above
Explanation: 

Detailed explanation-1: -Assembly language may also be called symbolic machine code. Assembly code is converted into executable machine code by a utility program referred to as an assembler. The conversion process is referred to as assembly, or assembling the source code.

Detailed explanation-2: -A program that converts a high-level language source file into a machine-language file is called a compiler.

Detailed explanation-3: -An assembler converts assembly language into machine language.

Detailed explanation-4: -The correct response is disassembler. A disassembler converts machine language into assembly. Compilers take source code and turn it into machine code. Interpreted code is developed each time a program is run.

Detailed explanation-5: -The Assembler is used to translate the program written in Assembly language into machine code.

There is 1 question to complete.