Answer the following statements true (T) or false (F)
1. If an attempt is made to use pop on an empty stack, an error should occur.
2. In a queue, elements are inserted and removed from the same end.
3. In a binary tree, each node may have links to any number of subtrees.
4. The key of every node in a binary search tree must be larger than every key of every node in its left subtree and smaller than every key of every node in its right subtree.
5. Searching a binary search tree is an O(n/2) process.
1. True
2. False
3. False
4. True
5. False
You might also like to view...
The sh ip interface brief command indicates that the protocol for a FastEthernet interface is down. What does this mean?
What will be an ideal response?
In the accompanying figure above, Item 1 is the ____.
A. hotspot B. Rectangle Hotspot tool C. Pointer Hotspot tool D. Target text box
_____________________ involves the process of identifying a user to a computer.
Fill in the blank(s) with the appropriate word(s).
Researchers have known for decades that documents with visual elements are more effective than those that consist of only text.
Answer the following statement true (T) or false (F)