Gujarat Technological University
Gujarat Technological University
___________
Process A B C D E
Arrival Time 0 2 4 6 8
Service Time 3 6 4 5 2
OR
Q.3 (a) What is Translation Lookaside Buffer? Explain the working of TLB with 07
flowchart.
(b) Given the following data, calculate Turnaround Time for each process and 07
average Turnaround for all processes using SPN and HRRN algorithms
Process A B C D E
Arrival Time 0 2 4 6 8
Service Time 3 6 4 5 2
Q.4 (a) What is scanning? Draw a DFA for Identifying integers in C Language. 07
(b) What is forward reference in Assembly language? Which assembler passes 07
deals with forward reference?
OR
Q.4 (a) What is parsing without back tracking? List its requirement. 07
(b) Write algorithm steps of pass 1 for the statements of DS, DC, MOVER, PRINT. 07
1
Q.5 (a) Explain static pointer and dynamic pointer. 07
(b) List and explain advanced assembler directives. 07
OR
Q.5 (a) Explain any two code optimization methods. 05
(b) Explain terminal symbol, non terminal symbol and grammar. 05
(c) Explain types of dynamic memory allocation. 04
*************