
Compiler Design-Unit V MCQ
Authored by Subha s
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Peep-hole optimization is a form of
loop optimization
local optimization
constant folding
data flow analysis
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An optimizing compiler
is optimized to occupy less space
is optimized to take less time for execution
optimizes the code
all the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Substitution of values for names whose values are constant, is done in
local optimization
loop optimization
constant folding
none of these
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Local and loop optimization in turn provide motivation for
data flow analysis
constant folding
peep hole optimization
DFA and constant folding
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Some code optimizations are carried out on the intermediate code because
they enhance the portability of the compiler to other target processors
program analysis is more accurate on intermediate code than on machine code
the information from dataflow analysis cannot otherwise be used for optimization
the information from the front end cannot otherwise be used for optimization
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The optimization which avoids test at every iteration is
Loop unrolling
Loop jamming
Constant folding
None of the mentioned
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The graph that shows basic blocks and their successor relationship is called
DAG
Flow graph
Control graph
Hamilton graph
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
26 questions
AI Quiz 26/9
Quiz
•
University
25 questions
Understanding Input, Selection and Loops in Python
Quiz
•
7th Grade - University
25 questions
DevOps Quiz
Quiz
•
University
25 questions
untitled
Quiz
•
8th Grade - University
25 questions
Computer Science Quiz
Quiz
•
4th Grade - University
25 questions
model pembelajaran
Quiz
•
University
25 questions
QUIZ
Quiz
•
University
25 questions
IT Quiz | E-Zone
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade