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
10 questions
Array in C

Quiz
•
University
10 questions
P1_APLab2Quiz_B3B4

Quiz
•
University
7 questions
Unit-I-Python-2024 bat -Syntax,semantics and program translation

Quiz
•
University
8 questions
4.5 Translators

Quiz
•
6th Grade - University
10 questions
Node.js

Quiz
•
University
10 questions
COMPILER DESIGN QUIZ

Quiz
•
University
13 questions
Practice Quiz 1 - CS110

Quiz
•
University
15 questions
Lec1

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