Question

In: Other

Consider a file currently consisting of 100 blocks. Assume that the File Control Block (or, the...

Consider a file currently consisting of 100 blocks. Assume that the File Control Block (or, the index block, in case of indexed allocation) is already in the RAM. Calculate how many disk I/O operations (“read block” or “write block”) are required for contiguous, linked, and indexed (single-level) allocation strategies, if the following conditions hold (In the contiguous allocation case, assume that there is no room to grow in the beginning, but there is a room to grow in the end. In the linked allocation case, assume that FCB stores pointers to the first and the last block of the file; note that if a block is added or removed at the front or the end of the file, then the corresponding pointer is to be updated in FCB, but, since FCB is in the RAM, it does not require additional I/O operations. Assume that the block information to be written to the hard disk is stored in RAM). 


a. The block is added at the beginning 

b. The block is added in the middle 

c. The block is added at the end 

d. The block is removed from the beginning 

e. The block is removed from the end. 


This question was answered before but they gave just the answers no explanation. Can someone explain how the numbers were derived?

Solutions

Expert Solution


Related Solutions

Consider a file currently consisting of 200 blocks. Assume that the file control block (and the...
Consider a file currently consisting of 200 blocks. Assume that the file control block (and the index block, in the case of indexed allocation) is already in memory. Calculate how many disk I/O operations are required for contiguous, linked, and indexed (single-level) allocation strategies, if the following conditions hold. In the contiguous allocation case, assume that there is no room to grow in the beginning, but there is room to grow in the end. Assume that the block information to...
Assume there is a file which consists of 20 blocks. Consider that the file-control block is...
Assume there is a file which consists of 20 blocks. Consider that the file-control block is already stored in the memory. Calculate the number of disk I/O operations are required for contiguous and linked allocation strategies, if, for one block, the following conditions hold. Also assume that the block information to be added is stored in memory. a. The block is added at the beginning. b. The block is added in the middle. c. The block is added at the...
Consider the following four blocks, all of which are attached to identical springs: block A: mass...
Consider the following four blocks, all of which are attached to identical springs: block A: mass = 200·g, spring stretched 10·cm block B: mass = 800·g, spring stretched 20·cm block C: mass = 400·g, spring stretched 20·cm block D: mass = 400·g, spring stretched 20·cm. (a) All the blocks are placed on a level surface that has no significant friction. For each of the following ranking tasks use the symbols > and = to indicate your ranking (ties are possible),...
For this question (Determine the velocity of the 60 kg block A if the two blocks...
For this question (Determine the velocity of the 60 kg block A if the two blocks are released from rest and the 40 kg block B moves 0.6 m up the in cline. The coefficient of kinetic friction between both blocks and the inclined planes is = 0.05.), how is T(2) = 110 V(a)^2 instead of T(2) = -50V(a)^2
Suppose that two blocks are positioned on an Atwood machine so that the block on the...
Suppose that two blocks are positioned on an Atwood machine so that the block on the right of mass m1 hangs at a lower elevation than the block on the left of mass m2. Both blocks are at rest. Based on this observation, what can you conclude? A) m1>m2 B) m1<m2 C) m1=m2 D) You cannot conclude anything with the given information.
Consider a process consisting of three resources. Assume there exists unlimited demand for the product.
PA 3-3 (Static) Consider a process consisting of three... Consider a process consisting of three resources. Assume there exists unlimited demand for the product. • Resource 1 has a processing time of 6 minutes per unit. • Resource 2 has a processing time of 3 minutes per unit. • Resource 3 has a processing time of 5 minutes per unit. The three resources are staffed by different workers individually. The flow diagram is shown above. Round "Capacity of resource" to 3 decimal places. a. What is the...
Consider a process consisting of three resources. Assume thereexists unlimited demand for the product, and...
Consider a process consisting of three resources. Assume there exists unlimited demand for the product, and that all activities are always performed in the following sequence.Resource 1 has a processing time of 6 minutes per unit.Resource 2 has a processing time of 3 minutes per unit.Resource 3 has a processing time of 5 minutes per unit.All three resources are staffed by one worker and each worker gets paid $12 per hour.f. If one additional worker could be hired, to which...
Consider a process consisting of three resources. Assume there exists unlimited demand for the product, and...
Consider a process consisting of three resources. Assume there exists unlimited demand for the product, and that all activities are always performed in the following sequence.  • Resource 1 has a processing time of 7 minutes per unit.  • Resource 2 has a processing time of 4 minutes per unit.  • Resource 3 has a processing time of 6 minutes per unit.  All three resources are staffed by one worker and each worker gets paid $10 per hour.    a....
Four blocks are connected by a weightless cord. Block A hangs from a table on the...
Four blocks are connected by a weightless cord. Block A hangs from a table on the left. Block B and C rest upon the table. Block D hangs from the table on the right. Block A and D are over pulleys. Block B has a weight of 1N, Block C=4N and Block D=7N. a. Find the weight of Block A such that the accelartion of Block B is (g/7) b. Find the coefficient of friction for the table, if the...
Given the mass of two blocks that collide, and the velocities of each block before and...
Given the mass of two blocks that collide, and the velocities of each block before and after the collision, be able to determine whether the collision was elastic, partially or completely inelastic, or not possible since an unnamed external force would be necessary to change the momentum, and/or kinetic energy of the system. Please explain in simplest terms and give an example using units given.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT