Compiler Design (KCS502) - AKTU Question Paper 2022-23
B.Tech · Semester 5 · Free PDF Download
This is the official AKTU Compiler Design Previous Year Question Paper for B.Tech Semester 5, academic session 2022-23. Published by Dr. A.P.J. Abdul Kalam Technical University (AKTU/UPTU), Lucknow. Free PDF download — no login required.
Course:B.Tech
Semester:Semester 5
Session:2022-23
University:AKTU / UPTU
Rate this paper
Questions Asked in 2022-23
Compiler Design (KCS502) — extracted question text
Section AAttempt all questions in brief. 2 x 10 = 20
- aHow will you group the phases of compiler?
- bMention the role of semantic analysis
- cWhat are the various parts in LEX program?
- dDifferentiate Parse tree and Syntax tree with an example
- eGive the properties of intermediate representation
- fDifferentiate between LR and LL parsers
- gWhat is phrase level error recovery?
- hDiscuss the capabilities of CFG. (i) Define loop jamming. (j) What is induction variable?
Section BAttempt any three of the following: 10 x 3 = 30
- aWrite SDD to produce three-addre ss code for Boolean expressions and obtain the three-address code for the statement given below: while a < b do if c < d then else ) Discuss the stack allocation and heap allocation strategies of the runtime environment with an example
- cWhat do you mean by attributed grammars? Discuss the translatio n scheme for converting an infix expression to its equivalent postfix form
- dConstruct the NFA and DFA for the following regular expression
- eExplain the lexical analysis and syntax analysis phases of the compiler with a suitable example. Explain the reporting errors in these two phases as well
Section CAttempt any one part of the following: 10 x 1 = 10
- aConstruct the CLR parse table for the following Grammar
- bConstruct the SLR parsing table for the following Grammar
- aWhat is back patching. Generate three address code for the foll owing Boolean expression using back patching
- a< b or c > d and e < f
- bWhat is top down parsing? What are the problems in top down par sing? Explain each with suitable example
- aWhat is an activation record? Draw diagram of general activatio n record and explain the purpose of different fields of an activa tion record
- bHow do we represent the scope information? Explain scope by num ber and scope by location
- aDefine Symbol table? Explain about the data structures used fo r symbol table
- bExplain the following: (i) Copy Propagation (ii) Dead-Code Elimination (iii) Code Motion (iv) Reduction in Strength
- aExplain in the DAG representati on of the basic block with example
- bWrite quadruple, triples and indi rect triples for following expression
Question text is extracted from the official AKTU question paper PDF above. Check the original PDF for equations, diagrams and complete wording. Extracted: 2026-08-23.
Compiler Design — Other Year Papers
AKTU Compiler Design PYQs from other sessions
More B.Tech Semester 5 (2022-23) Papers
Other subjects from same semester and session
Electronics Switching2022-23Computer Integrated Manufacturing2022-23Modern Construction Materials2022-23Object Oriented System Design With C++2022-23Digital Signal Processing2022-23Finite Element Methods2022-23Advance Digital Design Using Verilog2022-23Business Intelligence And Analytic2022-23
View all B.Tech Semester 5 2022-23 papers →Syllabus & More PYQs
Paper solve karne se pehle unit-wise syllabus dekh lo