GATE CS I/O Scheduling questions
Practise I/O Scheduling questions for GATE CS. Explore official PYQs and original topic-wise quizzes, check answers and view available solutions. Free, no sign-in.
Subject, topic, year and type filter the full library. Match any choice within a filter, and all selected filter categories. Search, source and sort apply to this page.
20 on this page
Consider a GB hard disk with storage surfaces. There are sectors per track and each sector holds bytes of data. The number of cylinders in the hard disk is _________.
Consider a disk with the following specifications: rotation speed of RPM, average seek time of milliseconds, sectors/track, -byte sectors. A file has content stored in sectors located randomly on the disk. Assuming average rotational latency, the total time (in seconds, rounded off to decimal places) to read the …
Consider the following five disk access requests of the form (request id, cylinder number) that are present in the disk scheduler queue at a given time. Assume the head is positioned at cylinder . The scheduler follows Shortest Seek Time First scheduling to service the requests. Which one of the following …
Consider a storage disk with platters (numbered as and ), cylinders (numbered as ), and sectors per track (numbered as ). The following disk requests of the form [sector number, cylinder number, platter number] are received by the disk controller at the same time: …
Cylinder a disk queue with requests for to blocks on cylinders The C-LOOK scheduling algorithm is used. The head is initially at cylinder number , moving towards larger cylinder numbers on its servicing pass. The cylinders are numbered from to . The total head movement (in number of cylinders) …
Consider a disk pack with a seek time of milliseconds and rotational speed of rotations per minute (RPM). It has sectors per track and each sector can store bytes of data. Consider a file stored in the disk. The file contains sectors. Assume that every sector access necessitates a seek, and the average rotational …
Suppose the following disk request sequence (track numbers) for a disk with tracks is given: Assume that the initial position of the R/W head is on track . 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 …
Consider a typical disk that rotates at rotations per minute (RPM) and has a transfer rate of bytes/sec. If the average seek time of the disk is twice the average rotational delay and the controller's transfer time is times the disk transfer time, the average time (in milliseconds) to read or write a -byte sector of …
Suppose a disk has cylinders, numbered from to . At some time the disk arm is at cylinder , and there is a queue of disk access requests for cylinders and . If Shortest-Seek Time First (SSTF) is being used for scheduling the disk access, the request for cylinder is serviced after …
A file system with GByte disk uses a file descriptor with direct block addresses, indirect block address and doubly indirect block address. The size of each disk block is Bytes and the size of each disk block address is Bytes. The maximum possible file size in this file system is
An application loads libraries at startup. Loading each library requires exactly one disk access. The seek time of the disk to a random location is given as ms. Rotational speed of disk is rpm. If all libraries are loaded from random locations on the disk, how long does it take to load all libraries? (The time to transfer data …
A hard disk has sectors per track, platters each with recording surfaces and cylinders. The address of a sector is given as a triple , where is the cylinder number, is the surface number and is the sector number. Thus, the 0 sector is addresses as , …
A hard disk has sectors per track, platters each with recording surfaces and cylinders. The address of a sector is given as a triple , where is the cylinder number, is the surface number and is the sector number. Thus, the 0 sector is addresses as , …
Consider a disk system with cylinders. The requests to access the cylinders occur in following sequence: Assuming that the head is currently at cylinder , what is the time taken to satisfy all requests if it takes to move from one cylinder to adjacent one and shortest seek time first …
For a magnetic disk with concentric circular tracks, the seek latency is not linearly proportional to the seek distance due to
Consider a disk pack with surfaces, tracks per surface and sectors per track. bytes of data are stored in a bit serial manner in a sector. The capacity of the disk pack and the number of bits required to specify a particular sector in the disk are respectively:
What is the swap space in the disk used for?
Normally user programs are prevented from handling I/O directly by I/O instructions in them. For CPUs having explicit I/O instructions, such I/O protection is ensured by having the I/O instruction privileged. In a CPU with memory mapped I/O, there is no explicit I/O instruction. Which one of the following is true for a CPU with memory mapped I/O?
Which one of the following is true for a CPU having a single interrupt request line and a single interrupt grant line?
A unix-style I-nodes has direct pointers and one single, one double and one triple indirect pointers. Disk block size is Kbyte, disk block address is bits, and -bit integers are used. What is the maximum possible file size?
