100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4,6 TrustPilot
logo-home
Examen

ICSC 2100(C949) Data Structures & Algorithms I Latest OA Guide 2025

Puntuación
-
Vendido
-
Páginas
24
Grado
A+
Subido en
09-05-2025
Escrito en
2024/2025

ICSC 2100(C949) Data Structures & Algorithms I Latest OA Guide 2025ICSC 2100(C949) Data Structures & Algorithms I Latest OA Guide 2025ICSC 2100(C949) Data Structures & Algorithms I Latest OA Guide 2025

Institución
Grado

Vista previa del contenido

C949 ICSC 2100

Data Structures & Algorithms I

4.0 Credits

Objective Assessment Review (Qns &
Ans)

2025




©2025

,**Question 1:*
Which property distinguishes problems that are well suited for dynamic
programming as opposed to a simple divide‐and‑conquer approach?
A. Problems with independent subproblems
B. Problems with overlapping subproblems and optimal substructure
C. Problems that can be solved using recursion
D. Problems that are parallelizable without coordination

**Correct ANS:* B. Problems with overlapping subproblems and optimal
substructure
**Rationale:*
Dynamic programming is effective for problems where the subproblems
overlap and share common computations. In contrast, divide‐
and‑conquer typically divides the problem into independent
subproblems. Recognizing overlapping subproblems allows the use of
memoization to avoid redundant work.

---

**Question 2:*
What is the worst‑case time complexity of QuickSort when the pivot
selection consistently produces extremely unbalanced partitions (for
example, always choosing the smallest element as the pivot)?
A. O(n)
B. O(n log n)
C. O(n²)
D. O(log n)

**Correct ANS:* C. O(n²)
**Rationale:*
When the pivot is chosen poorly—such as always selecting the smallest
element in an already sorted array—QuickSort degrades to O(n²) time
©2025

, complexity because the recursive partitioning produces one subproblem
of size n–1 and one of size 0 at every step.

---

**Question 3:*
Which balanced binary search tree guarantees that for every node the
heights of the left and right subtrees differ by at most one?
A. Red‑Black Tree
B. AVL Tree
C. Splay Tree
D. B‑Tree

**Correct ANS:* B. AVL Tree
**Rationale:*
An AVL tree enforces a strict balance condition by maintaining a
maximum height difference of one between the left and right subtrees at
every node. This strict balancing provides excellent lookup performance,
albeit at a cost of more frequent rebalancing during insertions and
deletions.

---

**Question 4:*
Which algorithm is typically used to construct a minimum spanning tree
in a connected, weighted graph with non‑negative edge weights?
A. Dijkstra’s algorithm
B. Kruskal’s algorithm
C. Bellman‑Ford algorithm
D. Floyd‑Warshall algorithm

**Correct ANS:* B. Kruskal’s algorithm
**Rationale:*
Kruskal’s algorithm builds a minimum spanning tree (MST) by repeatedly
selecting the smallest edge that does not form a cycle. It is especially
©2025

Escuela, estudio y materia

Institución
Grado

Información del documento

Subido en
9 de mayo de 2025
Número de páginas
24
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

$12.99
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada

Conoce al vendedor

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.
testbank11 Walden University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
38
Miembro desde
2 año
Número de seguidores
7
Documentos
4466
Última venta
3 meses hace

Hi there! I'm a former nursing student who loves to share my knowledge and experience with others. I have a collection of study notes and papers that I've written for various courses and programs, and I'm selling them for a reasonable price. Whether you need help with anatomy, pharmacology, ethics, or anything else, I've got you covered. My notes are clear, concise, and fun to read. They will help you ace your exams and assignments, and maybe even make you laugh along the way. If you're interested, check out my profile and contact me. I'm looking forward to hearing from you!

Lee mas Leer menos
3.5

4 reseñas

5
2
4
0
3
1
2
0
1
1

Documentos populares

Recientemente visto por ti

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