Cochin University Previous Papers BE CS 5th Semester System Programming July 2010
Cochin University Previous Papers BE CS 5th Semester
System Programming July 2010
PART – A
(Answer ALL questions)
I. (a) Define an assembler and its functions.
(b) How are the symbol defining statements handled by assemblers?
(c) What is the function of a loader? Explain the algorithm for an absolute loader.
(d) What are linkage editors?
(e) What is a macro? Differentiate between macro and subroutine.
(f) Explain conditional macros.
(g) What is the function of OS? Discuss the different types of OS.
(h) Explain the hierarchical OS structure.
II. With an example, explain the two pass Assembler algorithm.
III. (a) What do you meant by forward reference? How is it solved by a single pass assembler?
(b) Explain control sections and program linking.
IV. Explain the algorithm and data structures for a linking loader.
V. (a) Explain dynamic linking.
(b) What is program relocation and how is it handled?
VI. (a)With an example, explain the various data structures used by a macro processor.
(b) Write and explain the algorithms for a one pass macro assembler.
VII. (a) Explain recursive macro expansion.
(b) What is a macro preprocessor?
VIII. (a) What is a virtual machine? Explain the implementation of a virtual machine.
(b) What are the different types of multiprocessor OS? Explain.
IX. Explain Distributed OS and Object Oriented OS.