written 5.6 years ago by |
System Software - May 2016
VTU Computer Science (Semester 5)
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 marks
1(b) Write the program in both SIC and SIC/XE to copy a character string 'SYSTEM SOFTWARE' to another character string. 5 marks
1(c) Briefly explain the SIC/XE machine architecture. 5 marks
2(a) Write and explain the algorithm for a pass - 1 of two assembles. 5 marks
2(b) Explain the data structures used in assembler algorithms. 5 marks
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.
5 marks
3(a) Differentiate between literal and immediate operand with example. 5 marks 3(b) Discuss different design options of assembler. 5 marks
3(c) What are control sections? How are they processed? 5 marks
4(a) What is loader? What are its advantages and disadvantages? Explain the boot strap loader with algorithm. 5 marks
4(b) Explain the two-design options of loaders. 5 marks
5(a) List the task by document linking process in an interactive system. 5 marks
5(b) Explain the structure of a text editor with a diagram. 5 marks
5(c) Explain the functions and capabilities of an interactive debugging system. 5 marks
6(a) Explain the data structures involved in macro-processor algorithm. 5 marks
6(b) Briefly explain the machine - Independent macro - processor features. 5 marks
6(c) Write a note on MASM macro--processor. 5 marks
7(a) Explain the structure of a LEX program with example. 5 marks
7(b) What is regular expression? Explain any 8 characteristics that from a regular expression. 5 marks
7(c) List any 3 LEX - YACC variables and functions. 5 marks
8(a) Write a YACC program ti recognize an arithmetic expression involving operations +, -, *, /. 5 marks
8(b) What is shift reduce parsing? Explain with an example. 5 marks
8(c) Differentiate between LEX and YACC. 5 marks