COMPILER DESIGN

INTRODUCTION TO COMPILER DESIGN

COMPILATION PROCESS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Creates an executable file
A
Interpreter
B
Compiler
C
Assembler
D
None of the above
Explanation: 

Detailed explanation-1: -Compiling creates a(n) Executable Program. Another specialized program, called a linker, combines this object file with other previously compiled object files (in particular run-time modules) to create an executable file. Open compiler write a new C program, compile it using f9 and then run it. More items

Detailed explanation-2: -A compiler is an executable program that takes program source code (text) as input and translates it into an executable program (binary machine code) that it writes into a file as output. That executable program can then be run to process input data and generate output according to whatever we wrote our program to do.

Detailed explanation-3: -3.1. Assemblers generate executable code from assembly language programs. The generated code is usually loaded into the flash program memory of the target microcontroller. Similarly, compilers generate executable code from high-level language programs.

Detailed explanation-4: -1) Create a new text file with a .sh extension. I created a new file called deploy.sh for my website. 2) Add #!/bin/bash to the top of it. 3) Add lines that you’d normally type at the command line. 4) At the command line, run chmod u+x YourScriptFileName.sh. 5) Run it whenever you need!

There is 1 question to complete.