Complete the sentence to describe contiguous allocation.
In contiguous allocation, each file occupies [1] block(s) of storage that are next to each other.Contiguous allocation means the file's blocks are stored next to each other in adjacent locations on disk.
Complete the sentence to explain a limitation of contiguous allocation.
A major limitation of contiguous allocation is [1] fragmentation, which makes it hard to find a large enough free space.External fragmentation occurs when free space is split into small pieces scattered around, making it difficult to allocate large contiguous blocks.
Fix the error in the statement about file access in contiguous allocation.
In contiguous allocation, direct access to any block of a file is possible by calculating the block's [1].
The address of the block can be calculated because blocks are stored contiguously, allowing direct access.
Fill both blanks to complete the formula for calculating the address of the nth block in contiguous allocation.
Address of nth block = Starting address [1] (n [2] 1) * block size
The address is calculated by adding the product of (n - 1) and block size to the starting address.
Fill all three blanks to complete the dictionary comprehension that maps file names to their contiguous block ranges.
file_blocks = { [1]: (start, start + length [2] 1) for [3], (start, length) in files.items() }This comprehension creates a dictionary where each file name maps to a tuple showing the start and end block addresses of its contiguous allocation.