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

Quiz

1. Trees Splay Trees

Mena Sargios 20 questions Updated 7 Dec 2016

Take the quiz

Questions in this quiz (20)

  1. 1Splay trees use AVL rotation by taking nodes that not have been accessed and move them toward the leaves.
    1. ATrue
    2. BFalse
  2. 2What is a splay tree and what is the act of splaying?
    1. AA splay tree is a self-adjusting binary search tree. The act of splaying is
      that after a node is accessed, it is moved up in the tree toward the root with
      AVL rotations.
    2. Bnone of the above
  3. 3What is the Big O for average case of Reterieval for Splay trees?
    1. Alog(N)
    2. BO(N^2)
  4. 4What is the benefit of using splay trees?
    1. Ait allows easier access to recently added values.
    2. Bnone of the above
  5. 5Splaying is used for balancing binary search trees.
    1. ATrue
    2. BFalse
  6. 6What is the worst case to search a Splay tree?
    1. AA.n
    2. BB.amortized O(log n)
    3. CC.n^2
    4. DD.none of these
  7. 7How are splay trees different from AVL trees?
    1. ASplay trees splay the node visited all the way to the root to make them more easily accessed.
    2. Bnone of the above
  8. 8A splay tree is a type of balanced binary search tree.
    1. ATrue
    2. BFalse
  9. 9what do you trying to splay a node with the root(zig)?
    1. AA) Avl single rotation
    2. BB) Avl double rotation
  10. 10Which of the following is a disadvantage of a splay tree?
    1. Aa) Recently accessed items are at the bottom of the tree
    2. Bb) Implementation is very complex
    3. Cc) Splay trees are not very efficient
    4. Dd) The tree height can potentially be n

Information

Description
Algorithms and Data Structures | Test 3 Review | CSCI-3110-002 MTSU
Language
English
Views
251
History
Created on 27 Nov 2016 · updated on 7 Dec 2016
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?