Question 1
Explain phases of compiler in context of front end and back end with example. Give the significance of both.
Explain phases of compiler in context of front end and back end with example. Give the significance of both.
Write regular expression over {a,b}
S -> aABbA-> c | εB-> d | εConstruct NFA for following regular expression using Thompson’s construction and then convert it into DFA. ab(a|b)*ab*.
Check whether the following grammar is SLR or notS -> AaAb | BbBaA -> εB -> εExplain operator grammar. Generate precedence function table for thefollowing grammar.E -> EAE | idA -> + | *Explain quadruples, triple and indirect triple form of three address code with example.
Write syntax directed definition for simple desk calculator. Using this definition, draw annotated parse tree for 7*9+6 n.
Which are the different conflicts occurs during constructing LR parsing table? Explain in detail.
Implement the following grammar using Recursive Descent Parser.S -> Aa | bAc | bBaA -> dB -> dCirculate this solved paper with KaTeX formulas and 1-click AI step solvers to your batchmates on WhatsApp or Telegram.
Official Gujarat Technological University (GTU) examination paper and step-by-step solutions for Compiler Design (CD) (Summer 2025, B.E. · Computer Engineering, Sem 7). Features complete 70-mark regular & remedial examination pattern, official marking distribution across all 5 questions, and direct 1-click official PDF download.
Transcribed for student exam preparation from Gujarat Technological University official examination archives. Questions, syllabus guidelines, and curriculum marking schemes remain the intellectual property of Gujarat Technological University.