GATE 2014 (Session 3) Computer Science and Information Technology (CS) Questions with Solutions

GATE 2014 (Session 3)

65 questions

MCQ 47 · NAT 181-mark 30 · 2-mark 35

Questions 41–45 of 65

Q41Deadlock2 marksNAT
A system contains three programs and each requires three tape units for its operation. The minimum number of tape units which the system must have such that deadlocks never arise is _________.

Q42CPU Scheduling2 marksNAT
An operating system uses shortest remaining time first scheduling algorithm for pre-emptive scheduling of processes. Consider the following set of processes with their arrival times and CPU burst times (in milliseconds):
Process Arrival Time Burst Time P1 0 12 P2 2 4 P3 3 6 P4 8 5
The average waiting time (in milliseconds) of the processes is _________.

Q43Memory Management2 marksNAT
Consider a paging hardware with a TLB. Assume that the entire page table and all the pages are in the physical memory. It takes 10 milliseconds to search the TLB and 80 milliseconds to access the physical memory. If the TLB hit ratio is 0.6, the effective memory access time (in milliseconds) is _________.

Q44Intermediate Code Generation2 marksMCQ−0.67 if wrong
Consider the basic block given below.
a= b + c
c =a + d
d =b + c
e =d - b
a =e + b
The minimum number of nodes and edges present in the DAG representation of the above basic block respectively are

Q45Undecidability2 marksMCQ−0.67 if wrong
Which one of the following problems is undecidable?