COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Assembly is a ____
A
high level programming language
B
low level programming language
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -An assembly language is a type of low-level programming language that is intended to communicate directly with a computer’s hardware. Unlike machine language, which consists of binary and hexadecimal characters, assembly languages are designed to be readable by humans.

Detailed explanation-2: -Answer. Answer: It is low level language so the statement is false.

Detailed explanation-3: -Two types of low-level language are: machine code. assembly language.

Detailed explanation-4: -Low-level language is also known as Machine Language. The machine language contains only two symbols 1 & 0. All the instructions of machine language are written in the form of binary numbers 1’s & 0’s. A computer can directly understand the machine language.

Detailed explanation-5: -A low-level programming language is a programming language that provides little or no abstraction from a computer’s instruction set architecture-commands or functions in the language map that are structurally similar to processor’s instructions. Generally, this refers to either machine code or assembly language.

There is 1 question to complete.