MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPILER DESIGN

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
High and low-level programming languages can be understood by a computer.
A
False
B
True
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -A computer cannot understand any instruction given to it by the user in English or any other high level language. These low level languages are very easily understandable by the machine. The main function of low level languages is to interact with the hardware of the computer.

Detailed explanation-2: -Complied vs Interpreted Languages While low level assembly languages are understood by converting the language to machine code using an assembler, most high level languages are understood by using either a complier or interpreter.

Detailed explanation-3: -A high-level language cannot be understood directly by a computer, and it needs to be translated into machine code. There are two ways to do this, and they are related to how the program is executed: a high-level language can be compiled or interpreted.

Detailed explanation-4: -The main difference between high level language and low level language is that, Programmers can easily understand or interpret or compile the high level language in comparison of machine. On the other hand, Machine can easily understand the low level language in comparison of human beings.

Detailed explanation-5: -Both Machine language and Assembly language are low-level languages.

There is 1 question to complete.