GATE 2015 (Session 1) Computer Science and Information Technology (CS) Questions with Solutions

GATE 2015 (Session 1)

65 questions

MCQ 45 · NAT 201-mark 30 · 2-mark 35

Questions 56–60 of 65

Q56Disk Scheduling2 marksNAT
Suppose the following disk request sequence (track numbers) for a disk with 100 tracks is given: 45, 20, 90, 10, 50, 60, 80, 25, 70. Assume that the initial position of the R/W head is on track 50. The additional distance that will be traversed by the R/W head when the Shortest Seek Time First (SSTF) algorithm is used compared to the SCAN (Elevator) algorithm (assuming that SCAN algorithm moves towards 100 when it starts execution) is____________ tracks.

Q57Memory Management2 marksMCQ−0.67 if wrong
Consider a main memory with five page frames and the following sequence of page references: 3, 8, 2, 3, 9, 1, 6, 3, 8, 9, 3, 6, 2, 1, 3. Which one of the following is true with respect to page replacement policies First In First Out (FIFO) and Least Recently Used (LRU)?

Q58Definite and Improper Integrals2 marksNAT
∫1/π2/πcos(1/x)x2dx=\int_{1/ \pi }^{2/ \pi}\frac{cos(1/x)}{x^{2}}dx=_________.

Q59Eigenvalues and Eigenvectors2 marksMCQ−0.67 if wrong
Consider the following 2x2 matrix A where two elements are unknown and are marked by a and b. The eigenvalues of this matrix are -1 and 7. What are the values of a and b?
A=(14ba)A=\begin{pmatrix} 1 & 4\\ b&a \end{pmatrix}.