MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPILER DESIGN

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Assembly language has mnemonics .
A
True
B
False
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -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. Some of the mnemonics may be built in and some user defined. Many operations require one or more operands in order to form a complete instruction.

Detailed explanation-2: -Assembly language is one level above machine language. It uses short mnemonic codes for instructions and allows the programmer to introduce names for blocks of memory that hold data. One might thus write “add pay, total” instead of “0110101100101000” for an instruction that adds two numbers.

Detailed explanation-3: -Which of the following is true about Assembly language? a)It is an Object Oriented Programming Languageb)It is a High-level programming languagec)It is a low-level programming languaged)It is a language for assembling computerse)It is latest flash memory languageCorrect answer is option ‘C’.

Detailed explanation-4: -Assembly language uses mnemonics to represent instructions. Writing in mnemonics is easier for programmers because they are usually brief representations of the commands.

Detailed explanation-5: -2) 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, on an Intel microprocessor, inc ("increase by one") is a mnemonic.

There is 1 question to complete.