1. Peep-hole optimization is a form of

Compiler Design-Unit V MCQ

Quiz
•
Computers
•
University
•
Hard
Subha s
Used 3+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Create a free account and access millions of resources
Similar Resources on Quizizz
25 questions
Introduction to Java

Quiz
•
University
25 questions
C PROGRAMMING

Quiz
•
University
25 questions
Types of Programming Languages - Quiz2

Quiz
•
University
25 questions
OCR H446 -term 1

Quiz
•
12th Grade - University
25 questions
PYTHON PROGRAMMING STRING Q6

Quiz
•
University
25 questions
CSS

Quiz
•
9th Grade - University
25 questions
Design And Analysis of Algorithms

Quiz
•
University
30 questions
C-Language Q1

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade