CS 301 Quiz # 2
1) Which of the following possible operations are performed on Table ADT
- Only Insert and Find
- Insert. Find, Remove
- Only Insert and Remove
- Only Find and Remove
2) A binary relation R over S is called an equivalence relation if it has following property(s)
- Reflexivity
- Symmetry
- Transitivity
- All of the given options
3) Binary Search can be categorized into which of the following>
- Divide and conquer
- Dynamic programming
- Greedy algorithm
- Brute Force technique
4) In which of the following tree, parent nodes have key greater than or equal to its both children>
- Max heap
- Binary search tree
- Threaded Binary tree
- Complete Binary tree
5) In Complete binary tree the bottom level is filled from _______.
- Left to right
- Right to left
- Not filled at all
- None of the given options
6) If the bottom level of a binary tree is NOT completely filled, depicts that the tree is NOT a _________
- Complete Binary tree
- Threaded Binary tree
- Expression tree
- Perfectly compete Binary tree
7) In a threaded binary tree, which nodes have NULL child pointer,
- Nodes other then leaf nodes
- Root Node
- None of the nodes
- All leaf nodes
8) Suppose a hash function returns 6 for the given value. At which index of array the value will be saved
- 5
- 7
- 0
- 6
9) In 1990, Bill Pugh purposed an enhancement on linked lists and the new data structure was termed as
- Skip list
- Fixed list
- Tree list
- Enhanced linked list
10) Suppose there are 100 elements in an equivalence class, so initially there will be 100 trees. The collection of these trees is called __________.
- Forest
- Class
- Cluster
- Bunch