Compiler Design (KCA-015) - AKTU Question Paper 2021-22
MCA · Semester 3 · Free PDF Download
This is the official AKTU Compiler Design Previous Year Question Paper for MCA Semester 3, academic session 2021-22. Published by Dr. A.P.J. Abdul Kalam Technical University (AKTU/UPTU), Lucknow. Free PDF download — no login required.
Rate this paper
Questions Asked in 2021-22
Compiler Design (KCA-015) — complete question paper
- aDefine Bootstrapping. 2 1
- bDifferentiate compiler and interpreter. 2 1
- cWrite down drawbacks of predictive parser. 2 2
- dList out the actions performe d by shift reduce parser. 2 2
- eDefine the term abstract syntax tree. 2 3
- fWhat are loop variant constraints? 2 3
- gWhat are the various advantage s of heap storage allocation? 2 4
- hDefine symbol table. 2 4 i. What is machine independent code optimization? 2 5 j. What are the issues to be consid ered during code generation? 2 5
- aDefine regular expression. Write about the identity rules fo r regular expressions
- bDiscuss in brief about left r ecursion and left factoring with examples, 10 2
- cExplain reducible and non-reduc ible flow graphs with example. 10 3
- dExplain various data structures for symbol table. 10 4
- eExplain in brief about different principle sources of optimi zation techniques
- aWrite a LEX program that rec ognizes the tokens in PASCAL. Di scuss
- bDiscuss the role of lexical analyzer in a compiler. 10 1
- aDefine ambiguous grammar. Explain it with an example. 10 3
- bWhat are the problems in t op down parsing? Explain each with suitable example
- aDifferentiate between synthesized and inherited attributes w ith suitable example
- bTranslate the expression –(a+b)*(c+d)+(a+b+c) into quadruple , triple and indirect triple
- aExplain in detail the symbol table organization for block st ructured languages
- bExplain in brief about stack s torage allocation strategy. 10 4
- aExplain in detail inter pr ocedural optimization. 10 5
- bExplain different types of int ermediate codes forms. 10 5
Question text is extracted from the official AKTU question paper PDF above. Hindi translations are omitted — every question is printed in English in the original paper. Last verified: 2026-08-23.
Repeated Questions — KCA-015
Questions that appeared in more than one session, found by comparing 4 years of Compiler Design papers (2021-22, 2022-23, 2023-24, 2024-25)
List out the actions performe d by shift reduce parser. 2 2
Appeared in: 2021-22 · 2024-25
Define regular expression. Write about the identity rules fo r regular expressions
Appeared in: 2021-22 · 2024-25
Explain reducible and non-reduc ible flow graphs with example. 10 3
Appeared in: 2021-22 · 2024-25
Explain various data structures for symbol table. 10 4
Appeared in: 2021-22 · 2023-24
Discuss the role of lexical analyzer in a compiler. 10 1
Appeared in: 2021-22 · 2024-25
What are the problems in t op down parsing? Explain each with suitable example
Appeared in: 2021-22 · 2022-23
Differentiate between synthesized and inherited attributes w ith suitable example
Appeared in: 2021-22 · 2024-25
Explain in detail inter pr ocedural optimization. 10 5
Appeared in: 2021-22 · 2024-25
Compiler Design — Other Year Papers
AKTU Compiler Design PYQs from other sessions
More MCA Semester 3 (2021-22) Papers
Other subjects from same semester and session