munotes® Sign in

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

This paper is solved: read the model answers.

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

Loading PDF...

Questions asked in this paper

Solved paper All 16 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) Differentiate between system software and application software. 5 marks
    Read the model answer
  2. (b) Explain different functions of loader. 5 marks
    Read the model answer
  3. (c) Explain forward reference problem and how it is handled in assembler design. 5 marks
    Read the model answer
  4. (d) Explain macro and macro expansion. 5 marks
    Read the model answer

Q.2 Q.2 20 Marks

  1. (a) Find FIRST & FOLLOW for the following grammar S->Bb | Dd ; B->aB | ε ; D->cD | ε 5 marks
    Read the model answer
  2. (b) Generate three address code for following code while(a<b) do if(c<d) then x=y+2 else x=y-2 5 marks
    Read the model answer
  3. (c) With reference to assembler explain the following table with suitable example (i)MOT (ii)POT (iii)ST (iv)BT 10 marks
    Read the model answer

Q.3 Q.3 20 Marks

  1. (a) Explain Synthesized and Inherited attribute with example. 10 marks
    Read the model answer
  2. (b) Explain different code optimization techniques with example. 10 marks
    Read the model answer

Q.4 Q.4 20 Marks

  1. (a) Apply dead code elimination techniques for following code int count; void foo( ) { int i; i=1; count=1; count=2; return count=3; } 5 marks
    Read the model answer
  2. (b) Eliminate left recursion from the following grammar S->(L) | x ; L-> L,S | S 5 marks
    Read the model answer
  3. (c) Explain different types of loaders in detail. 10 marks
    Read the model answer

Q.5 Q.5 20 Marks

  1. (a) Draw flowchart of a Pass-I of two pass assembler design and explain in detail. 10 marks
    Read the model answer
  2. (b) Explain different features of macro with example. 10 marks
    Read the model answer

Q.6 Q.6 20 Marks

  1. (a) For the following grammar construct LL(1) parsing table and parse the string (a-a) S->F ; S->(S-F) ; F->a 10 marks
    Read the model answer
  2. (b) Explain different issues in code generation. 10 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!