Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Tests  >  Test: File Structures- 1 - Computer Science Engineering (CSE) MCQ

Test: File Structures- 1 - Computer Science Engineering (CSE) MCQ


Test Description

12 Questions MCQ Test - Test: File Structures- 1

Test: File Structures- 1 for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Test: File Structures- 1 questions and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus.The Test: File Structures- 1 MCQs are made for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Test: File Structures- 1 below.
Solutions of Test: File Structures- 1 questions in English are available as part of our course for Computer Science Engineering (CSE) & Test: File Structures- 1 solutions in Hindi for Computer Science Engineering (CSE) course. Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free. Attempt Test: File Structures- 1 | 12 questions in 35 minutes | Mock test for Computer Science Engineering (CSE) preparation | Free important questions MCQ to study for Computer Science Engineering (CSE) Exam | Download free PDF with solutions
Test: File Structures- 1 - Question 1

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.

Test: File Structures- 1 - Question 2

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?

Detailed Solution for Test: File Structures- 1 - Question 2

Contiguous allocation scheme would work best for a file system implementation on a device that can only be accessed sequentially, a tape drive.

1 Crore+ students have signed up on EduRev. Have you? Download the App
Test: File Structures- 1 - Question 3

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?

Detailed Solution for Test: File Structures- 1 - Question 3
  • Anchor block contains first records of chain, while overflow block contains records other than those that are 1st records of a chain.
  • Anchor record is first record of a block.
Test: File Structures- 1 - Question 4

Which statement is false?

Test: File Structures- 1 - Question 5

Which indices search key defines the sequential order of file and which indices search key specifies an order different from sequential order of file?

Detailed Solution for Test: File Structures- 1 - Question 5

Primary indices search key defines the sequential order of fill while secondary indices search key defines an order different from sequential order of fills.

Test: File Structures- 1 - Question 6

Which of the following is correct?

Detailed Solution for Test: File Structures- 1 - Question 6

Most database systems use indexes built on some form of a B+ tree due to its many advantages, in particular its support for range queries. Leaf nodes are linked together in B* trees hence range queries are faster.

Test: File Structures- 1 - Question 7

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?

Detailed Solution for Test: File Structures- 1 - Question 7

Size of child pointer = 6 byte
Size of search field value takes 14 bytes Block size = 512 

Test: File Structures- 1 - Question 8

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

Detailed Solution for Test: File Structures- 1 - Question 8

Suppose all nodes are completely full that means every node has n - 1 keys.
Tree has 4 levels. If a new key is inserted then at every level new node will be created.
In worst case root node will also be broken into two parts and we have 4 levels.
So answer should be 5 because tree will be increased with one more level.

Test: File Structures- 1 - Question 9

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

Detailed Solution for Test: File Structures- 1 - Question 9

From the structure of B+ tree we can get the following equation:

In B+ tree, non leaf node has no record pointer: (by putting q = 0) 

Largest possible order of a non-leaf node = 34.

Test: File Structures- 1 - Question 10

With respect to the B+ tree index method, select the true statements

Detailed Solution for Test: File Structures- 1 - Question 10

In B+ tree index method records are physically stored in primary key order.

Test: File Structures- 1 - Question 11

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.

Detailed Solution for Test: File Structures- 1 - Question 11

For storing the records no. of blocks required =n/3
and For storing the keys in dense index no. of blocks required =n/10
So total blocks required 

Test: File Structures- 1 - Question 12

Which is the best suitable for sequential access of data?

Detailed Solution for Test: File Structures- 1 - Question 12

B+ tree is best suitable for sequential acess of data.

Information about Test: File Structures- 1 Page
In this test you can find the Exam questions for Test: File Structures- 1 solved & explained in the simplest way possible. Besides giving Questions and answers for Test: File Structures- 1, EduRev gives you an ample number of Online tests for practice

Top Courses for Computer Science Engineering (CSE)

Download as PDF

Top Courses for Computer Science Engineering (CSE)