Question: Figure Q19(c) shows a singly linked list data structure. Answer the following questions. (i) Based on the answer in Q19(b), a new file needs four


Figure Q19(c) shows a singly linked list data structure. Answer the following questions. (i) Based on the answer in Q19(b), a new file needs four blocks to be stored in the secondary storage. Assign the values of X1, X2, X3 and X4 when using Linked Allocation technique. ( 6 marks) (ii) What method can be used to access the file content of X3? (1 mark) Q19 Figure Q19 shows a set of blocks of a secondary storage, each of which consists a block number. Analyze the figure and answer the following questions. (a) Assume that the size of each block is 512B. How many blocks should be allocated for a file with a size of 2560B ? ( 2 marks) (b) Figure Q19(b) shows a directory entry for four files named JJ, KK, CJ and LT in a disk. Based on Figure Q19(b), illustrate the free space of the secondary storage using Bit Vector approach. (6 marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
