Compiler Design (KCA015) - AKTU Question Paper 2024-25
MCA · Semester 3 · Free PDF Download
This is the official AKTU Compiler Design Previous Year Question Paper for MCA Semester 3, academic session 2024-25. 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:2024-25
University:AKTU / UPTU
Rate this paper
Questions Asked in 2024-25
Compiler Design (KCA015) — extracted question text · 100 marks · 3 Hours
Section AAttempt all questions in brief. 2 x 10 = 20
- aWhat do you mean by Cross Compiler?
- cDescribe the concepts of Predictive Parsing
- dList down the action performed by shift reduce parser
- eDemonstrate an example of pars e tree and syntax tree
- fTranslate the arithmetic expre ssion a* -(b+c) into 3-address code
- gDefine a postfix notation
- hWhat are the various advantage of heap storage allocation? 4 K 2 i. Write down evolution in grammar for declaring a variable with its semantic actions? j. Discuss various issues in code generation
Section BAttempt any three of the following: 10 x 3 = 30
- aDefine regular expression. Write about the identity rules fo r regular expressions
- bExamine the output of lexical analyzer for the following program.
int max (x, y) int x, y; /* this program find out the maximum of two numbers*/ { return (x > y? x: y); } - cExplain reducible and non-reduc ible flow graphs with example
- dH o w r e g i s t e r s a r e a l l o c a t e d i n c o d e g e n e r a t i o n ? D i f f e r e n t i a te among source code, intermediate code and object code
- eExplain in detail inter procedural optimization
Section CAttempt any one part of the following: 10 x 1 = 10
- aFor the Regular expression (a /b)*a(a/b). Draw the NFA. Obtain DFA form NFA
- bDescribe the role of lexical analyzer in a compiler
- aDefine left factoring and left recursion of grammar. Is the following grammar is left recursive –
- bConstruct parse tree for the f ollowing grammar and make operator precedence table
- aWhat is symbol table? Explain in detail. Explain the use of symbol table
- bDifferentiate between synthesized and inherited attributes w ith suitable example
- aClassify three types of imple mentations of three-address statements
- bWhat are lexical phase error and syntactic error? Also suggest methods for recovery of errors
- aWhat are the various advanta ges of DAG? Discuss peephole optimization
- bDiscuss different issues to d esign code generator. Explain in detail
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 (2024-25) Papers
Other subjects from same semester and session
Artificial Intelligence2024-25Cryptography Network Security2024-25Software Engineering2024-25Software Testing Quality Assurance2024-25Cloud Computing2024-25Computer Network2024-25Software Project Management2024-25Digital Image Processing2024-25
View all MCA Semester 3 2024-25 papers →