FirstRanker Logo

FirstRanker.com - FirstRanker's Choice is a hub of Question Papers & Study Materials for B-Tech, B.E, M-Tech, MCA, M.Sc, MBBS, BDS, MBA, B.Sc, Degree, B.Sc Nursing, B-Pharmacy, D-Pharmacy, MD, Medical, Dental, Engineering students. All services of FirstRanker.com are FREE

📱

Get the MBBS Question Bank Android App

Access previous years' papers, solved question papers, notes, and more on the go!

Install From Play Store

Download AKTU B-Tech 6th Sem 2018-2019 RCS602 Compiler Design Question Paper

Download AKTU (Dr. A.P.J. Abdul Kalam Technical University (AKTU), formerly Uttar Pradesh Technical University (UPTU) B-Tech 6th Semester (Sixth Semester) 2018-2019 RCS602 Compiler Design Question Paper

This post was last modified on 29 January 2020

AKTU B-Tech Last 10 Years 2010-2020 Previous Question Papers || Dr. A.P.J. Abdul Kalam Technical University


Firstranker's choice

Printed Pages: 2

FirstRanker.com

--- Content provided by FirstRanker.com ---


Paper Id: 110263

Roll No.

BTECH

(SEM VI) THEORY EXAMINATION 2018-19

COMPILER DESIGN

--- Content provided by‌ FirstRanker.com ---

Time: 3 Hours

Total Marks: 70

Note: 1. Attempt all Sections. If require any missing data; then choose suitably.

SECTION A

1. Attempt all questions in brief. 2 x 7 = 14

--- Content provided by⁠ FirstRanker.com ---

  1. What are the two parts of a compilation? Explain briefly.
  2. What is meant by viable prefixes?
  3. What are the classifications of a compiler?
  4. List the various error recovery strategies for a lexical analysis.
  5. What is dangling else problem?
  6. --- Content provided by FirstRanker.com ---

  7. What are the various types of intermediate code representation?
  8. Define peephole optimization.

SECTION B

2. Attempt any three of the following:

  1. Write the quadruples, triple and indirect triple for the following expression: +(x+(y+z)-(y-z)) x 3
  2. --- Content provided by‍ FirstRanker.com ---

  3. What are the problems with top down parsing? Write the algorithm for FIRST and FOLLOW.
  4. Perform Shift Reduce Parsing for the given input strings using the grammar S->(L) | a and L->L,S|S
    1. (a,(a,a))
    2. (a,a)
  5. What is global data flow analysis? How does it use in code optimization?
  6. --- Content provided by⁠ FirstRanker.com ---

  7. Construct LR(0) parsing table for the following grammar S-> cBccA
    A-> cAa
    B-> ccB | b

SECTION C

3. Attempt any one part of the following: 7x1=7

--- Content provided by⁠ FirstRanker.com ---

  1. Convert following NFA to equivalent DFA and hence minimize the number of states in the DFA.

    This download link is referred from the post: AKTU B-Tech Last 10 Years 2010-2020 Previous Question Papers || Dr. A.P.J. Abdul Kalam Technical University

--- Content provided by‌ FirstRanker.com ---