Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 39 pages
Exam (elaborations)

WGU C949 Data Structures and Algorithms I – Objective Assessment 150 Practice Questions with 100% Verified Answers and Detailed Explanations || 2026/2027 || Guaranteed Pass || updated

Document preview thumbnail
Preview 4 out of 39 pages

Prepare for the WGU C949 – Data Structures and Algorithms I Objective Assessment (OA) with this comprehensive 2026/2027 Study Guide, developed specifically for students at Western Governors University (WGU). This resource includes 150 original exam-style multiple-choice practice questions with detailed answer rationales to strengthen your understanding of fundamental data structures, algorithm design, computational efficiency, and problem-solving techniques.

Content preview

WGU C949 Data Structures and Algorithms I –
Objective Assessment
150 Practice Questions with 100% Verified
Answers and Detailed Explanations || 2026/2027
|| Guaranteed Pass || updated



SECTION 1: ALGORITHM ANALYSIS & BIG O NOTATION
1. Which data structure operates on a Last-In, First-Out (LIFO) basis?
A. Queue
B. Stack
C. Linked List
D. Binary Tree
Explanation: A stack restricts insertion and deletion to one end (the "top"),
ensuring the last element added is the first one removed .
2. Which notation provides a strict mathematical upper bound on the growth
rate of an algorithm's running time?
A. Omega (Ω)
B. Theta (Θ)
C. Big O (O)
D. Little o (o)
Explanation: Big O notation describes the worst-case scenario or asymptotic upper
bound of an algorithm's performance .
3. What is the time complexity to access an element at a specific index in a
dynamic array?
A. O(1)
B. O(log n)

,C. O(n)
D. O(n²)
Explanation: Arrays use contiguous memory locations, allowing direct
mathematical calculation of any index address in constant time .
4. What is the worst-case time complexity of searching for an element in a
binary search tree (BST) that is completely unbalanced?
A. O(1)
B. O(log n)
C. O(n)
D. O(n log n)
Explanation: An unbalanced BST degrades into a linear linked list shape, forcing a
sequential search through all n nodes .
5. Which complexity class represents constant time?
A. O(1)
B. O(log n)
C. O(n)
D. O(n²)
Explanation: O(1) means the algorithm takes the same amount of time regardless
of input size .
6. What is the time complexity of binary search on a sorted array?
A. O(n)
B. O(log n)
C. O(n log n)
D. O(1)
Explanation: Binary search repeatedly divides the search space in half, resulting in
logarithmic time .
7. What is the time complexity of a linear search algorithm in the worst case?
A. O(1)
B. O(log n)
C. O(n)
D. O(n²)

,Explanation: In the worst case, you must examine every element in the array .
8. If an algorithm contains two nested loops that both iterate up to n, what is its
overall time complexity?
A. O(n)
B. O(n log n)
C. O(n²)
D. O(2ⁿ)
Explanation: Nested loops that each go up to n result in n × n = n² operations .
9. What is the time complexity of merge sort?
A. O(n)
B. O(log n)
C. O(n log n)
D. O(n²)
Explanation: Merge sort continually divides the array in half (log n steps) and
takes O(n) time to merge them back, regardless of initial order .
10. What is the worst-case time complexity of quicksort?
A. O(n log n)
B. O(log n)
C. O(n²)
D. O(n)
Explanation: QuickSort's worst-case occurs when the pivot is always the smallest
or largest element, resulting in O(n²) .
11. What is the average-case time complexity of quicksort?
A. O(n²)
B. O(n log n)
C. O(n)
D. O(1)
Explanation: With a good pivot choice, quicksort performs efficiently and achieves
O(n log n) on average .
12. What is the time complexity of accessing an element by index in a linked
list?

, A. O(1)
B. O(log n)
C. O(n)
D. O(n²)
Explanation: Unlike arrays, linked lists do not support direct access; you must
traverse from the head .
13. Which notation describes the best-case complexity of an algorithm?
A. Ω (Omega)
B. O (Big O)
C. Θ (Theta)
D. ω (Little Omega)
Explanation: Omega notation (Ω) represents the lower bound or best-case growth
rate of an algorithm .
14. Which notation describes the average-case complexity of an algorithm?
A. Ω (Omega)
B. Θ (Theta)
C. O (Big O)
D. ω (Little Omega)
Explanation: Theta notation (Θ) describes both an upper and lower bound,
indicating a tight bound on the growth rate .
15. What is the space complexity of an in-place sorting algorithm?
A. O(1)
B. O(log n)
C. O(n)
D. O(n²)
Explanation: In-place sorting algorithms manipulate the input data directly
without requiring significant additional temporary memory structures .


SECTION 2: DATA TYPES & ABSTRACT DATA TYPES (ADT)

Document information

Uploaded on
July 6, 2026
Number of pages
39
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$23.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

Sold
1
Followers
0
Items
145
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 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

Working on your references?

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

Working on your references?

Frequently asked questions