GoConqr has a new look! Let us know what you think.

Quiz

5. B-Tree

Mena Sargios 18 questions

Take the quiz

Questions in this quiz (18)

  1. 1What are b-tree's optimized for in comparison to binary search trees?
    1. ABinary search tree's have a very long height and they aren't made for massive blocks of data
      whereas b-tree's are optimized for systems reading and writing large blocks of data and is best
      utilized when it is written to external memory sources or disk.
    2. Bnone of the above
  2. 2You hired to create a database for a large corporation. Your
    employeers want you to organize their data in a tree data structure.
    Which is an appropriate tree data structure?
    1. AA) AVL Tree
    2. BB) 2-3 Tree
    3. CC) B-Tree
    4. DD) Red/Black Tree
  3. 3What makes a b-tree seperate from a binary tree?
    1. AEach node can have multiple elements of (n) with children of (n+1)
    2. Bnone of the above
  4. 4Which one of the following is a key factor for preferring B-trees to binary search trees for indexing database relations?
    1. AA.Database relations have a large number of records
    2. BB.Database relations are sorted on the primary key
    3. CC.B-trees require less memory than binary search trees
    4. DD.Data transfer form disks is in blocks
  5. 5What are B-tree's optimized to do?
    1. AReadn and write large blocks of data
    2. Bnone of the above
  6. 6B-Tree is a self-balancing search tree.
    1. ATrue
    2. BFalse
  7. 7in a binary search tree, a node can have up to ______ children, while in a 2-3 tree it can have up to ________ children,
    and in a 2-3-4 tree a node can have up to _____ chidlren?
    1. AA.2, 2, 2
    2. BB.2, 1, 3
    3. CC.2, 3, 4
    4. DD.2, 4, 1
  8. 8Which of the following is true of B-trees?
    1. Aa. The data items are stored at leaves.
    2. Bb. The nonleaf nodes store up to M-1 keys to guide the searching.
    3. Cc. The root is either a leaf or has between two and M children.
    4. Dd. All of these are true!
  9. 9What is the worst case search time for a B-Tree?
    1. AA) O(n^2)
    2. BB) O(n log n)
    3. CC) O(log n)
    4. DD) O(n)
  10. 10The B-tree:
    1. Aa. Keeps values balanced with a sorting algorithm
    2. Bb. uses partially full blocks to speed insertions and deletions
    3. Cc. keys are in sorted order for reverse sequential traversing
    4. Dd. None of the above

Information

Description
Algorithms and Data Structures | Test 3 Review | CSCI-3110-002 MTSU
Language
English
Views
693
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?