Cochin University Previous Papers BE CS 5th Semester
System Programming July 2009
I. Describe briefly the addressing modes in SIC machine and explain how addressing mode of an instruction is related instruction format.
II. (a) Explain the architecture of a SIC machine.
(b) What are the roles of symbol tables in the design of an assembler?
III.(a) What are the role of loaders in a programming environment?
(b) How absolute loader differs form boot strap loader?
IV. (a) What are the advantages of dynamic linking over other linking schemes?
(b) Explain the various steps involved in the execution of a program written in a language L.
V. (a) What are macros? With suitable example explain the macro definition and macro expansion.
(b) What are the different ways of specifying arguments in a macro call?
VI. (a) Differentiate between conditional and recursive macro expansion.
(b) Discuss about the various data structures used in macro expansion.
VII. What is the role of compilers in program execution? Explain the various phases of a compiler in brief.
VIII. (a) Discuss about different type of parsers in the compilation process.
(b) What are the objectives during the intermediate code generation phase of a compiler?
IX. (a) What is meant by CPU scheduling? Explain different CPU scheduling algorithms with suitable examples.
(b) Explain briefly how operating system handles the files in the system.
X. (a) What is meant by segmentation? Explain one mechanism for implementing segmentation.
(b) Explain how operating system manages the devices attached to a system.