Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Document preview thumbnail
Vista previa 3 fuera de 22 páginas
Examen

CS-C950 ICSC 3100 Data Structures & Algorithms II Comprehensive OA 2025 (With Solns)

Document preview thumbnail
Vista previa 3 fuera de 22 páginas

CS-C950 ICSC 3100 Data Structures & Algorithms II Comprehensive OA 2025 (With Solns)CS-C950 ICSC 3100 Data Structures & Algorithms II Comprehensive OA 2025 (With Solns)CS-C950 ICSC 3100 Data Structures & Algorithms II Comprehensive OA 2025 (With Solns)

Vista previa del contenido

CS – C950 ICSC 3100 Data Structures &
Algorithms II

Comprehensive Objective Assessment (Qns &
Ans)

2025


Multiple Choice Questions (MCQ)
Which of the following data structures is best suited to implement
a dynamic associative array (dictionary) with fast retrieval and
insertion for large datasets?


A) AVL Tree
B) Hash Table
C) Heap



©2025

,D) Queue ANS: B Rationale: Hash Tables provide O(1) average-
case time for insertion and retrieval, making them efficient for
dynamic associative arrays.
What is the primary reason for using B-trees in the
implementation of database indices?


A) Fast access to elements in main memory
B) Efficient storage in small devices
C) Balancing tree height for disk-based storage
D) Simple implementation ANS: C Rationale: B-trees minimize
disk I/O by maintaining a balanced height and reducing the
number of disk accesses.
The time complexity for a successful search in a Trie (prefix tree)
is:


A) O(log n)
B) O(1)
C) O(m)
D) O(n) ANS: C Rationale: Search operation in a Trie depends on
the length of the query string (m) and is independent of the
number of stored words.
Which algorithm is most appropriate for detecting cycles in a
directed graph?


©2025

, A) Breadth-First Search
B) Kruskal’s Algorithm
C) Depth-First Search with recursion stack
D) Union-Find Algorithm ANS: C Rationale: Using DFS with a
recursion stack can detect cycles in directed graphs efficiently.
Edmonds-Karp algorithm is an implementation of which method
for finding the maximum flow in a flow network?


A) Preflow-Push
B) Greedy Method
C) Ford-Fulkerson Method (using BFS)
D) Dijkstra’s Algorithm ANS: C Rationale: Edmonds-Karp uses
BFS as part of the Ford-Fulkerson method.
The amortized complexity of the ‘find’ operation in Union-Find
(Disjoint Set Union) with path compression and union by rank is:


A) O(1)
B) O(log n)
C) O(n)
D) O(α(n)) ANS: D Rationale: The operation runs in nearly
constant (inverse Ackermann function, α(n)) amortized time.


©2025

Información del documento

Subido en
3 de mayo de 2025
Número de páginas
22
Escrito en
2024/2025
Tipo
Examen
Contiene
Desconocido
$18.49

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
EmilioOchieng
4.1
(24)
Vendido
148
Seguidores
17
Artículos
4032
Última venta
3 meses hace


Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes