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

Quiz

Untitled

Amanda Hatch 21 questions

Take the quiz

Questions in this quiz (21)

  1. 1A breadth first traversal of a tree or a graph is commonly implemented with a(n):
    1. ABinary Search Tree
    2. BQueue
    3. CHeap
    4. DStack
  2. 2If both the left and right subtrees of a binary tree T meet the definition of an AVL tree, then T must also meet the definition of an AVL tree.
    1. ATrue
    2. BFalse
  3. 3All the leaves of a B-tree are at the same level.
    1. ATrue
    2. BFalse
  4. 4Suppose that a non-leaf node in a B-tree has 41 entries (keys). How many children will this node have?
    1. A82
    2. B40
    3. C2
    4. D41
    5. E42
  5. 5The balance value of an AVL node is calculated by finding the MAX height of the two children and adding 1.
    1. ATrue
    2. BFalse
  6. 6Every subtree of a "Binary Search Tree" is also a "Binary Search Tree".
    1. ATrue
    2. BFalse
  7. 7In an AVL tree, when the height of both children of a node are the same, this indicated that the balance factor of this node is:
    1. A-1
    2. B0
    3. C1
    4. D2
  8. 8AVL trees are efficient because they provide O(n) access/search time and insert time.
    1. ATrue
    2. BFalse
  9. 9Suppose that X is a B-tree leaf containing 41 entries (keys) and having at least one sibling. Which statement is true?
    1. AX has at least 41 siblings.
    2. BAny sibling of X is also a leaf.
    3. CThe parent of X has exactly 42 entries.
    4. DAny sibling of X contains at least 41 entries.
  10. 10If the depth of x is greater than the depth of y in a tree, then x is a descendant of y.
    1. ATrue
    2. BFalse

Information

Description
(Computer Science) Quiz on Untitled, created by Amanda Hatch on 05/03/2014.
Language
English
Views
14
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?