Btech Cse 3 Sem System Programming Pcs3i103 2018
Btech Cse 3 Sem System Programming Pcs3i103 2018
com
Registration No:
Total Number of Pages: 02 B.Tech.
PCS3I103
3rd Semester Regular / Back Examination 2017-18
SYSTEM PROGRAMMING
BRANCH: CSE
Time: 3 Hours
Max Marks: 100
Q.CODE: B986
Answer Question No.1 and 2 which are compulsory and any four from the rest.
The figures in the right hand margin indicate marks.
http://www.bputonline.com
http://www.bputonline.com
Q4 a) Describe the overall design of pass1 of an assembler with the description of (10)
the data structures used in it. Differentiate it from pass 2 compiler.
b) Explain dynamic linking and loading. (5)
Q5 a) Describe the design of a relocating loader. What are the advantages of (10)
relocating loader over absolute loader?
b) What is BNF? Show the BNF specification for an arithmetic expression (5)
X=U+V×W-X/Y
Q6 a) Write a simple SCI/ XE program that gets two integers NUM1 and NUM2 from (10)
memory. Compare the two integers and adds them up, if NUM1 is greater
than NUM2 or subtracts NUM1 from NUM2 if NUM1 is less than NUM2. Store
the answer in memory at memory location result.
b) What do you mean by High Level Language? Briefly explain its features and (5)
advantages over Lower Level Language.
Q8 a) Draw a parse tree according to Pascal grammar for the following expressions. (10)
i)ALPHA –BETA *GAMMA ii) ALPHA DIV(BETTA+GAMMA)-DELTA
b) With suitable examples classify grammars. (5)
Q9 a) Write short notes on i) General Machine structures ii)Functional Modularity iii) (10)
Absolute expression vs Relative expression iv)Lexical Analysis vs Syntactic
Analysis
b) Explain Bootstrap loader. (5)
http://www.bputonline.com