VTU Computer Science (Semester 5)
System Software
May 2016
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 application software with examples.
5 M
1(b) Write the program in both SIC and SIC/XE to copy a character string 'SYSTEM SOFTWARE' to another character string.
5 M
1(c) Briefly explain the SIC/XE machine architecture.
10 M

2(a) Write and explain the algorithm for a pass - 1 of two assembles.
8 M
2(b) Explain the data structures used in assembler algorithms.
4 M
2(c) Generate the object code for the source program given below:

WRREC START 105D
  CLEAR X
  LDT LENGTH
WLOOP TD OUTPUT
  JEQ WLOOP
  LDCH BUFFER, X
  WD OUTPUT
  TIXR T
  JLDT WLOOP
  RSUB  
OUTPUT BYTE X '05'
BUFFER RESB 400
LENGTH RESB 2
  END WRREC

 

 

 

 

 

 

 

 

 

 

CLEAR = B4, LDT = 74, TD = E0, JEQ = 30, LDCH = 50, WD = DC, TIXR = B8, JLT = 98, RSUB = 4C, X = 1, T = 5.

8 M

3(a) Differentiate between literal and immediate operand with example.
5 M
3(b) Discuss different design options of assembler.
10 M
3(c) What are control sections? How are they processed?
5 M

4(a) What is loader? What are its advantages and disadvantages? Explain the boot strap loader with algorithm.
10 M
4(b) Explain the two-design options of loaders.
10 M

5(a) List the task by document linking process in an interactive system.
4 M
5(b) Explain the structure of a text editor with a diagram.
10 M
5(c) Explain the functions and capabilities of an interactive debugging system.
6 M

6(a) Explain the data structures involved in macro-processor algorithm.
6 M
6(b) Briefly explain the machine - Independent macro - processor features.
10 M
6(c) Write a note on MASM macro--processor.
4 M

7(a) Explain the structure of a LEX program with example.
6 M
7(b) What is regular expression? Explain any 8 characteristics that from a regular expression.
8 M
7(c) List any 3 LEX - YACC variables and functions.
6 M

8(a) Write a YACC program ti recognize an arithmetic expression involving operations +, -, *, /.
8 M
8(b) What is shift reduce parsing? Explain with an example.
6 M
8(c) Differentiate between LEX and YACC.
6 M



More question papers from System Software
SPONSORED ADVERTISEMENTS