Roll No.
Total No. of Pages : 02
Total No. of Questions: 18
--- Content provided by FirstRanker.com ---
B.Tech. (CSE) (2012 to 2017 E-III) (Sem.-7)
B.Tech. (IT)
COMPILER DESIGN
Subject Code : BTCS-913
M.Code: 71905
--- Content provided by FirstRanker.com ---
Time: 3 Hrs.
Max. Marks: 60
INSTRUCTION TO CANDIDATES :
- SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks each.
- SECTION-B contains FIVE questions carrying FIVE marks each and students have to attempt any FOUR questions.
- SECTION-C contains THREE questions carrying TEN marks each and students have to attempt any TWO questions.
--- Content provided by FirstRanker.com ---
SECTION-A
Answer briefly :
- Write a note on role of a parser.
- What is Compiler?
- What are the applications of compiler technology?
- What do you mean by code generation?
- Difference between Compilation and Interpretation.
- What do you mean by lexical analyzer?
- Write a note on Handle pruning.
- Write brief note on symbol tables.
- What are the specifications and recognition of tokens?
- What is back patching?
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
SECTION-B
- What is the role of lexical analyser in compilation process? What are patterns, lexemes and tokens?
- What do you mean by compiler designing? Explain the structure of compiler.
- List the various types of intermediate code representation. Explain any three types in details.
- What is the cross compiler? What is difference between compiler and interpreter?
- Write short Note on :
- YACC
- Parse tree
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
SECTION-C
- Explain the working and algorithm of LR Parser.
- What is symbol table? Explain in detail its contents and data structure.
- What is Syntax Directed Definitions? Explain how infix expression can be converted to postfix expression using SDD's?
--- Content provided by FirstRanker.com ---
NOTE: Disclosure of Identity by writing Mobile No. or Making of passing request on any page of Answer Sheet will lead to UMC against the Student.
--- Content provided by FirstRanker.com ---
This download link is referred from the post: PTU B.Tech 2021 January Previous Question Papers || PTU Punjab Technical University