
CD C1 batch Viva
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Sneha M
Used 1+ times
FREE Resource
Enhance your content in a minute
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The number of states are same in
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
KSK1024 Ulangkaji Bab 1-5 (MCQ Set 1)
Quiz
•
University
10 questions
Internet
Quiz
•
University
10 questions
pointers and structures
Quiz
•
University
8 questions
Cha-ching 2
Quiz
•
1st Grade - University
10 questions
Kiểm tra học kỳ 1 lớp 2
Quiz
•
2nd Grade - University
10 questions
Teste python- Unesp-Jaboticabal
Quiz
•
University
10 questions
BOOLEAN CLUB QUIZ 1
Quiz
•
University
10 questions
Python quick quiz
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
