File Structures and Algorithms
Data Structures and Algorithms: Covers sorting algorithms, hashing techniques, graph representations, complexity analysis, and algorithm paradigms including recursion, dynamic programming, and brute force.
Questions
Which of the following algorithms calls itself with smaller inputs, and obtains the outputs for the current input by applying simple operations to the returned value of the smaller input?
- Little Omega Notation
- Theta Notaion
- Recursive Algorithm
- Probabilistics Algorithm
- Greedy Algorithm
Which of the following sorts assumes that each of the n elements is an integer in the range 0 to k, for some integer k?
- Bucket Sort
- Radix Sort
- Quick Sort
- Direct Sequencing
- Counting Sort
In which of the following schemes, the interval between probes is increased by adding the successive outputs of a polynomial to the starting value given by the original hash computation?
- Linear Probing
- Quadratic Probing
- Extendible Hashing
- Buckets
- Linear Hashing
Which of the following is defined as a graph with no path and starts and ends at the same vertex?
- Acyclic Graph
- Weighted Graph
- Multigraph
- Edge
- Undirected Graph
Which of the following is defined as the amount of memory that an algorithm needs?
- Cost Complexity
- Space Complexity
- Simple Recursive
- Optimizing
- Asymptotic Complexity
In which of the following hashing schemes, the storage space allocated to the file can be increased or decreased without recognizing the whole file?
- Dynamic Hashing
- Linear Probing
- Chaining
- Extendible Hashing
- Linear Hashing
In which of the following sorts, we recursively chop the list into two sublist of almost equal sizes and when we get lists of size one, then start sorted combining of list in the reverse order?
- Quick Sort
- Radix Sort
- Bucket Sort
- Merge Sort
- Direct Sequencing
In which of the following data structures, every level, except possibly the last, is totally filled, and all nodes are as far left as possible?
- Tree
- Complete binary tree
- Left skewed binary tree
- Right skewed binary tree
- Degree
Which of the following lists is implemented as an array of lists with one list of destination nodes for each source node?
- Adjacency List
- Incidence List
- Edge List
- Adjacency Matrix
- Null Graph
In which of the following matrices, the rows represent the vertices and columns represent the edges?
- Adjacency Matrix
- List Structure
- Incidence List
- Edge List
- Incidence Matrix
Which of the following algorithms simply tries all possibilities until a satisfactory solution is found?
- Probabilistic Algorithm
- Brute Force Algorithm
- Simple Recursive Algorithm
- Divide and Conquer Algorithm
- Pseudocode
Which of the following is a function that describes the time of execution of an algorithm based on its input parameters?
- Big-O Notation
- Big-Omega Notation
- Theta Notation
- Program
- Time Complexity
In which of the following hashings, the hash functions are describe as h2(key) is not equal to zero and h2 is not equal to h1 where h1 and h2 are first and second hash functions?
- Extendible hashing
- Double Hashing
- Linear hashing
- Linear Probing
- Quadratic Probing
Which of the following sorts can be viewed abstractly in terms of decision trees?
- Bucket Sort
- Radix Sort
- Quick Sort
- Comparison Sort
- Definiteness
Which of the following stores the previous results and uses them to find new ones?
- Simple Recursive Algorithm
- Backtracking Algorithm
- Dynamic Programming Algorithm
- Probabilistic Algorithm
- Stack