(Academic Year – 2019-20 Sem-II) UNIT TEST - I Subject: Systems Programming Subject Code: 314451 Class: TE ( IT ) Div: XI [ Max. Marks : 30] Date: 07/02/2020 Day: Friday Duration: 1 Hour
Instructions to the candidate: SET-D
1. All questions are compulsory. Roll No: - 2. Assume suitable data, if necessary.
Ques. CO Bloom’s Max
Question No. Mapped LL Marks For the following piece of assembly language code, show the contents of symbol table, literal table, pool table and IC (Variant I and Variant II). Assume machine opcodes and size of instruction as 1. START 100 A DC 10 MOVER AREG, B MOVEM BREG, = '1' ADD AREG, = '2' 1-a CO-1 L3, L5 07 SUB BREG, = '1' B EQU A + 20 LTORG STORE AREG, NUM MOVER CREG, LOOP ADD BREG, = '1' NUM DS 5 LOOP DC 10 END 1-b Write a short note on Language Processing Activities. CO-1 L1 03 Explain basic functions of loader. Also explain the working of 2-a CO-2 L1, L2 04 compile and go loader. With format explain the following macro directives: MACRO, 2-b CO-2 L1, L2 06 MEND, AIF, AGO, LBL and GBL. 3-a Write a neat diagram explain the phases of compiler. CO-3 L2 05 Using RE to DFA algorithm generate the DFA for the given 3-b CO-3 L4, L5 05 Regular Expression. (a+b)*a*b.