GATE 2019 Computer Science and Information Technology (CS) Questions with Solutions

GATE 2019

65 questions

MCQ 41 · NAT 241-mark 30 · 2-mark 35

Questions 51–55 of 65

Q51CPU Scheduling2 marksNAT
Consider the following four processes with arrival times (in milliseconds) and their length of CPU burst (in milliseconds) as shown below:
Process P1 P2 P3 P4 Arrival time 0 1 3 4 CPU burst time 3 1 3 Z These processes are run on a single processor using preemptive Shortest Remaining Time First scheduling algorithm. If the average waiting time of the processes is 1 millisecond, then the value of Z is __________.

Q52File Systems2 marksNAT
The index node (inode) of a Unix-like file system has 12 direct, one single-indirect and one double-indirect pointer The disk block size is 4 kB and the disk block addresses 32-bits long. The maximum possible file size is (rounded off to 1 decimal place) __________ GB.

Q53Parsing2 marksNAT
Consider the augmented grammar given below:
S′→SS'\rightarrow S
S→<L>∣idS \rightarrow \lt L \gt |id
L→L,S∣SL \rightarrow L,S|S

Let I0=CLOSURE({[S′→⋅S]})I_0=CLOSURE(\{[S'\rightarrow \cdot S]\}). The number of items in the set GOTO(I0,<)GOTO(I_0,\lt) is __________.

Q54Eigenvalues and Eigenvectors2 marksNAT
Consider the following matrix:
[1248139271416641525125]\begin{bmatrix} 1 & 2 & 4 & 8\\ 1& 3 & 9 &27 \\ 1 & 4 & 16 &64 \\ 1 & 5 & 25 &125 \end{bmatrix}
The absolute value of the product of Eigenvalues of R is _________ .

Q55Cache Memory2 marksNAT
A certain processor deploys a single-level cache. The cache block size is 8 words and the word size is 4 bytes. The memory system uses a 60-MHz clock. To service a cache-miss, the memory controller first takes 1 cycle to accept the starting address of the block, it then takes 3 cycles to fetch all the eight words of the block, and finally transmits the words of the requested block at the rate of 1 word per cycle. The maximum bandwidth for the memory system when the program running on the processor issues a series of read operations is _________×106\times 10^6 bytes/sec.