
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
10 questions
STM 20483 QUIZ 1

Quiz
•
University
12 questions
oop_r3

Quiz
•
University
10 questions
Introduction To Programming

Quiz
•
University
10 questions
Lesson 2 - Passing Data to Subsystems

Quiz
•
University
12 questions
Java History Characteristics Environment

Quiz
•
University
12 questions
CISC or RISC processor

Quiz
•
7th Grade - University
15 questions
Mobile Application Development Quiz1

Quiz
•
University
9 questions
IPC144 -- Midterm Review

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University