You are on page 1of 2

Question Bank

Unit-I

1. Explain the 2 pass assembler. Explain all the data structures used. How are
they implemented?
2. Draw a Flow chart for Pass-1 of 2 pass assembler Design
3. What is forward reference? How it is handled in a Single pass assembler.
4. What are different databases that are used for design of PASS-1 of a two
pass Assembler? Give the format for each one of these databases.
5. What are Assembler Directives? What is the purpose of LTORG directive
and EQU directive? Explain with example.
6. What features of assembly language makes it mandatory to design a two
pass assembler? Explain with example
7. What are components of system software?
8. Explain the following
a. Text Editors
b. Debuggers
c. Macro Processor
d. Compiler
e. Loaders
9. What are features of assembly language?

UNIT-II

1. Draw Flow chart to handle single pass Macro processor to handle definitions
inside definitions.
2. Define Macro. What are the advantages of Macro facility? How are they
different from Functions?
3. What is the use of conditional expansion of macro? Which Pseudo Ops are
used to support conditional expansion? Give example
4. In an assembly language program certain actions is required at ‘n’ places in
the program. Under
What condition would you code this action as macro or subroutine.
5. With the help of diagram explain the general loader scheme
6. What is loader? What are its basic functions?
7. With the help of diagram explain the general loader scheme
8. Explain the following terms
a. Subroutine Linkage
b. Relocation
c. Overlay
9. Explain in brief compile and go scheme. What are advantages and
disadvantages of it.
10.Explain Overlay structure. What is dynamic binding?
11.Explain the use of Overlay structure? Explain with an example.
12.Explain in brief absolute loader scheme. What are the advantages and
disadvantages of this scheme?

13.What are the databases required for design of direct linking loader? Give
their formats.
14.Draw flowchart for pass- I of 2 pass direct linking loader.
15.Draw the flow chart for PASS- II of a direct linking loader.
16.Explain in brief direct linking loader.
17.What is linking? Explain the difference between static and dynamic linking?
18.Explain the term static and Dynamic Linking

UNIT-III

1. What are the tasks of analysis and synthesis phase of a language translator?
2. What is Intermediate representation? Explain different forms of Intermediate
representations
3. What is the difference between compiler and Interpreter?
4. What are the different phases of Compilation?
5. What is role of lexical analysis phase?
6. What are lexical errors?
7. What is general model of compiler?
8. What is transition diagram? Draw transition diagram for recognition of
identifier.
9. Draw transition diagram for recognition of reserved words.
10.Write short notes on LEX.
11.Write short notes on Yacc.
12.What do you mean by lexeme and tokens?

You might also like