SYSTEM SOFTWARE AND COMPILER DESIGN
[As per Choice Based Credit System (CBCS) scheme]
(Effective from the academic year 2017 - 2018)
SEMESTER - VI
Subject Code 17CS63
IA Marks 40
Number of Lecture Hours/Week 4
Exam Marks 60
SYSTEM SOFTWARE AND COMPILER DESIGN
Important Questions - MODULE - 1
These Questions are being framed for helping the students in the "FINAL Exams" Only (Remember for Internals the Question Paper is set by your respective teachers). Questions may be repeated, just to show students how VTU can frame Questions.
- ADMIN
17CS63 - SYSTEM SOFTWARE AND COMPILER DESIGN
Question Bank - MODULE - 1
1. Explain the various instruction formats used in SIC/XE machine. (04 Marks) (Dec.2019/Jan.2020)
2. Write a SIC/XE program to copy the string "COMPUTER SCIENCE ENGINEERING" from STR1 to anotherstringSTR2. (06 Marks) (Dec.2019/Jan.2020)
3. List the functions ofPass-1 and Pass-2 of a two-pass assembler. (06 Marks) (Dec.2019/Jan.2020)
4. Write an algorithm of the Pass-1 of a two-pass assembler. (08 Marks) (Dec.2019/Jan.2020)
5. List the various machine independent assembler features. Explain the control-sections, how the assembler converter them into object code. (08 Marks) (Dec.2019/Jan.2020)
6. Explain SIC/XE Architecture. (08 Marks) (June/July 2019)
7. Generate the complete object program for the following SIC/XE assembly program.
WRREC START 405D
CLEAR X
LDT LENGTH
WLOOP TD OUTPUT
JEQ WLOOP
LDCH BUFFER, X
WD OUTPUT
TIXR T
JLT WLOOP
RSUB
OUTPUT BYTE XK '05'
END
Address of BUFFER 4033 Address of LENGTH 4036
Op Codes:
CLEAR-B4; JEQ- 30; WD -DC; JLT - 38; LDT - 74; LDCH-50; TIXR-BS8; RSUB-4C.
(08 Marks) (June/July 2019)
8. List all assembler independent and dependant features and explain program relocation. (05 Marks) (June/July 2019)
9. Explain the data structures used in macro processor with example. (03 Marks) (June/July 2019)
10. Explain the following microprocessor independent features.
i) Generation of unique labels
ii) Keyword macro parameter. (08 Marks) (June/July 2019)
11. Define system software. Distinguish between system software and application software (06 Marks) (June/July 2018)
12. List out registers used in SIC/XE machine architecture along with their use. (10 Marks) (June/July 2018)
13. Explain the data structures and pass-1 algorithm of SIC assembler. (08 Marks) (June/July 2018)
14. Define Macro. Give the features of macro processors and explain the data structures used in macro processors. (08 Marks) (June/July 2018)
15. Explain in detail SIC/XE machine architecture. (08 Marks) (Dec.2018/Jan.2019)
16. Write an SIC/XE program to calculate DELTA = ALPHA + BETA GAMMA - 10 (08 Marks) (Dec.2018/Jan.2019)
17. Write an algorithm for Pass-1 of an assembler. (08 Marks) (Dec.2018/Jan.2019)
18. Generate the object code for the following SIC/XE source program
SUM START 0
FIRST CLEAR X
LDA #()
+LDB #TOTAL
BASE TOTAL
LOOP ADD TABLE. X
TIA COUNT
JLT LOOP
STA TOTAL
COUNT RESW 1
TABLE RESW 2000
TOTAL RESW 1
END FIRST
Mnemonic |
ADD |
JLT |
LDA |
LDB |
LDX |
RSUB |
STA |
TIX |
JSUB |
J |
LDT |
CLEAR |
Opcode |
18 |
38 |
00 |
68 |
04 |
4C |
0C |
2C |
08 |
3C |
74 |
B4 |
(8 Marks) (Dec.2018/Jan.2019)
-ADMIN
ANSWER SCRIP FOR THESE QUESTIONS WILL BE UPLOADED "AS SOON AS POSSIBLE"
Visit: https://hemanthrajhemu.github.io/AnswerScript/
For immediate Notification Join the Telegram Channel
-ADMIN
T = Text book
QB = Question Bank
AS = Amswer Script
-ADMIN