[go: up one dir, main page]

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

SPCC Module No:1

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 2

SPCC

Module no:1

Q.1 Differentiate between System software & application software.Or What is system software &
application Software? State Difference between Application programs& System program ? Compare
compiler & interpreter.

Q.2 Write a short note on the debug monitor.

Q.3 Explain the different error recovery techniques.

Q.4 Explain run time storage organization in detail.

Module no:2

Q.1 with reference to the assembler explain the following table with sutaible examples 1.MOT 2.POT
3.ST 4.BT 5.LT

Q.2 Draw flowchart & explain with databases the working pass 2 of assembler .Or Explain the design
of tow pass assembler with flowchart & databases.

Q.3 Draw the flowchart of a pass-1 of two pass assembler design & explain in detail.

Q.4 Explain forward reference problem & how it is handled in assembler design.

Module no :3

Q.1 Explain macro & macro expansion Or Explain different features of macro with example.

Q.2 Write a short note on 1. YACC , 2.Parameterized MACROS.

Q.3 with reference to macro processors , explain the following tables with sutaible examles1.MNT
2.MDT 3.ALA

Module no :4

Q.1 Explain working of direct linking loaders withn examples, show entries in different databases
built by DLL.

Q.2 Explain various functions of the loader. compare linking loader & linkage editor. Or explain
different functions of loader.Or Explain the various function of a loader.

Q.3 For the following grammar construct LL(1) parsing table & parse the string (a-a).

Q.4 Explain various function of the loader. also explain the design & flowchart of Absolute loader.

Module no: 5

Q.1 Differentiate Top-Down & Bottom-up parsing techniques. Explain recursive descent parser with
an example. Or Differentiate Top-Down & Bottom-up techniques. explain shift reduce parser in
detail.

Q.2 Explain various functions of the loader. Also explain the design & flowchart of Absolute loader.

Q.3 Write a note on 1.Java compiler environment 2.Sytax Directed Definition.

Q.4 Explain different types of garbage collection & compaction in compilers.


Q.5 Construct a predictive table for the grammar Or Find FIRST & FOLLOW for the following
grammar.

Q.6 Explain the role of finite automata in compiler theory.

Q.7 Eliminate left recursion from the following grammar

s-> Aa | b A-> Ac | Sd|E

Q.8 State difference between LL parser & LR parser. Or Compare LR(0), LR(1) & LALR parser.

Q.9 What do you mean by operator precedence grammar ? with the help of following given
grammar. parse the input string.

Q.10 Write a note on: input buffering scheme on lexical analyser.

Module no:6

Q.1 Explain different code optimization techniques with examples. Or Explain the different code
optimization techniques in compiler design.

Q.2 Explain different types of intermediate code representations. Or Explain different types of
intermediate code representation with examples?

Q.3 Explain different types of text editors in brief.

Q.4 Explain the different storage allocation strategies in detail.

Q.5 Explain synthesized & inherited attributes with examples.

Q.6 Explain different ways to represent three address codes.

Q.8 Explain the different phases of the compiler. illustrate the output after each phase for the
following statement.

The End

You might also like