Third Edition Exam Questions
with Answers
Algorithm Analysis - Correct Answers: Evaluating efficiency of algorithms based on performance.
Asymptotic Notation - Correct Answers: Mathematical notation for describing algorithm growth rates.
Time Complexity - Correct Answers: Quantitative measure of algorithm execution time.
Arrays - Correct Answers: Collection of elements stored at contiguous memory locations.
Two-Dimensional Arrays - Correct Answers: Arrays organized in rows and columns format.
Sparse Matrices - Correct Answers: Matrices predominantly filled with zero values.
Linked List - Correct Answers: Data structure consisting of nodes connected by pointers.
Stack - Correct Answers: LIFO data structure for storing elements.
Queue - Correct Answers: FIFO data structure for managing elements.
Binary Tree - Correct Answers: Tree structure where each node has at most two children.
Binary Search Tree - Correct Answers: Binary tree with ordered nodes for efficient searching.
Graph - Correct Answers: Collection of vertices connected by edges.
,Depth First Search - Correct Answers: Traversal method exploring as far down a branch.
Breadth First Search - Correct Answers: Traversal method exploring all neighbors before deeper nodes.
Dijkstra's Algorithm - Correct Answers: Algorithm for finding shortest paths in weighted graphs.
Sorting Algorithms - Correct Answers: Methods for arranging elements in a specific order.
Bubble Sort - Correct Answers: Simple sorting algorithm comparing adjacent elements.
Merge Sort - Correct Answers: Divide and conquer algorithm for sorting elements.
Heap Sort - Correct Answers: Sorting algorithm using a binary heap data structure.
Linear Search - Correct Answers: Sequential search method checking each element.
Binary Search - Correct Answers: Efficient search method on sorted arrays.
AVL Trees - Correct Answers: Self-balancing binary search trees for efficient operations.
Kruskal's Algorithm - Correct Answers: Algorithm for finding minimum spanning trees in graphs.
Prim's Algorithm - Correct Answers: Algorithm for constructing minimum spanning trees from graphs.
Topological Sorting - Correct Answers: Ordering of vertices in a directed acyclic graph.
Polynomial Multiplication - Correct Answers: Combining polynomials using array representations.
Deque - Correct Answers: Double-ended queue allowing insertion/removal from both ends.
, Priority Queue - Correct Answers: Queue where elements are processed based on priority.
Algorithm - Correct Answers: Sequence of instructions for problem-solving.
Input - Correct Answers: Data supplied externally to an algorithm.
Output - Correct Answers: Result produced by an algorithm.
Finiteness - Correct Answers: Algorithm must terminate in finite steps.
Definiteness - Correct Answers: Steps in an algorithm must be clear.
Effectiveness - Correct Answers: Steps must be executable without intelligence.
Time Analysis - Correct Answers: Evaluating algorithms based on execution time.
Space Analysis - Correct Answers: Evaluating algorithms based on memory usage.
Prominent Operations - Correct Answers: Key operations that determine algorithm efficiency.
Growth Rate - Correct Answers: Rate at which operation count increases with input size.
Significant Operations - Correct Answers: Operations that consume the most time in algorithms.
Comparison Operations - Correct Answers: Operations that compare values in algorithms.
Arithmetic Operations - Correct Answers: Operations involving calculations like addition or
multiplication.