VTU Computer Science (Semester 5)
System Software
June 2013
Total marks: --
Total time: --
INSTRUCTIONS
(1) Assume appropriate data and state your reasons
(2) Marks are given to the right of every question
(3) Draw neat diagrams wherever necessary


1 (a) Bring out the differences between system software and application software.
6 M
1 (b) With respect to Pentium pro architecture, explain the following:
(i) instruction formats (ii) Data format (iii) Registers (iv) Addressing mode.
10 M
1 (c) Write sequence of instruction for SIC to clear 20 bytes string to all blanks.
4 M

2 (a) Write the fundamental functions of assembler.
5 M
2 (b) Define assembler directive. Explain the different types of directives used in SIC machine.
7 M
2 (c) Write and explain the algorithm of PASS-1 of two-pass assembler.
8 M

3 (a) Distinguish between literal and immediate operands. How does the assembler handle the literal operands?
7 M
3 (b) What is a program block? How does the assembler handle the program blocks?
10 M
3 (c) What is the need of pass-2 algorithms? Give example.
3 M

4 (a) Write a bootstrap loader algorithm. Explain it.
8 M
4 (b) Illustrate linking and relocation with sample programs.
12 M

5 (a) With a neat diagram, explain the structure of text editor.
10 M
5 (b) Explain the features of interactive debugging system.
10 M

6 (a) List machine independent macro processor features. Explain any two with an example.
10 M
6 (b) What are the basic functions of macroprocessor? Explain the various data structures used in the implementation of one-pass macroprocessor.
10 M

7 (a) List and explain the different design options for a macroprocessor.
12 M
7 (b) Explain the structure of LEX program.
5 M
7 (c) Explain the "communication parser".
3 M

8 (a) Write a LEX program to count the number of vowels and consonants in a given string.
6 M
8 (b) Write a YACC program to recognize the given arithmetic expression containing +, -, *, /. Operator.
8 M
8 (c) What do you mean by ambiguous grammer? How it can be overcome? Illustrate with an example.
6 M



More question papers from System Software
SPONSORED ADVERTISEMENTS