Consider the grammar E -> E + id | E × id | id. For a sentence id +id × id the handles in the right sentential form of the reduction are

COMPILER DESIGN LAB QUIZ

Quiz
•
Computers
•
University
•
Hard
J Badajena
Used 1+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Id, E + id and E + E × id
Id, E + id and E + id × id
Id, E + id and E × id
id, id + id and id + id × id
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Let SLR parser for a grammar G has n1 states and the LALR parser for G has n2 states. The relationship between n1 and n2 is:
n1 is necessarily less than n2
n1 is necessarily equal to n2
n1 is necessarily greater than n2
None of the given options
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Among simple LR (SLR), canonical LR, and look-ahead LR (LALR), which of the following pairs identify the method that is very easy to implement and the method that is the most powerful, in that order?
SLR, LALR
SLR, Canonical LR
LALR, Canonical LR
None of the given options
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is permanent database in the general model of a compiler?
Terminal table
Identifier table
Literal table
Reduction Table
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which variable does not drive a terminal string in grammar?S→AB ,A→a,B→b,B → C
A
B
C
S
Similar Resources on Quizizz
8 questions
CD Quiz Batch B2 1a and 1 b programs

Quiz
•
University
10 questions
DBMS Quiz1

Quiz
•
University - Professi...
9 questions
Arduino Interface

Quiz
•
University
7 questions
CSS Rules Quiz-unit 4 CodeHS

Quiz
•
7th Grade - University
10 questions
COMPILER DESIGN QUIZ 28.3.2023

Quiz
•
University
10 questions
VIT Compiler Design -Semantic analysis

Quiz
•
University
10 questions
Compiler Design Quiz I June 18

Quiz
•
University
6 questions
CD C1 batch Viva

Quiz
•
University
Popular Resources on Quizizz
20 questions
math review

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

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
19 questions
Math Review

Quiz
•
3rd Grade
45 questions
7th Grade Math EOG Review

Quiz
•
7th Grade
Discover more resources for Computers
20 questions
Summer

Quiz
•
KG - University
6 questions
Railroad Operations and Classifications Quiz

Quiz
•
University
47 questions
2nd Semester 2025 Map Final

Quiz
•
KG - University
43 questions
Science 5th Grade EOG Review #3

Quiz
•
KG - University
24 questions
Cartoon Characters

Quiz
•
KG - University
9 questions
What is your personality?

Quiz
•
University
10 questions
El Presente

Quiz
•
1st Grade - University
32 questions
NC Biology EOC Review : Heredity, Genetics, Biotechnology

Quiz
•
KG - University