
































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

































Question 1
When separating the specific concerns of Heaps and Collision Resolution Strategies, which proposed pairing interchanges those concerns?
A. Self-Balancing Trees: AVL trees (rotations and balance factors), Red-Black trees, B-Trees, and B+ Trees for database indexing B. Binary Search Trees (BST): Insertion, deletion, search operations, and worst-case degradation C. Heaps: Separate chaining and open addressing (linear probing, quadratic probing, double hashing) D. Binary Trees: Definitions, properties, array representation, and tree traversal algorithms (Pre-order, In-order, Post-order, Level-order)
Correct Answer: C
Full Explanation: Heaps concerns Binary heaps (Min-Heap and Max-Heap), heapify algorithms, and priority queue implementation. Collision Resolution Strategies concerns Separate chaining and open addressing (linear probing, quadratic probing, double hashing). Assigning the concern of Collision Resolution Strategies to Heaps interchanges their technical emphases
Question 2
When separating the specific concerns of Automatic Memory Management and Graph Traversal Algorithms, which proposed pairing interchanges those concerns?
A. Allocation and Deallocation: Manual memory management (malloc/free, new/delete), pointer arithmetic, dangling pointers, memory leaks, and double-free vulnerabilities B. Automatic Memory Management: Breadth-First Search (BFS) and Depth-First Search (DFS), topological sorting, and strongly connected components C. Memory Layout: Stack vs. heap memory segments, data segments, and text segments D. Locality of Reference: Temporal and spatial locality, cache lines, and performance impacts of cache misses on data structure selection (e.g., linked lists vs. contiguous arrays)
Correct Answer: B
Full Explanation: Automatic Memory Management concerns Reference counting, mark-and-sweep garbage collection algorithms, and smart pointers in modern C++ (std::unique_ptr, std::shared_ptr). Graph Traversal Algorithms concerns Breadth-First Search (BFS) and Depth-First Search (DFS), topological sorting, and strongly connected components. Assigning the concern of Graph Traversal Algorithms to Automatic Memory Management interchanges their technical emphases
Question 5
Which assignment correctly distinguishes the concerns of Shortest Path Algorithms and Minimum Spanning Trees?
A. Shortest Path Algorithms: Dijkstra's algorithm, Bellman-Ford algorithm, and Floyd-Warshall all-pairs shortest path; Minimum Spanning Trees: Dijkstra's algorithm, Bellman-Ford algorithm, and Floyd-Warshall all-pairs shortest path B. Shortest Path Algorithms: Kruskal's algorithm and Prim's algorithm using disjoint-set (Union-Find) data structures; Minimum Spanning Trees: Dijkstra's algorithm, Bellman-Ford algorithm, and Floyd-Warshall all-pairs shortest path C. Shortest Path Algorithms: Kruskal's algorithm and Prim's algorithm using disjoint-set (Union-Find) data structures; Minimum Spanning Trees: Kruskal's algorithm and Prim's algorithm using disjoint-set (Union-Find) data structures D. Shortest Path Algorithms: Dijkstra's algorithm, Bellman-Ford algorithm, and Floyd-Warshall all-pairs shortest path; Minimum Spanning Trees: Kruskal's algorithm and Prim's algorithm using disjoint-set (Union-Find) data structures
Correct Answer: D
Full Explanation: Shortest Path Algorithms concerns Dijkstra's algorithm, Bellman-Ford algorithm, and Floyd-Warshall all-pairs shortest path. Minimum Spanning Trees concerns Kruskal's algorithm and Prim's algorithm using disjoint-set (Union-Find) data structures. Keeping the two concerns attached to their respective concepts avoids a mistaken interchange
Question 6
A technical review must address Creational patterns (Singleton, Factory Method, Builder), Structural patterns (Adapter, Decorator, Composite), and Behavioral patterns (Observer, Strategy, Command). Which focus most directly fits that requirement?
A. Polymorphism and Dynamic Binding B. Design Patterns C. Class Design and Relationships D. Exception Handling and Robustness
Correct Answer: B
Full Explanation: Design Patterns concerns Creational patterns (Singleton, Factory Method, Builder), Structural patterns (Adapter, Decorator, Composite), and Behavioral patterns (Observer, Strategy, Command). The description identifies the specific concern; the other choices address different concerns
Question 7
Which concept is most directly concerned with Enqueue?
A. Queue Operations B. Linked Lists C. Arrays and Matrices D. Heaps
Correct Answer: A
Full Explanation: Queue Operations concerns Enqueue, dequeue, linear vs. circular queues, priority queues, and double-ended queues (deques). The description identifies the specific concern; the other choices address different concerns
Question 8
A reviewer needs evidence concerning adjacency matrix. Which topic should that evidence address?
A. Self-Balancing Trees B. Graph Terminology and Representations C. Binary Trees D. Binary Search Trees (BST)
Correct Answer: B
Full Explanation: Graph Terminology and Representations concerns Directed vs. undirected graphs, weighted graphs, adjacency matrix, and adjacency list representations. The description identifies the specific concern; the other choices address different concerns
Question 9
A review of Growth of Functions has considered Big-Omega. Which further associated issue should be retained?
A. Theta notations for bounding time and space complexity B. Constant C. linear D. logarithmic
Correct Answer: A
Full Explanation: Growth of Functions concerns Big-O, Big-Omega, and Theta notations for bounding time and space complexity. Considering Big-Omega does not remove the need to address Theta notations for bounding time and space complexity
Question 12
Which concept is most directly concerned with Linear search?
A. Search Methods B. Efficient Sorts C. Linear-Time Sorts D. Elementary Sorts
Correct Answer: A
Full Explanation: Search Methods concerns Linear search, binary search on sorted arrays, and interpolation search. The description identifies the specific concern; the other choices address different concerns
Question 13
A review of Binary Trees has considered properties, array representation and tree traversal algorithms (Pre-order, In-order, Post-order, Level-order). Which further associated issue should be retained?
A. Self-Balancing Trees B. AVL trees (rotations and balance factors) C. Red-Black trees D. Definitions
Correct Answer: D
Full Explanation: Binary Trees concerns Definitions, properties, array representation, and tree traversal algorithms (Pre-order, In-order, Post-order, Level-order). Considering properties, array representation and tree traversal algorithms (Pre-order, In-order, Post-order, Level-order) does not remove the need to address Definitions
Question 14
A reviewer separates Memory Layout from Allocation and Deallocation. Which allocation of issues is consistent with that distinction?
A. Memory Layout: Stack vs. heap memory segments, data segments, and text segments; Allocation and Deallocation: Stack vs. heap memory segments, data segments, and text segments B. Memory Layout: Manual memory management (malloc/free, new/delete), pointer arithmetic, dangling pointers, memory leaks, and double-free vulnerabilities; Allocation and Deallocation: Stack vs. heap memory segments, data segments, and text segments C. Memory Layout: Manual memory management (malloc/free, new/delete), pointer arithmetic, dangling pointers, memory leaks, and double-free vulnerabilities; Allocation and Deallocation: Manual memory management (malloc/free, new/delete), pointer arithmetic, dangling pointers, memory leaks, and double-free vulnerabilities D. Memory Layout: Stack vs. heap memory segments, data segments, and text segments; Allocation and Deallocation: Manual memory management (malloc/free, new/delete), pointer arithmetic, dangling pointers, memory leaks, and double-free vulnerabilities
Correct Answer: D
Full Explanation: Memory Layout concerns Stack vs. heap memory segments, data segments, and text segments. Allocation and Deallocation concerns Manual memory management (malloc/free, new/delete), pointer arithmetic, dangling pointers, memory leaks, and double-free vulnerabilities. Keeping the two concerns attached to their respective concepts avoids a mistaken interchange
Question 17
When separating the specific concerns of Arrays and Matrices and Graph Traversal Algorithms, which proposed pairing interchanges those concerns?
A. Stack Operations: Push, pop, peek, array-based and pointer-based implementations, and applications in expression evaluation and syntax parsing B. Arrays and Matrices: Breadth-First Search (BFS) and Depth-First Search (DFS), topological sorting, and strongly connected components C. Linked Lists: Singly linked lists, doubly linked lists, circular linked lists, and memory overhead vs. access time trade-offs D. Queue Operations: Enqueue, dequeue, linear vs. circular queues, priority queues, and double-ended queues (deques)
Correct Answer: B
Full Explanation: Arrays and Matrices concerns Static vs. dynamic arrays, multidimensional array memory layouts (row-major vs. column-major order). Graph Traversal Algorithms concerns Breadth-First Search (BFS) and Depth-First Search (DFS), topological sorting, and strongly connected components. Assigning the concern of Graph Traversal Algorithms to Arrays and Matrices interchanges their technical emphases
Question 18
When separating the specific concerns of Binary Search Trees (BST) and Search Methods, which proposed pairing interchanges those concerns?
A. Binary Trees: Definitions, properties, array representation, and tree traversal algorithms (Pre-order, In-order, Post-order, Level-order) B. Binary Search Trees (BST): Linear search, binary search on sorted arrays, and interpolation search C. Self-Balancing Trees: AVL trees (rotations and balance factors), Red-Black trees, B-Trees, and B+ Trees for database indexing D. Heaps: Binary heaps (Min-Heap and Max-Heap), heapify algorithms, and priority queue implementation
Correct Answer: B
Full Explanation: Binary Search Trees (BST) concerns Insertion, deletion, search operations, and worst-case degradation. Search Methods concerns Linear search, binary search on sorted arrays, and interpolation search. Assigning the concern of Search Methods to Binary Search Trees (BST) interchanges their technical emphases
Question 19
A review of Design Patterns has considered Creational patterns (Singleton, Factory Method, Builder) and Structural patterns (Adapter, Decorator, Composite). Which further associated issue should be retained?
A. Try-catch-finally blocks B. custom exception hierarchies C. Exception Handling and Robustness D. Behavioral patterns (Observer, Strategy, Command)
Correct Answer: D
Full Explanation: Design Patterns concerns Creational patterns (Singleton, Factory Method, Builder), Structural patterns (Adapter, Decorator, Composite), and Behavioral patterns (Observer, Strategy, Command). Considering Creational patterns (Singleton, Factory Method, Builder) and Structural patterns (Adapter, Decorator, Composite) does not remove the need to address Behavioral patterns (Observer, Strategy, Command)
Question 20
Which pairing gives an appropriate technical interpretation of both Hash Functions and Locality of Reference?
A. Hash Functions: Properties of good hash functions, uniformity, and cryptographic vs. non-cryptographic hashing; Locality of Reference: Temporal and spatial locality, cache lines, and performance impacts of cache misses on data structure selection (e.g., linked lists vs. contiguous arrays) B. Hash Functions: Temporal and spatial locality, cache lines, and performance impacts of cache misses on data structure selection (e.g., linked lists vs. contiguous arrays); Locality of Reference: Temporal and spatial locality, cache lines, and performance impacts of cache misses on data structure selection (e.g., linked lists vs. contiguous arrays) C. Hash Functions: Properties of good hash functions, uniformity, and cryptographic vs. non-cryptographic hashing; Locality of Reference: Properties of good hash functions, uniformity, and cryptographic vs. non-cryptographic hashing D. Hash Functions: Temporal and spatial locality, cache lines, and performance impacts of cache misses on data structure selection (e.g., linked lists vs. contiguous arrays); Locality of Reference: Properties of good hash functions, uniformity, and cryptographic vs. non-cryptographic hashing
Correct Answer: A
Full Explanation: Hash Functions concerns Properties of good hash functions, uniformity, and cryptographic vs. non-cryptographic hashing. Locality of Reference concerns Temporal and spatial locality, cache lines, and performance impacts of cache misses on data structure selection (e.g., linked lists vs. contiguous arrays). Keeping the two concerns attached to their respective concepts avoids a mistaken interchange
Question 23
When examining Heaps, which issue should receive direct attention?
A. Definitions, properties, array representation, and tree traversal algorithms (Pre-order, In-order, Post-order, Level-order) B. Binary heaps (Min-Heap and Max-Heap), heapify algorithms, and priority queue implementation C. Insertion, deletion, search operations, and worst-case degradation D. AVL trees (rotations and balance factors), Red-Black trees, B-Trees, and B+ Trees for database indexing
Correct Answer: B
Full Explanation: Heaps concerns Binary heaps (Min-Heap and Max-Heap), heapify algorithms, and priority queue implementation. The relevant issue is the one that addresses this particular focus
Question 24
When separating the specific concerns of Elementary Sorts and Memory Layout, which proposed pairing interchanges those concerns?
A. Comparison Lower Bound: Omega(n log n) lower bound proof for comparison-based sorting algorithms B. Elementary Sorts: Stack vs. heap memory segments, data segments, and text segments C. Linear-Time Sorts: Counting sort, radix sort, and bucket sort D. Efficient Sorts: Merge sort (divide and conquer), Quick sort (partitioning strategies and pivot selection), and Heap sort
Correct Answer: B
Full Explanation: Elementary Sorts concerns Bubble sort, insertion sort, and selection sort analysis. Memory Layout concerns Stack vs. heap memory segments, data segments, and text segments. Assigning the concern of Memory Layout to Elementary Sorts interchanges their technical emphases
Question 25
A technical review must address Merge sort (divide and conquer), Quick sort (partitioning strategies and pivot selection), and Heap sort. Which focus most directly fits that requirement?
A. Linear-Time Sorts B. Search Methods C. Elementary Sorts D. Efficient Sorts
Correct Answer: D
Full Explanation: Efficient Sorts concerns Merge sort (divide and conquer), Quick sort (partitioning strategies and pivot selection), and Heap sort. The description identifies the specific concern; the other choices address different concerns
Question 26
An explanation confuses Self-Balancing Trees with Search Methods. Which replacement statement restores their respective focuses?
A. Self-Balancing Trees: AVL trees (rotations and balance factors), Red-Black trees, B-Trees, and B+ Trees for database indexing; Search Methods: Linear search, binary search on sorted arrays, and interpolation search B. Self-Balancing Trees: AVL trees (rotations and balance factors), Red-Black trees, B-Trees, and B+ Trees for database indexing; Search Methods: AVL trees (rotations and balance factors), Red-Black trees, B-Trees, and B+ Trees for database indexing C. Self-Balancing Trees: Linear search, binary search on sorted arrays, and interpolation search; Search Methods: Linear search, binary search on sorted arrays, and interpolation search D. Self-Balancing Trees: Linear search, binary search on sorted arrays, and interpolation search; Search Methods: AVL trees (rotations and balance factors), Red-Black trees, B-Trees, and B+ Trees for database indexing
Correct Answer: A
Full Explanation: Self-Balancing Trees concerns AVL trees (rotations and balance factors), Red-Black trees, B-Trees, and B+ Trees for database indexing. Search Methods concerns Linear search, binary search on sorted arrays, and interpolation search. Keeping the two concerns attached to their respective concepts avoids a mistaken interchange
Question 29
A review of Binary Search Trees (BST) has considered Insertion, deletion and search operations. Which further associated issue should be retained?
A. priority queue implementation B. Binary heaps (Min-Heap and Max-Heap) C. worst-case degradation D. heapify algorithms
Correct Answer: C
Full Explanation: Binary Search Trees (BST) concerns Insertion, deletion, search operations, and worst-case degradation. Considering Insertion, deletion and search operations does not remove the need to address worst-case degradation
Question 30
A technical review must address Stack vs. heap memory segments, data segments, and text segments. Which focus most directly fits that requirement?
A. Automatic Memory Management B. Allocation and Deallocation C. Locality of Reference D. Memory Layout
Correct Answer: D
Full Explanation: Memory Layout concerns Stack vs. heap memory segments, data segments, and text segments. The description identifies the specific concern; the other choices address different concerns
Question 31
A review of Queue Operations has considered Enqueue, dequeue, linear vs. circular queues and double-ended queues (deques). Which further associated issue should be retained?
A. Stack Operations B. priority queues C. array-based and pointer-based implementations D. applications in expression evaluation and syntax parsing
Correct Answer: B
Full Explanation: Queue Operations concerns Enqueue, dequeue, linear vs. circular queues, priority queues, and double-ended queues (deques). Considering Enqueue, dequeue, linear vs. circular queues and double-ended queues (deques) does not remove the need to address priority queues
Question 32
Which concept is most directly concerned with Temporal and spatial locality?
A. Automatic Memory Management B. Memory Layout C. Linked Lists D. Locality of Reference
Correct Answer: D
Full Explanation: Locality of Reference concerns Temporal and spatial locality, cache lines, and performance impacts of cache misses on data structure selection (e.g., linked lists vs. contiguous arrays). The description identifies the specific concern; the other choices address different concerns
Question 33
A reviewer needs evidence concerning selection sort analysis. Which topic should that evidence address?
A. Search Methods B. Elementary Sorts C. Memory Layout D. Shortest Path Algorithms
Correct Answer: B
Full Explanation: Elementary Sorts concerns Bubble sort, insertion sort, and selection sort analysis. The description identifies the specific concern; the other choices address different concerns
Question 36
Which paired description correctly preserves the different emphases of Linked Lists and Spatial Data Structures?
A. Linked Lists: Singly linked lists, doubly linked lists, circular linked lists, and memory overhead vs. access time trade-offs; Spatial Data Structures: Singly linked lists, doubly linked lists, circular linked lists, and memory overhead vs. access time trade-offs B. Linked Lists: Quad-trees and K-D trees for multi-dimensional spatial searching; Spatial Data Structures: Quad-trees and K-D trees for multi-dimensional spatial searching C. Linked Lists: Singly linked lists, doubly linked lists, circular linked lists, and memory overhead vs. access time trade-offs; Spatial Data Structures: Quad-trees and K-D trees for multi-dimensional spatial searching D. Linked Lists: Quad-trees and K-D trees for multi-dimensional spatial searching; Spatial Data Structures: Singly linked lists, doubly linked lists, circular linked lists, and memory overhead vs. access time trade-offs
Correct Answer: C
Full Explanation: Linked Lists concerns Singly linked lists, doubly linked lists, circular linked lists, and memory overhead vs. access time trade-offs. Spatial Data Structures concerns Quad-trees and K-D trees for multi-dimensional spatial searching. Keeping the two concerns attached to their respective concepts avoids a mistaken interchange
Question 37
When separating the specific concerns of Complexity Classes and Binary Search Trees (BST), which proposed pairing interchanges those concerns?
A. Amortized Analysis: Accounting method, aggregate analysis, and potential method for dynamic arrays and data structure operations B. Solving Recurrences: Substitution method, recursion tree method, and the Master Theorem for divide-and-conquer algorithms C. Growth of Functions: Big-O, Big-Omega, and Theta notations for bounding time and space complexity D. Complexity Classes: Insertion, deletion, search operations, and worst-case degradation
Correct Answer: D
Full Explanation: Complexity Classes concerns Constant, logarithmic, linear, log-linear, quadratic, cubic, and exponential time complexities. Binary Search Trees (BST) concerns Insertion, deletion, search operations, and worst-case degradation. Assigning the concern of Binary Search Trees (BST) to Complexity Classes interchanges their technical emphases
Question 38
Which concept is most directly concerned with Accounting method?
A. Amortized Analysis B. Self-Balancing Trees C. Growth of Functions D. Solving Recurrences
Correct Answer: A
Full Explanation: Amortized Analysis concerns Accounting method, aggregate analysis, and potential method for dynamic arrays and data structure operations. The description identifies the specific concern; the other choices address different concerns
Question 39
When examining Locality of Reference, which issue should receive direct attention?
A. Manual memory management (malloc/free, new/delete), pointer arithmetic, dangling pointers, memory leaks, and double-free vulnerabilities B. Reference counting, mark-and-sweep garbage collection algorithms, and smart pointers in modern C++ (std::unique_ptr, std::shared_ptr) C. Stack vs. heap memory segments, data segments, and text segments D. Temporal and spatial locality, cache lines, and performance impacts of cache misses on data structure selection (e.g., linked lists vs. contiguous arrays)
Correct Answer: D
Full Explanation: Locality of Reference concerns Temporal and spatial locality, cache lines, and performance impacts of cache misses on data structure selection (e.g., linked lists vs. contiguous arrays). The relevant issue is the one that addresses this particular focus