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.
Rate this paper
Questions Asked in 2022-23
Compiler Design (KCA-015) — complete question paper
- 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?
- 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
- 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. 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)
Demonstrate an example of parse tree and syntax tree
Appeared in: 2022-23 · 2024-25
Define a postfix notation
Appeared in: 2022-23 · 2024-25
What are the difficulties with top-down parsing? Explain wi th examples
Appeared in: 2021-22 · 2022-23
For the Regular expression (a/b)*a(a/b). Draw the NFA. Obtain D FA form NFA
Appeared in: 2022-23 · 2024-25
classify three types of imple mentations of three-address statements
Appeared in: 2022-23 · 2024-25
What are the issues in the design of code generator? Explain in detail
Appeared in: 2022-23 · 2024-25
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