B.E/B.Tech DEGREE EXAMINATION May/Jun 2007
Third semester
Computer Science and Engineering
CS1203 -SYSTEM SOFTWARE
Third semester
Computer Science and Engineering
CS1203 -SYSTEM SOFTWARE
(Regulation 2004)
Time: 3 hours
Maximum marks: 100
Answer ALL questions
Maximum marks: 100
Answer ALL questions
PART A (10 x 2 =20 marks)
1. Define upward compatibility in system2. Distinguish between direct addressing and indirect addressing.
3. Consider the following sequences
X EQU Y
Y EQU Z
Z RESW 1
Is a two assembler can resolve such a sequence of definition? Justify your answer.Y EQU Z
Z RESW 1
4. What is the data structure used to organize the symbol table and operation code table in a simple
assembler? Why it is preferred?
5. What are the advantages of dynamic linking?
6. What is the function of pass 2 of a loader?
7. What is the use of DEFTAB (Definition Table),NAMTAB (Name table) and ARGTAB (Argument table) in
macro processor?
8. What is the purpose of conditional compilation statement in ANSI C
preprocessor?
9. What are the tasks performed by document editing process?
10. How the mapping of view buffer to a window is done?
PART B (5 x 16 = 80)
11. (a) (i) Explain the SIC machine architecture. (8)(ii) Write a sequence of instruction for SIC to set
VAL 1 = VAL 2 + INCR-2
VAL 3 = VAL 4 + INCR-2
Illustrate how the same calculation could be performed on SIC/XE. (8)VAL 3 = VAL 4 + INCR-2
(or)
(b) (i) Explain the SIC/XE machine architecture (8)
(ii) The variable V1, V2 and V3 are assumed as an array of 100 words each. Write a sequence of instruction for SIC to add together the corresponding elements of V1, V2 and store in V3. (8)
12. (a) (i) Write the algorithm for pass a assembler. (10)
(ii) Explain program relocation with example. (6)
(or)
b.Explain in detail about the machine independent features of Assembler.
Machine independent features of Assembler:
13. (a) Explain the design of relocation loader with an example.
(or)
(b) Write short notes on:
(i) Linkage editor. (ii) Dynamic linking.
14(a) (i) Explain with an example how macro processor allows the invocation of macro with in macro.(8)
(ii) Discuss the macro processing features of ANSI C programming
language. (8)
(or)
(b) Explain the various machine independent features of Macro
processor in detail. (16)
15. (a) (i) Explain the various types of user interface. (8)
(ii) Discuss the nature of the user interface for an interactive debugger. (8)
(or)
(b) (i) Explain the structure of a text editor. (8)
(ii) Explain the important functions of an interactive debugging system. (8)
No comments:
Post a Comment