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

Quiz

3. 2-3 Tree

Mena Sargios 19 questions

Take the quiz

Questions in this quiz (19)

  1. 1What are the internal node stipulations in a 2-3 tree?
    1. AThe internal node must have one data item and two children or two data items and three children.
    2. Bnone of the above
  2. 2An internal node in a 2-3 tree is said to be a _ node if it has
    two data elements and ___ children.
    1. AA) 2, 2
    2. BB) 3, 2
    3. CC) 3, 3
    4. DD) 2, 3
  3. 3What makes a 2-3 tree seperate from a binary tree?
    1. AEach node can have up to two elements and three children.
    2. Bnone of the above
  4. 4all leaves in a 2-3 tree are at the same level?
    1. ATrue
    2. BFalse
  5. 5What is the lookup time for 2-3 Tree?
    1. AA.nlogn
    2. BB.log M(where m is the numbr of keys)
    3. CC.n
    4. DD.None of the above
  6. 6What time for searching does a 2-3 tree gurantee?
    1. AO(log n)
    2. BO(n^2)
  7. 7The worst possible case for the binary tree is that all of the data is entered in order.
    1. ATrue
    2. BFalse
  8. 8In a 2-3 tree a node that has two values must be?
    1. AA. only a leaf node
    2. BB. only a node with 3 children
    3. CC. either a leaf node or a node with 3 children
  9. 9Which of the following is false about 2-3 trees?
    1. Aa. Every internal node is a 2-node or a 3-node.
    2. Bb. Leaves are not at the same level.
    3. Cc. All data is kept in sorted order.
    4. Dd. None of the above
  10. 10What is the maximum number of children a 2-3 tree can have?
    1. AA) 3
    2. BB) 2
    3. CC) 6
    4. DD) There is no limit

Information

Description
Algorithms and Data Structures | Test 3 Review | CSCI-3110-002 MTSU
Language
English
Views
488
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?