FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

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

Detailed explanation-1: -Assembler: The assembler is a program that translates the mnemonics/ assembly language into machine language (0’s and 1’s) and stores it into the memory. Compiler: The compiler reads the whole program written in High-level language, first and translates into the object code that is executed by the microprocessor.

Detailed explanation-2: -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-3: -An assembler converts assembly language into machine language.

Detailed explanation-4: -An assembler converts assembly language code into machine code (also known as object code), an even lower-level language that the processor can directly understand.

Detailed explanation-5: -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.

There is 1 question to complete.