Question

In: Computer Science

Given a 2.5 GB FAT hard disk (128 Sectors per Cluster) and assuming a pure ASCII...

Given a 2.5 GB FAT hard disk (128 Sectors per Cluster) and assuming a pure ASCII text file of 10,000 characters [Hint: 1 character is stored in one byte, one sector=512 byte]

What is the cluster size in bytes? [4 points]

How many clusters are assigned for this file? [4 points]

How many sectors are actually needed to store the file? [5 points]

How much is the RAM slack? [5 points]

How much is the drive slack? [5 points]

Show all calculations and explain/justify your answer.

Solutions

Expert Solution

Given that, 1 sector = 512 byte and 1 cluster = 128 sectors.

So, size of a cluster in bytes = 128*512 = 65536 bytes

Total bytes requried to store this file = 10000*1 = 10000 bytes (since 1 character takes 1 byte)

Sectors needed to store 10000 bytes = 10000/512 ≈ 20 (Since no. of sectors can't be in fraction)

So, number of clusters assigned = 20/128 ≈ 1 (Since no. clusters can't be in fraction)

As, we saw that 20th sector is not fully taken, it has x amt of space free.

x = 512*20 - 10000 = 240 byte

RAM slack is the amt of space left on the last logical sector of a file.

So, RAM slack = 240 byte

Drive slack consist of the remaining sectors after the logical sector in the last cluster assigned to the file.

Since, only one cluster is assigned to the file and there are 128 sectors per sector, remaining sectors of the cluster can be obtained by 128-20 = 108.

So, Drive slack = 108*512 = 55296 byte


Related Solutions

A company manufactures computers, whose hard disk has a capacity of 20 GB and others of...
A company manufactures computers, whose hard disk has a capacity of 20 GB and others of 30 GB. In the previous month, 35% of the computers sold were those with a 20 GB hard drive. Of buyers of computers with a 20 GB hard drive, 45% buy those with 356 MB of RAM, while 30% of buyers of computers with a 30 GB hard drive also do so. (a) What is the probability that a randomly selected computer will have...
1. A hard disk drive has 16 platters, 8192 cylinders, and 256 4KB sectors per track....
1. A hard disk drive has 16 platters, 8192 cylinders, and 256 4KB sectors per track. The storage capacity of this disk drive is at most Select one: a. 32 GB. b. 128 GB. c. 32 TB. 2. To further optimize I/O performance, some SSD schedulers Select one: a. merge adjacent write requests but not adjacent read requests. b. do not merge requests at all. c. merge adjacent read requests but not adjacent write requests. 3. What steps are necessary...
PowerDrive, Inc. produces a hard disk drive that sells for $175 per unit. The cost of...
PowerDrive, Inc. produces a hard disk drive that sells for $175 per unit. The cost of producing 25,000 drives in the prior year was: Direct material $625,000 Direct labor 375,000 Variable overhead 125,000 Fixed overhead 1,500,000 Total cost $2,625,000 At the start of the current year, the company received an order for 3,800 drives from a computer company in China. Management of PowerDrive has mixed feelings about the order. On the one hand they welcome the order because they currently...
"Assuming that your estimated total cost will grow by 2.5% per year (due to inflation), demonstrate...
"Assuming that your estimated total cost will grow by 2.5% per year (due to inflation), demonstrate how you would compute the expected future cost of your dream vacation. Suppose that you can invest money every month into a fee-free mutual fund and that this fund is expected to have a 10% nominal annual rate of return. Using your estimated future cost (including inflation) as a future value, determine the amount of money you must save each month for the next...
Assuming 1.5 ATP per FADH, 2.5 ATP per NADH in mitochondria, compare approximately how many ATP...
Assuming 1.5 ATP per FADH, 2.5 ATP per NADH in mitochondria, compare approximately how many ATP equivalents would be generated from the complete oxidation of 12-carbon worth of a. saturated fatty acid b. sugar (e.g. glucose) Show work (possibly drawing out the cycle).
PowerDrive, Inc. produces a hard disk drive that sells for $175 per unit. The cost of producing 25,000 drives in the prior year was:
PowerDrive, Inc. produces a hard disk drive that sells for $175 per unit. The cost of producing 25,000 drives in the prior year was:       Direct material $625,000 Direct labor 375,000 Variable overhead 125,000 Fixed overhead 1,500,000 Total cost $2,625,000   At the start of the current year, the company received an order for 3,200 drives from a computer company in China. Management of PowerDrive has mixed feelings about the order. On the one hand they welcome the...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT