COMPUTER PROGRAMMING FUNDAMENTALS
PROGRAMMING LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Machine Code
|
|
Assembly Language
|
|
Source Code
|
|
None of the above
|
Detailed explanation-1: -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: -Assembly language uses mnemonics to represent instructions. Writing in mnemonics is easier for programmers because they are usually brief representations of the commands. They are quicker to write than binary and it is easier to spot mistakes.
Detailed explanation-3: -Assembly language uses a mnemonic to represent, e.g., each low-level machine instruction or opcode, each directive, typically also each architectural register, flag, etc.
Detailed explanation-4: -Mnemonics are the names for the symbols used in assembly language. A phrase, symbol, or word used to define or identify a computing function is known as a mnemonic. Assembly language enables programmers to write code that corresponds to the machine instructions that a given processor may execute.
Detailed explanation-5: -13.1. 1 Assembly Language. Assembly language (or Assembler) is a compiled, low-level computer language. It is processor-dependent, since it basically translates the Assembler’s mnemonics directly into the commands a particular CPU understands, on a one-to-one basis.