Appendix A University Question Papers
Appendix A University Question Papers
Appendix A
University Question Papers
B.E/B.Tech. DEGREE EXAMINATION, MAY/JUNE 2013.
Fifth Semester
Computer Science and Engineering
CS2304 SYSTEM SOFTWARE
(Common to Information Technology)
(Regulation 2008)
Time: Three hours Maximum: 100 marks
Answer ALL questions.
Part A - (10x2=20 marks)
1. Write any two assembler directives used by SIC/XE.
2. Write a SIC code to copy an 11 byte character string to another.
3. What is Program Relocation?
4. How literal differs from immediate operand?
5. Give the algorithm for absolute loader.
6. What is meant by dynamic linking?
7. What are the data structures used by the macro processor?
8. What is the advantage of keyword macro parameters?
9. What are the tasks involved in document editing process?
10. What is the use of tracing?
156
System Software Question Bank
157
System Software Question Bank
158
System Software Question Bank
OR
(b) (i) Explain the machine independent assembler features in detail. (16)
(ii) Describe the data structures used by an assembler. (6)
13. (a) (i) Explain the functions of a loader in detail. (8)
(ii) What is BOOTSTRAP loader? Explain its characteristic with examples. (8)
OR
(b) (i) Explain dynamic linking in detail. (8)
(ii) Compare linking loader and linkage editor. (8)
14. (a) Discuss the following in detail with suitable examples:
(i) Conditional macro expansion (8)
(ii) Generation of unique labels (8)
OR
(b) Write short notes on the following:
(i) Design of macro processor (8)
(ii) Keyword Parameters (8)
15. (a) (i) What are the salient features of an editor? Discuss. (8)
(ii) Compare the facilities available in any editors of your choice. (8)
OR
(b) (i) Explain the role of debuggers in program development. (8)
(ii) Write notes on ‘User Interfaces for Debuggers’. (8)
159
System Software Question Bank
160
System Software Question Bank
(vi)instruction/output
(vii)instruction set and
12. (a) Discuss in detail the assembler design options.
OR
(b) Explain machine dependent assembler features in details.
13. (a) Describe machine dependent loader features in detail.
OR
(b) Explain the following in details al macro expansion
14. (a) Explain the features of machine independent macro processor in details.
OR
(b) Describe the following in detail:
(i) Conditional macro expansion
(ii) MASM macro processor
(iii) ANSI C macro language
15. (a) Explain the editor structure with neat diagram
OR
(b) Discuss interactive debugging systems in detail.
161
System Software Question Bank
PART B — (5 × 16 = 80 Marks)
11. (a) Explain the Simplified Instructional Computer Machine architecture.
OR
(b) Explain the various addressing modes and instruction formats of SIC/XE
machine.
12. (a) Define the basic functions of assembler and explain in detail the two-pass
assembler algorithm with an example.
OR
162
System Software Question Bank
(b) What is Forward reference? Explain one pass assembler with an example.
13. (a) Explain the following
(i) Assemble-and-go loader. (8)
(ii) Absolute loader. (8)
OR
(b) Explain the following:
(i) Relocating loader. (8)
(ii) Overlays. (8)
14. (a) Explain in detail the Macro processor algorithm and data structures.
OR
(b) Explain the following machine independent macro features.
(i) Concatenation of macro parameters. (5)
(ii) Generation of unique labels. (5)
(iii) Conditional Macro expansion. (6)
15. (a) Write short notes on the following:
(i) Interactive debugging systems. (8)
(ii) Write short notes on Text editors. (8)
OR
(b) Describe the User Interface Criteria in detail. (16)
163