Compoler Design Kiet ct1
Compoler Design Kiet ct1
___________________
CO -Course Outcome generally refer to traits, knowledge, skill set that a student attains after completing the course successfully.
Bloom’s Level (BL) - Bloom’s taxonomy framework is planning and designing of assessment of student’s learning.
*Knowledge Categories (KCs): F-Factual, C-Conceptual, P-Procedural, M-Metacognitive
#Reference to Competitive Exams (GATE, GPAT, CAT, GRE, TOFEL, NET, etc. )
Roll No. ___________________
Consider the following grammar:
S(L) |a AKTU
LL,S |S 2018-19
Parse the input string (a,(a,a)) using shift reduce parser?
OR
Q. 4 Create the Non-Recursive Predictive Parsing table for the following 2 3/C,P
grammar:
AKTU
E → TE’ E’ → +TE’ | ε T → FT’ T’ → *FT’ | ε F → 2017-2018
(E) | id
Section-C (10X2=20)
Construct the DFA for the following regular expression by the use of
Optimization of DFA based pattern matcher:
(a+b)*abb
Q. 6 OR 1 4/C,P
Language L1 is defined by the grammar: S1→aS1b|ε
Language L2 is defined by the grammar: S2→abS2|ε GATE
Determine which language/languages are regular? 2016
Construct the CLR(1) parsing table for the following grammar: AKTU
S→AA, A→aA|b 2020-21
OR
Give Operator –precedence parsing algorithm. Consider the
AKTU
Q. 7 following grammar and build up operator precedence table. Also 2 4/C,P
2017-2018
parse the input string (id+(id*id))
CO
E -> E+T
T -> T*F
F -> (E) | id
CO -Course Outcome generally refer to traits, knowledge, skill set that a student attains after completing the course successfully.
Bloom’s Level (BL) - Bloom’s taxonomy framework is planning and designing of assessment of student’s learning.
*Knowledge Categories (KCs): F-Factual, C-Conceptual, P-Procedural, M-Metacognitive
#Reference to Competitive Exams (GATE, GPAT, CAT, GRE, TOFEL, NET, etc. )