Question 1)a) Distinguish between a compiler and an interpreter with proper examples.
b) Explain the different phases of a language processor.
c) Define an assembler, how does an assembler work? Describe the working of an assembler with supportive block diagram.
Question 2)a) What is a macro? Describe the model of a macroprocessor.
b) Describe the organization for a single pass assembler in detail.
c) Describe the concept of a cross-assembler and any 3 features of MASM in brief.
Question 3)a) Define a loader. Explain the important functions of a loader.
b) Explain any 4 schemes of loaders in detail.
c) Describe the concept of Linking and debugging.
Question 4)a) Describe the concept of parsing and name any 2 parsing techniques.
b) Describe all the phases of compilers in detail.
c) Why is the phase of Lexical analysis important? Why is input buffering important in Lexical Analysis?
Question 5) State any 4 functions of an operating system in brief.
b) Write brief notes on :-
i) Batch processing systems with examples.
ii) Time sharing systems with examples.
c) Define the following terms:-
i) Process
ii) Program
iii) Task
iv) Thread.
Question 6)a) Define process scheduling, also name any 2 scheduling algorithms.
b) Write brief notes on:-
i) Layered structure
ii) Kernel based structure.
c) What are the different scheduling criteria for scheduling algorithms?