June 12, 2021

The Compilation Process MCQ’s

Read Time:1 Minute, 1 Second

This set of Embedded System Multiple Choice Questions & Answers (MCQs) focuses on “The Compilation Process”.

1. Which of the following allows the programmer to define constants?
a) pre-processor
b) compiler
c) emulator
d) debugger

2. What is the first stage of the compilation process?
a) pre-processing
b) post-processing
c) compilation
d) linking

3. Which file is converted to an object file?
a) hex file
b) decoded file
c) coded file
d) assembly file

4. Which of the following has the include file?
a) emulator
b) debugger
c) pre-processor
d) simulator

5. Which of the following contains the hexadecimal coding?
a) object file
b) assembly file
c) coded file
d) decoded file

6. Which of the following produces an assembler file in the compilation process?
a) pre-processor
b) assembler
c) compiler
d) post-processing

7. Which of the following processes the source code before it goes to the compiler?
a) compiler
b) simulator
c) pre-processor
d) emulator

8. Which of the following function can interpret data in the C language?
a) printf
b) scanf
c) proc
d) file
View Answer

9. Which statement replaces all occurrences of the identifier with string?
a) # define identifier string
b) # include
c) # define MACRO()
d) # ifdef

10. Which statement is used to condense the code to improve the eligibility?
a) # define MACRO()
b) # include
c) if
d) else-if

Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

Leave a Reply

Your email address will not be published. Required fields are marked *

Previous post Compilers MCQ’s
Next post The Compilation Process-II MCQ’s