The number of states are same in

CD C1 batch Viva

Quiz
•
Computers
•
University
•
Hard
Sneha M
Used 1+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
LARL and CLR
LALR and SLR
CLR and SLR
None of them are true
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Recognize the item set for GOTO(I,S) where I = {[S-->(.S)S]} for the grammar:
S-->(S)S | ε
GOTO(I,S)={ S-->(.S)S, S-->.(S)S }
GOTO(I,S)={ S-->(.S)S, S-->.(S)S, S--> .}
GOTO(I,S)={ S-->(S.)S, S-->.(S)S, S--> . }
GOTO(I,S)={ S-->(S.)S }
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
YACC implements which parser
LL(1)
SLR
CLR
LALR
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Recognize the kernel items for the following grammar:
S--> aAbB| bBaA
A-->d
B-->b
S-->.aAbB
S-->aAb.B
S-->.bBaA
A-->.d
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The number of tokens generated by following c code are:
switch(i)
{ case 1: b= c* d; break;
default: b=b++; break;
}
27
29
26
24
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Consider the following grammar:
S-> AB | d
A-> a | Aab
B-> b | Bba
Recognize the LR(1) items in state 0
S' -> .S,$
S->.AB,$
S->.d,$
A->.a, a/b
A->.Aab,a/b
S' -> .S,$
S->.AB,$
S->.d,$
A->.a, b
A->.Aab,b
S' -> .S,$
S->.AB,$
S->.d,$
A->.a, a/b
A->.Aab,a/b
B->.b, b
B->.Bba,b
S' -> .S,$
S->.AB,$
S->.d,$
A->.a, b
A->.Aab,b
B->.b, b
B->.Bba,b
Similar Resources on Quizizz
9 questions
Lesson 9 Practice Problems

Quiz
•
9th Grade - University
10 questions
Evaluación diagnóstica Estructuras de control de flujo

Quiz
•
University
10 questions
Python - Functions

Quiz
•
University
10 questions
AFP Midtvejsevaluering

Quiz
•
University
10 questions
20EC204 Digital System Design Surprise Quiz

Quiz
•
University - Professi...
10 questions
OSI Model - Transport Layer

Quiz
•
9th Grade - Professio...
8 questions
Lesson 4 Practice Problems

Quiz
•
9th Grade - University
10 questions
Week 9 C# (for Java programmers)

Quiz
•
University
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Computers
10 questions
Identifying equations

Quiz
•
KG - University
16 questions
Chapter 8 - Getting Along with your Supervisor

Quiz
•
3rd Grade - Professio...
6 questions
Railroad Operations and Classifications Quiz

Quiz
•
University
71 questions
Logos

Quiz
•
3rd Grade - University
8 questions
Mali - Geography

Quiz
•
University