• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 37 pages
Exam (elaborations)

WGU C949) ICSC 2100 Data Structures & Algorithms I Final Assessment ( Qns & Ans) 2025

Document preview thumbnail
Preview 4 out of 37 pages

WGU C949) ICSC 2100 Data Structures & Algorithms I Final Assessment ( Qns & Ans) 2025WGU C949) ICSC 2100 Data Structures & Algorithms I Final Assessment ( Qns & Ans) 2025WGU C949) ICSC 2100 Data Structures & Algorithms I Final Assessment ( Qns & Ans) 2025

Content preview

C949 ICSC 2100

Data Structures & Algorithms I

Final Assessment (Qns & Ans)

2025
General Instructions

1. Read All Questions Carefully: Make sure you understand each question.
2. Time Management: You have a specific amount of time to complete the exam.
Keep an eye on the clock and pace yourself.
3. Allowed Materials: Only use materials that are explicitly allowed. Unauthorized
materials can lead to disqualification.
4. ANS Format: Follow the required format for your ANS. For example, multiple-
choice questions might need you to select the best ANS, while essay questions
require detailed responses.
5. Academic Integrity: Adhere to the university's honor code. Any form of cheating or
plagiarism is strictly prohibited.
6. Technical Requirements: Ensure your computer and internet connection are
stable. For online exams, you might need a webcam and microphone for proctoring
purposes.
7. Submission: Submit your ANS before the time expires. Late submissions might
not be accepted.




©2024/2025

,1. Which of the following is the primary purpose of a hash
table?
A) Sorting elements
B) Storing ordered collections
C) Providing fast access to data based on keys
D) Implementing a queue
ANS: C
Rationale: Hash tables are designed to provide rapid
insertion, deletion, and search operations using keys.


2. What is the time complexity of searching for an element in a
balanced binary search tree (BST)?
A) O(n)
B) O(log n)
C) O(n log n)
D) O(1)
ANS: B
Rationale: In a balanced BST, the height is log(n), and
operation complexity is therefore O(log n).


©2024/2025

,3. In a Fibonacci heap, which operation can achieve a time
complexity of O(1)?
A) Decrease key
B) Extract minimum
C) Insert
D) Meld
ANS: C
Rationale: Insertion in a Fibonacci heap is O(1) due to its
lazy nature; other operations may exhibit higher complexities.


4. Which of the following data structures allows for efficient
retrieval and modification of an element with a given priority?
A) Array
B) Stack
C) Queue
D) Priority Queue
ANS: D
Rationale: Priority queues support efficient retrieval and
modification of elements based on priority.


5. What is the worst-case time complexity for the insertion
operation in a Red-Black Tree?
©2024/2025

, A) O(n)
B) O(n log n)
C) O(log n)
D) O(1)
ANS: C
Rationale: Red-Black trees maintain balance, ensuring O(log
n) complexity for insertion.


Fill-in-the-Blank Questions


6. The algorithm primarily used for finding the shortest path in a
weighted graph is known as __________.
ANS: Dijkstra's Algorithm
Rationale: Dijkstra's Algorithm efficiently finds the shortest
path in graphs with non-negative weights.


7. In a depth-first search (DFS), the traversal of a graph involves
the use of a __________.
ANS: Stack
Rationale: DFS uses a stack data structure (either explicitly
or via recursion) to keep track of vertices to explore.


©2024/2025

Document information

Uploaded on
December 11, 2024
Number of pages
37
Written in
2024/2025
Type
Exam (elaborations)
Contains
Unknown
$18.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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.
emiliophd
3.4
(21)
Sold
191
Followers
46
Items
4725
Last sold
1 month ago



Why students choose Stuvia

Created by fellow students, verified by reviews

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

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

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

Student with book image

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

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions