COMPILER DESIGN

INTRODUCTION TO COMPILER DESIGN

OVERVIEW OF COMPILERS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
High-level languages need to be compiled into machine code before they can be used by a computer.
A
True
B
False
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -High-level language programs must also be translated to machine language before they can be executed. The translator programs that do this are called compilers (Figure 9-4). Compilers for a particular high-level language can be produced for various computers with different machine languages.

Detailed explanation-2: -A compiler is a computer program that translates a program written in a high-level language to the machine language of a computer. The compiler is used to translate source code into machine code or compiled code.

Detailed explanation-3: -source code: A program in a high-level language, before being compiled.

There is 1 question to complete.