Be - Computer Engineering - Semester 5 - 2023 - October - Systems Programming and Operating System SP Os Pattern 2019
Be - Computer Engineering - Semester 5 - 2023 - October - Systems Programming and Operating System SP Os Pattern 2019
8
23
P-5027 [Total No. of Pages : 2
ic-
tat
[6187]-427
3s
2:3
T.E. (Computer Engineering/(A.I.D.S)) (Insem.)
02 91
0:4
SYSTEMS PROGRAMMING AND OPERATING SYSTEM
0
31
6/0 13
(2019 Pattern) (Semester - I) (310243)
0
9/2
Time : 1 Hour] [Max. Marks : 30
.23 GP
8
C
23
2) Neat diagrams must be drawn wherever necessary.
ic-
3) Figures to the right indicate full marks.
16
tat
4) Assume suitable data, if necessary.
8.2
3s
.24
2:3
Q1) a) What is purpose of Assembler pass 1? Draw and explain overview of
91
49
0:4
Assembler pass 1 flow chart [8]
30
31
OR
6/0
8
intermediate code for an assembly language program given in Question
23
.23
b) Explain the output of pass-I of two pass Assembler with respect to the
tat
8.2
2:3
START 600
91
READ A
49
0:4
READ B
30
31
MOVER CREG, B
9/2
GP
SUB AREG,=’l’
6/0
BC GT,LOOP
CE
STOP
80
A DS 1
.23
B DS 2
16
END
8.2
P.T.O.
.24
49
Q3) a) What is Macro? Explain Macro definition, Macro Call and Macro
8
23
Expansion with an example. [8]
ic-
b) Differentiate [7]
tat
i) Macro and subroutine
3s
ii) Compiler and Interpreter
2:3
02 91
OR
0:4
0
Q4) a) Explain various phases of the Compiler for the expression x = I + R * 60
31
6/0 13
where the data type of R is float. [8]
0
9/2
b) Explain briefly the algorithm of pass l of two pass macro processor?[7]
.23 GP
E
80
8
C
23
ic-
16
tat
8.2
3s
.24
2:3
91
49
0:4
30
31
01
02
9/2
GP
6/0
CE
80
8
23
.23
ic-
16
tat
8.2
3s
.24
2:3
91
49
0:4
30
31
01
02
9/2
GP
6/0
CE
80
.23
16
8.2
.24
[6187]-427 2
49