Suppose we have a block-addressable disk drive. With such block-organized disk nondata overhead of subblocks and interblock gaps have to be accounted for. There are 40000 bytes per track and the amount of space taken up/by subblocks and interblocks gaps equivalent to 250 bytes per block. A file contains records and record size is 200 bytes to be stored on the disk, if a total of 32 blocks can be stored per track then what is the blocking factor? The term "blocking factor” is used to indicate the number of records that are to the stored in each block in a file. A block is organized to hold an integral number of logical records.
Which allocation scheme would work best for a file system implemented on a device that can only be accessed sequentially, a tape drive, for instance?
1 Crore+ students have signed up on EduRev. Have you? Download the App |
Consider the following statements:
S1 : Anchor block contains first records of chain.
S2: Anchor record is first record of a block.
Which of the above statements is/are true?
Which indices search key defines the sequential order of file and which indices search key specifies an order different from sequential order of file?
The order of an internal node in a B+ tree index is the maximum number of children it can have. Suppose that a child pointer takes 6 bytes, the search field value takes 14 bytes, and the block size is 512 bytes. What is the order of the internal node?
A B tree used as an index for a large database table has four levels including the root node. If a new key is inserted in this index, then the maximum number of nodes that could be newly created in the process are
In a database file structure, the search key field is 9 bytes long, the block size is 512 bytes, a record pointer is 7 bytes and a block pointer is 6 bytes. The largest possible order of a leaf node in a B+ tree implementing this file structure is
With respect to the B+ tree index method, select the true statements
Given a block can hold either 3 records or 10 key pointers. A database contains n records, then how many blocks do we need to hold the data file and the dense index.
Which is the best suitable for sequential access of data?
55 docs|215 tests
|
55 docs|215 tests
|