Question

In a FAT 12 file system(a cluster contains 2 sectors), a file has a size of...

In a FAT 12 file system(a cluster contains 2 sectors), a file has a size of 123 bytes, how large is the RAM slack in bytes introduced by this file?

1. 1000

2. 901

3. 512

4. 389

Homework Answers

Answer #1

Option (2) is the correct answer.

Slack space can be defined as the leftover space after storing a file in the cluster which has a smaller size than the allocated space.

File size = 123 Bytes

Size of one sector in FAT 12 = 512 Bytes

Number of sectors in one cluster = 2

So, size of one cluster = (512 * 2) Bytes = 1024 Bytes

So, the RAM slack = (allocated size - file size) = (1024 - 901) bytes = 901 Bytes

Option (1) is incorrect as it provides wrong answer (901 is correct).

Option (3) is incorrect as it provides wrong answer (901 is correct).

Option (4) is incorrect as it provides wrong answer (901 is correct).

Please comment in case of any doubt.
Please upvote if this helps.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Suppose the cluster size of a FAT system is 4 sectors, and we have created a...
Suppose the cluster size of a FAT system is 4 sectors, and we have created a text file of 900 bytes. What is the size of the file on disk?
PLEASE EXPLAIN THE ANSWER The file data1 contains: 0 3 6 9 12 The file data2...
PLEASE EXPLAIN THE ANSWER The file data1 contains: 0 3 6 9 12 The file data2 contains: 10 8 6 4 2 The file data3 contains: 20 10 0 20 80 Give the output when run with: ./a.out data1 data2 data3 #include <stdio.h> int main( int argc, char *argv[] ) { FILE *fpOne = fopen(argv[1], "r"); FILE *fpTwo = fopen(argv[2], "r"); FILE *fpThree = fopen(argv[3], "r"); int a, num1, num2, num3, sum1=0, sum2=0; for (a=0; a<5; a++) { fscanf(fpOne, "%d",...
Suppose Host A wants to send a large file to Host B. The path from Host...
Suppose Host A wants to send a large file to Host B. The path from Host A to Host B has three links, of rates R1 = 500 Kbps, R2 = 2 Mbps, and R3=1 Mbps.      a. Assuming no other traffic in the network, what is the throughput for the file transfer? b. Suppose the file is 4 million bytes. Dividing the file size by the throughput, roughly how long will it take to transfer the file to Host B?...
3)      A project manager at System Design Corporation has collected the following data on the size...
3)      A project manager at System Design Corporation has collected the following data on the size of software programs and the length of programming time. The company is bidding on a new system that is estimated to consist of 300,000 lines of code. Use a scatter plot to find the correlation function of coding time to the program size and estimate the number of days it would take to code the system. Module Size in 1000 lines of code (KLOC)...
1. The memory units that follow are specified by the number of words times the number...
1. The memory units that follow are specified by the number of words times the number of bits per word. How many address lines and input/output data lines are needed in each case? (a) 8K X 16 (b) 2G X 8 (c) 16M X 32 (d) 256K X 64 2. Give the number of bytes stored in each memory unit in question 1. 3. Word number 563 decimal in the memory shown in Fig. 7.3 (see Mano-Ch7.pdf) contains the binary...
Computer archieture 1. Let us assume we have such a machine. The physical RAM has 32...
Computer archieture 1. Let us assume we have such a machine. The physical RAM has 32 bytes, and is evenly divided into 4 pages. The virtual memory has 16 pages. The content in the page table and physical RAM is shown below Physical RAM Page Num Page data 3 11 ~QWERTYU 2 10 IOPASDFG 1 01 HJKLZXCV 0 00 BNM<>[]? Page table 15 0 14 0 13 0 12 1 01 11 0 10 0 9 1 11 8 0...
- An ISP has a CIDR block 71.94.128.0/17 (01000111 01011110 10000000 00000000). The ISP wants to...
- An ISP has a CIDR block 71.94.128.0/17 (01000111 01011110 10000000 00000000). The ISP wants to sub-divide this into 4 smaller CIDR blocks (all of the same size) for its customers. a. How many bits should the ISP add to the mask to identify the subnets? b. What are the addresses of each smaller block in binary? (Show Work) - A large IPv4 packet with Identification = 123 and with a 20 byte header and 1000 bytes of payload data...
Sanwich Calories Fat Sat Fat Carbs Sodium Wendy's Ultimate Chicken Grill 360 7 2 44 1100...
Sanwich Calories Fat Sat Fat Carbs Sodium Wendy's Ultimate Chicken Grill 360 7 2 44 1100 Baja Fresh Original Baja Taco with Charbroiled Chicken 370 8 1 53 680 Burger King Smoky BBQ Fire Grilled Chicken Baguette 380 4 2 57 1580 Quiznos Sub Honey Bourbon Chicken on Wheat Bread 400 5 1 57 1040 McDonald's Chicken McGrill 400 16 3 37 1020 Blimpie Grilled Chicken Hot Sub 470 20 4 51 910 Subway Oven Roasted Chicken Breast 470 20...
A virtual memory has a page size of 32 words. There are 16 pages and 8...
A virtual memory has a page size of 32 words. There are 16 pages and 8 blocks. The associative memory page table contains the following entries Page Block a) For the following CPU addresses find the virtual addresses: B5, 2A (hex) b) For the following virtual addresses find the CPU addresses: 1A9, 016, 149 (hex) Page Block 0 3 4 5 7 2 9 4 12 0 13 1 14 6 15 7
Problem 11-30 (Algorithmic) A large insurance company maintains a central computing system that contains a variety...
Problem 11-30 (Algorithmic) A large insurance company maintains a central computing system that contains a variety of information about customer accounts. Insurance agents in a six-state area use telephone lines to access the customer information database. Currently, the company's central computer system allows three users to access the central computer simultaneously. Agents who attempt to use the system when it is full are denied access; no waiting is allowed. Management realizes that with its expanding business, more requests will be...