MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER ORGANIZATION

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Translates low level assembly language mnemonic into machine code
A
Assembler
B
Compiler
C
Interpreter
D
None of the above
Explanation: 

Detailed explanation-1: -In assembly language, we use predefined words called mnemonics. Binary code instructions in low-level language are replaced with mnemonics and operands in middle-level language. But the computer cannot understand mnemonics, so we use a translator called Assembler to translate mnemonics into machine language.

Detailed explanation-2: -The Assembler (a program) translates assembly code into machine code. Assembler language is just a more readable version of machine language (machine language in symbolic form instead of binary form). You write Assembly code; Assembler translates it into machine code; Control unit runs machine code.

Detailed explanation-3: -Explanation: The assembler program is used to convert mnemonic code to machine code. An assembler is a program that converts assembly language into machine code.

Detailed explanation-4: -In computer assembler (or assembly) language, a mnemonic is an abbreviation for an operation. It’s entered in the operation code field of each assembler program instruction. for example AND AC, 37 which means AND the AC register with 37 . so AND, SUB and MUL are mnemonic.

Detailed explanation-5: -An assembler is a type of computer program that translates assembly language into machine code. Assembly language is a low-level programming language that is specific to a particular type of computer. Machine code is the native language of a computer and is the only language that a computer can understand.

There is 1 question to complete.