Compiler Design (KCA-015) - AKTU Question Paper 2022-23
MCA · Semester 3 · Free PDF Download
This is the official AKTU Compiler Design Previous Year Question Paper for MCA Semester 3, academic session 2022-23. 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:2022-23
University:AKTU / UPTU
Rate this paper
Questions Asked in 2022-23
Compiler Design (KCA-015) — extracted question text
Section AAttempt all questions in brief. 2x10 = 20
- aDiscuss the need of cross co mpiler and how it can be achieved?
- bDescribe the Arden’s theorem
- cInvestigate the use of pass of a compiler
- dDiscuss the requirement of a “lookahead” feature in order t o specify their lexical Analyzers
- eDemonstrate an example of parse tree and syntax tree
- fShow the actions available with shift reduce parsers
- gDefine a postfix notation
- hExplain peephole optimization. (i) Define DAG. (j) What do you mean by machine dependent and machine independe nt ptimization?
Section BAttempt any three of the following: 10x3 = 30
- aDescribe the symbol table manager and error handler routines?
- bExamine the output of lexical analyzer for the following pr ogram.
int max (x, y) int x, y; /* this program find out the maximum of two numbers*/ { return (x > y? x: y); } - cWhat are the difficulties with top-down parsing? Explain wi th examples
- dWhat are the various ways of calling the procedure? Explain in detail
- eDiscuss about the following: (i) Copy Propagation (ii) Dead-code Elimination
Section CAttempt any one part of the following: 10x1 = 10
- aConsider the following grammar Discover whether the above grammar is unambiguous or not. If not convert it and also remove the left recursion from the grammar
- bFor the Regular expression (a/b)*a(a/b). Draw the NFA. Obtain D FA form NFA
- aPoint out the various phases of compiler and write down the output of each phase of the compilation for the expression a: = (b +d) + (c* 5)
- bIllustrate how a lexical analyzer can be implemented and Write a LEX program to identify octal and hexadecimal numbers and implement specific action after identifying these tokens
- aCompute FIRST and FO LLOW for given Grammar S ->aBDh
- bMake use of the recursive de scent parser to write the code in C- Language for the following grammar
- aBreak down the 3-address code for the statements a =c*-d + b*-c?
- bclassify three types of imple mentations of three-address statements
- aWhat are the issues in the design of code generator? Explain in detail
- bWhat is an activation record? Draw diagram of General Activ ation record and explain the purpose of different fields of an activa tion record
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 (2022-23) Papers
Other subjects from same semester and session
Computer Networks2022-23Big Data2022-23Software Testing Quality Assurance2022-23Software Project Management2022-23Simulation Modeling2022-23Cryptography And Network Security2022-23Software Engineering2022-23Artificial Intelligence2022-23
View all MCA Semester 3 2022-23 papers →