0% found this document useful (0 votes)
77 views2 pages

SYSTEM PROGRAMMING AND COMPILER CONSTRUCTION Dec 2018 Converted 1 PDF

This document outlines exam instructions and questions for a System Programming and Compiler Construction exam in December 2018. The exam is 3 hours and worth a total of 80 marks. Question 1 is compulsory and covers system/application software, macros, compilers vs interpreters, and the Java compiler environment. Students must attempt 3 of the remaining 5 questions. Questions cover topics like macro tables, compiler code optimization techniques, assembler pass 2 flowchart, loader functions, LL(1) grammar analysis, intermediate code representations, garbage collection, parsing techniques, compiler phases, and synthesized vs inherited attributes.

Uploaded by

21-Ruchita Godse
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
77 views2 pages

SYSTEM PROGRAMMING AND COMPILER CONSTRUCTION Dec 2018 Converted 1 PDF

This document outlines exam instructions and questions for a System Programming and Compiler Construction exam in December 2018. The exam is 3 hours and worth a total of 80 marks. Question 1 is compulsory and covers system/application software, macros, compilers vs interpreters, and the Java compiler environment. Students must attempt 3 of the remaining 5 questions. Questions cover topics like macro tables, compiler code optimization techniques, assembler pass 2 flowchart, loader functions, LL(1) grammar analysis, intermediate code representations, garbage collection, parsing techniques, compiler phases, and synthesized vs inherited attributes.

Uploaded by

21-Ruchita Godse
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

SYSTEM PROGRAMMING AND COMPILER CONSTRUCTION

DEC 2018
Total Marks: 80
Total time: 3 hours

INSTRUCTIONS
(1) Question 1 is compulsory.
(2) Attempt any three from the remaining questions.
(3) Draw neat diagrams wherever necessary.

Q1. (a) What is system software & application software? (05)


(b) Explain different features of macros. (05)
(c) Compare Compiler and Interpreter. (05)
(d) Write a note on: Java Compiler environment. (05)

Q2. (a) With reference to macroprocessor, explain the following tables with suitable example. (10)
(i) MNT
(ii) MDT
(iii) ALA
(b) Explain the different code optimization techniques in compiler design. (10)

Q3. (a) Draw flowchart and explain with databases the working pass 2 of assembler. (10)
(b) Explain various functions of loader. Compare linking loader and linkage editor. (10)

Q4. (a) Consider the following grammar (10)


S-> (A)|0
A-> SB
B->,SB|ε
Is the above grammar LL (1)? Justify your answer.
(b) Explain different types of Intermediate code representations. (10)

Q5. (a) Explain the different types of garbage collection and compaction in compilers. (10)
(b) Differentiate Top-down and Bottom-up parsing techniques. Explain recursive descent parser
with an example. (10)

Q6. (a) Explain the different phases of compiler. Illustrate all the output after each phase for the
Following statement:
a=b+c-d*5
(b) Write Short note on: (10)

www.lastmomenttuitions.com
(i)Synthesized and inherited attrinutes.
(ii) Debug monitor.

www.lastmomenttuitions.com

You might also like