munotes® Sign in

Engineering B.E. (Computer Engineering) Sem 6 System Programming and Compiler Construction Dec 2019 R16 Question Paper - Mumbai University | munotes

This paper is solved: read the model answers.

System Programming And Compiler Construction Question Paper, Dec 2019.pdf
CMPN · 131 KB · 1 May 2025

Loading PDF...

Questions asked in this paper

Solved paper All 17 questions answered in full Exam-ready answers, the reasoning behind each one, and what the examiner is looking for. Open the solutions

Q.1 Q.1 (compulsory) 20 Marks

  1. (a) Enlist the different types of errors that are handled by Pass I and PassII of assembler. 5 marks
    Read the model answer
  2. (b) Define Loader. What are different functions of loader. 5 marks
    Read the model answer
  3. (c) Compare bottom up and top down parser. 5 marks
    Read the model answer
  4. (d) What is the need of Intermediate code generation? Explain any two Intermediate code generation forms with example 5 marks
    Read the model answer

Q.2 Q.2 20 Marks

  1. (a) What is Left factoring? Find FIRST & FOLLOW for the following grammar S->Aa ; A->B D ; B->b | ε ; D->d | ε 10 marks
    Read the model answer
  2. (b) What are the phases of compiler? Give working of each phase for the Following statements:- int a, b, c =1 ; a=a*b -5*3/c; 10 marks
    Read the model answer

Q.3 Q.3 20 Marks

  1. (a) Explain YACC in detail. 10 marks
    Read the model answer
  2. (b) Explain machine independent code optimization techniques. 10 marks
    Read the model answer

Q.4 Q.4 20 Marks

  1. (a) Compare Compiler with Interpreter. 5 marks
    Read the model answer
  2. (b) Define left recursion? Eliminate left recursion from the following grammar S->(L) | x ; L-> L,S | S 5 marks
    Read the model answer
  3. (c) Explain dynamic linking loader in detail. 10 marks
    Read the model answer

Q.5 Q.5 20 Marks

  1. (a) Explain with flowchart design of two pass assembler. 10 marks
    Read the model answer
  2. (b) Explain with example conditional macro expansion. 10 marks
    Read the model answer

Q.6 Q.6 (a) 10 Marks

  1. (a) Explain different assembler directives with example. 10 marks
    Read the model answer

Q.6 (b) Q.6 (b) (Write short note on any two of the following) 10 Marks

  1. i) Syntax directed translation 5 marks
    Read the model answer
  2. ii) Code generation issues 5 marks
    Read the model answer
  3. iii) Operator precedence parsing 5 marks
    Read the model answer

Read from the scan above, so a character or two may differ. The scan is the original.

Issue

Something wrong on this page? Report it and we will check it against the scan.

Quick Help

No. The full paper opens straight away, with no login and nothing to pay.

Something wrong with this paper? Report it.

Connected Papers
Engineering / B.E. (Computer Engineering) · 250 papers
Browse all →
Questions? Email contact@munotes.in
Done!
Done!