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.
Course:MCA
Semester:Semester 3
Session:2023-24
University:AKTU / UPTU
Rate this paper
Questions Asked in 2023-24
Compiler Design (KCA015) — extracted question text · 100 marks · 3 Hours
Section AAttempt all q u e s t i o n s i n b r i e f . 2 x 10 = 20
- 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
Section BAttempt any three o f t h e f o l l o w i n g : 10 x 3 = 30
- 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
Section CAttempt any one p a r t o f t h e f o l l o w i n g : 10 x 1 = 10
- 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. 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 MCA Semester 3 (2023-24) Papers
Other subjects from same semester and session
Software Testing Quality Assurance2023-24Cryptography Network Security2023-24Simulation Modeling2023-24Web Technology2023-24Data Warehousing Data Mining2023-24Computer Network2023-24Digital Image Processing2023-24Big Data2023-24
View all MCA Semester 3 2023-24 papers →