100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

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

Rating
-
Sold
-
Pages
24
Grade
A+
Uploaded on
09-05-2025
Written in
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











Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
May 9, 2025
Number of pages
24
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

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

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
testbank11 Walden University
View profile
Follow You need to be logged in order to follow users or courses
Sold
38
Member since
2 year
Number of followers
7
Documents
4468
Last sold
1 week ago

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!

Read more Read less
3.5

4 reviews

5
2
4
0
3
1
2
0
1
1

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions