
Compiler Design Viva 2

Quiz
•
Computers
•
University
•
Hard
Revathi K
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Leaf nodes in a parse tree indicate?
sub-terminals
half-terminals
non-terminals
terminals
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which language is accepted by the push-down automata?
a.Type 0 language
b.Type 1 language
c.Type 2 language
d.b.Type 3 language
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In the compiler, the function of using intermediate code is:
a.to improve the register allocation
b.to increase the error reporting & recovery.
c.to make semantic analysis easier.
d.to increase the chances of re-using the machine-independent code optimizer in other compilers.
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is not a characteristic of the compiler?
a.More execution time
b.Debugging process is slow
c.The execution takes place after the removal of all syntax errors
d.Firstly scans the entire program and then transforms it into machine-understandable code
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which phenomenon happens when the non-terminal on the left side is repeated as the first symbol on the right side?
a.Left-most derivation
b.Left recursion
c.Left factoring
d.Left parsing
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The compiler can detect what type of errors?
a.neither logical nor grammatical error
b.logical errors only
c.grammatical errors only
d.both grammatical and logical errors
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which parser is known as the shift-reduce parser?
a.Bottom-up parser
b.Top-down parser
c.Both Top-down and bottom-up
d.None of the Above
Create a free account and access millions of resources
Similar Resources on Wayground
7 questions
Unit-I-Python-2024 bat -Syntax,semantics and program translation

Quiz
•
University
10 questions
Node.js

Quiz
•
University
12 questions
Quiz Pemrograman Dasar 01

Quiz
•
University
15 questions
HCI - Quiz 2

Quiz
•
University
13 questions
Syntax, Logic and Runtime errors 2024

Quiz
•
10th Grade - University
15 questions
Stored Procedure, Function & Packages

Quiz
•
University
10 questions
Understanding Pseudocode Basics

Quiz
•
6th Grade - University
10 questions
P1_APLab2Quiz_B3B4

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade