Leaf nodes in a parse tree indicate?

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
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 Quizizz
15 questions
Common errors in C programming

Quiz
•
University
8 questions
4.5 Translators

Quiz
•
6th Grade - University
10 questions
COMPILER DESIGN QUIZ

Quiz
•
University
13 questions
Practice Quiz 1 - CS110

Quiz
•
University
15 questions
Quiz 1 "Compiler Construction"

Quiz
•
University
10 questions
Interpreter Quiz

Quiz
•
University
15 questions
Lec1

Quiz
•
University
10 questions
Array in C

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade