System Programming
System Programming
QUESTION BANK
1.List the phases that constitute the front end of a compiler?
6.Give the uses of following directives: RESB, RESW, BYTE and WORD with
examples?
7.In an Assembler Design Process, what are the uses of following tables:
POT, MOT and SYMTAB? Explain their structures also.
11.Which amongst the one pass and two assembler is better and why?
16.Write the actions of an LR Parse for the following string for the grammar
and parse table given below: aa1bbbb
Grammar:
S ->A
S->B
A->aAb
A->0
B->1
B->aBbb
S->aX
X-> bX | bY
Y->c
The symbols S,X,Y are non-terminals and S is the start symbol while a,b and
c are terminal symbols.