Cochin University Previous Papers BE CS 5th Semester System Programming July 2009

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.

OR

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?

OR

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?

OR

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.

OR

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.

OR

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.

 

Leave a Comment