Compiler Design (KCA015) - AKTU Question Paper 2023-24
MCA · Semester 3 · Free PDF Download
This is the official AKTU Compiler Design Previous Year Question Paper for MCA Semester 3, academic session 2023-24. 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 2023-24
Compiler Design (KCA015) — complete question paper · 100 marks · 3 Hours
- aWhat do you mean by Cross Compiler? 2 1
- bWhat is the role of lexic al analysis phase? 2 1
- cDescribe the concepts of Predictive Parsing. 2 2
- dWhat are the various conflicts that occur during shift reduce parsing? 2 2
- eGive example for inherited a nd synthesized translation. 2 3
- fTranslate the arithmetic expr ession a* -(b+c) into 3-address code. 2 3
- gWhat is heap allocation? 2 4
- hGive the fields in an activation record. 2 4 i. What do you mean by flow graph? 2 5 j. Define code generation. 2 5
- aDefine an ambiguous grammar. Give an example of unambiguous grammar and proof it is unambiguous
- bExplain various problems asso ciated with top down parser. 10 2
- cFor the given assignment stat ements, write down the syntax d irected definition –
- dDifferentiate between stac k allocation and heap allocation. 10 4
- eDiscuss various issues in design of code generator and code loop optimization
- aDefine left factoring and left recursion of grammar. Is the following grammar is left recursive –
- bWrite short note on Formal grammar. 10 1
- aFor the given grammar, cons truct SLR parsing table –
- bConstruct parse tree for the fo llowing grammar and make operato r precedence table
- aFor the following code fragmen t, generate three address code –
While(a>b) { X=y+z; Else X=y-z; } - bWrite short note on Syntax dire cted translation scheme. 10 3
- aWhat are lexical phase error and syntactic error? Also sugge st methods for recovery of errors
- bWrite short note on data struc ture for symbol table. 10 4
- aWhat are the various advantages of DAG? Discuss peephole optimization
- bHow induction variables can be detected and eliminated from the given intermediate code. Discuss. If T2 < 10 goto B2
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 — KCA015
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)
What do you mean by Cross Compiler? 2 1
Appeared in: 2023-24 · 2024-25
Describe the concepts of Predictive Parsing. 2 2
Appeared in: 2023-24 · 2024-25
Translate the arithmetic expr ession a* -(b+c) into 3-address code. 2 3
Appeared in: 2023-24 · 2024-25
Define left factoring and left recursion of grammar. Is the following grammar is left recursive –
Appeared in: 2023-24 · 2024-25
Construct parse tree for the fo llowing grammar and make operato r precedence table
Appeared in: 2023-24 · 2024-25
What are lexical phase error and syntactic error? Also sugge st methods for recovery of errors
Appeared in: 2023-24 · 2024-25
Write short note on data struc ture for symbol table. 10 4
Appeared in: 2021-22 · 2023-24
What are the various advantages of DAG? Discuss peephole optimization
Appeared in: 2023-24 · 2024-25
Compiler Design — Other Year Papers
AKTU Compiler Design PYQs from other sessions
More MCA Semester 3 (2023-24) Papers
Other subjects from same semester and session