Documente Academic
Documente Profesional
Documente Cultură
--------------------------------------------------------------------------------------------------------------------
Instructions to candidates:
1) Figures to the right indicate full marks.
2) Assume suitable data if necessary.
OR
Q. 2 a) Explain the various types of parameter used in macro processor with their syntax and [04]
examples.
b) Explain design of II Pass assembler. Also explain different data structures used in it. [06]
Q.3 a) Explain the compile and go (assemble and go) loader. What are its advantages and [04]
disadvantages?
b) Explain the concept of Relocation. [03]
c) Explain with suitable examples overlay structure. [03]
OR
Q.4.a) Compare Dynamic Loading and Dynamic Linking. [04]
b) Explain Binary Symbolic Subroutines (BSS) loading scheme with example. Explain
how allocation, relocation, linking and loading is done using this scheme. [06]
Q.5 a) What is the role of Lexical analyzer? Also write a note on Lexical errors. [05]
b) Show the output of all phases of compilation process for the following input string. [05]
p= i * r /10 by considering p and r as a float values while i as an integer value.
OR
Q. 6.a) Write a note on LEX and LEX Specification. [04]
b) Explain with example.
i) Token ii) Lexeme iii) Pattern of Lexical analyzer [06]
---------------------------------------------------------------------------------------------------------
ALL THE BEST