Question

a drive has 512 sectors per track a block size of 512 bytes and spins at...

a drive has 512 sectors per track a block size of 512 bytes and spins at 12000 rpm.

(a)what is the max file size in terms of blocks for a unix file system with 1024 byte blocks and 32 bit bloack addresses if every i-node has 10 direct block addresses, 1 indirect block address, 1 double indirect block address and 1 triple indirect block address.

(B) consider the prefix code :

b: 1111 a:1110 i:1101 j:1100 s:101 t:100 1:01 3:00

decompress the message: 011110110110100

0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
a drive has 512 sectors per track a block size of 512 bytes and spins at...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • A UNIX-type file-system uses a disk block size of 1KB, 128 byte inodes, and 32 bit...

    A UNIX-type file-system uses a disk block size of 1KB, 128 byte inodes, and 32 bit disk addresses. If the inode contains 64 bytes of data, 8 direct, 1 indirect, 1 double-indirect, and 1 triple- indirect blocks, apart from other file information. How many disk blocks would be required for storing files of sizes (a) 1 byte (b) 1024 bytes (c) 64 KB (d) 1MB ?

  • Q1) A particular implementation of UNIX operating system provides the file structure modelled in the Figure...

    Q1) A particular implementation of UNIX operating system provides the file structure modelled in the Figure 1. Here the i-node for the file contains certain information such as the access permissions for the file. This is followed by the entries that contain information about where the file is located on the storage device. The first 10 entries are the addresses of blocks where actual data for the file are stored. If block can contain 512 bytes of information, then these...

  • Consider a disk with block size = 4096 bytes. A block pointer is 6 bytes and...

    Consider a disk with block size = 4096 bytes. A block pointer is 6 bytes and a record pointer is 8 bytes long. A file has 100,000 records of fixed length. Each record has the following fields and byte size: Name (30), Ssn (9), Dept (9), Address (40), Phone (10), Bdate (8), Sex (1), Job (4) and Salary (4). An additional byte is used as a deletion marked. a. Calculate the record size R in bytes b. Calculate the blocking...

  • Part B Consider a file system that uses a structure similar to an i-node with the...

    Part B Consider a file system that uses a structure similar to an i-node with the following differences. If the file size is less than 100 bytes, the data is stored directly in the i-node. If it is larger, there are 8 direct links (point to a data block), 2 single-indirect links, 1-double indirect links and 1 triple indirect link. What is the largest file size that can be indexed in this system? Assume the block size is 1024 bytes....

  • 11. Consider a file system that uses a structure similar to an i-node with the following...

    11. Consider a file system that uses a structure similar to an i-node with the following differences. If the file size is less than 100 bytes, the data is stored directly in the i-node. If it is larger, there are 6 direct links (point to a data block), 1 single-indirect links, 2-double indirect links and 1 triple indirect link. (a) What is the largest file size that can be indexed in this system? Assume the block size is 512 bytes....

  • Given a Ext3 filesystem that uses: - 32 bit addresses, - 512 byte blocks on disk, - 16 direct add...

    Given a Ext3 filesystem that uses: - 32 bit addresses, - 512 byte blocks on disk, - 16 direct addresses and - up to a level 3 indirection Answer the following questions: 1) How many blocks does a 12KiB file need?    2) What is the largest file size (in KiB) that does not need indirect block references? 3) What is the largest file size (in KiB) possible using only single indirection?   4) A file that is 1104 bytes in size,...

  • Problem 1. Consider a disk with block size B=1024 bytes. A block pointer is P =...

    Problem 1. Consider a disk with block size B=1024 bytes. A block pointer is P = 8 bytes long, and a record pointer is R =7 bytes long. A file has r=5,000,000 EMPLOYEE records of fixed- length. Each record has the following fields: NAME (30 bytes), SSN (9 bytes), DEPARTMENTCODE (9 bytes), ADDRESS (35 bytes), PHONE (9 bytes), BIRTHDATE (8 bytes), SEX (1 byte), JOBCODE (4 bytes), SALARY (4 bytes, real number). An additional byte is used as a deletion...

  • Question 12 Consider a magnetic disk drive with 10 double sided platters, 512(=2^9) tracks per surface,...

    Question 12 Consider a magnetic disk drive with 10 double sided platters, 512(=2^9) tracks per surface, and 1024 (=2^10) sectors per track. Sector size is 2KBytes (=2^10 Bytes ). Assume the average seek time 0.02 ms, the seek time from a track to its adjacent track can be ignored. The drive rotates at 5400 rpm. Successive tracks in a cylinder can be read without head movement. Furthermore, disks can be handled independently, so multiple tracks in a cylinder can be...

  • 17 18 19 Direction of disk rotation 14 15 19 20 21 22 23 24 Figure on the right shows the tracks and sectors on a disk. The size of File A, B, and C is 1028 bytes, 2521 bytes, and 8211 bytes respecti...

    17 18 19 Direction of disk rotation 14 15 19 20 21 22 23 24 Figure on the right shows the tracks and sectors on a disk. The size of File A, B, and C is 1028 bytes, 2521 bytes, and 8211 bytes respectivelv. Answer the following questions. 17 18 1 27 28/29 2212324252 If data block size is 1KB, how many data blocks does this disk contain? Answer: How many data blocks does File A take? Answe How many...

  • STORAGE AND FILE SYSTEM • Example 9-A 32-bit Berkeley UNIX file system has a block size...

    STORAGE AND FILE SYSTEM • Example 9-A 32-bit Berkeley UNIX file system has a block size of 8 kilobytes. How many blocks of a given file can be accessed: • (a) Using the block addresses stored in the i-node? blocks • (b) With one level of indirection? blocks _blocks • (c) With two levels of indirection?

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT