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

Data Structures And Algorithms I – WGU C949: Questions With Applicable Answers

Rating
-
Sold
-
Pages
19
Grade
A+
Uploaded on
11-07-2025
Written in
2024/2025

Data Structures And Algorithms I – WGU C949: Questions With Applicable Answers

Institution
WGU C949
Course
WGU C949










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

Written for

Institution
WGU C949
Course
WGU C949

Document information

Uploaded on
July 11, 2025
Number of pages
19
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

Data Structures And Algorithms I – WGU C949:
Questions With Applicable Answers
Algorithm efficiency Correct Answer - typically measured by
the algorithm's computational complexity

Computational complexity Correct Answer - the amount of
resources used by the algorithm. The most common resources
considered are the runtime and memory usage.

runtime complexity Correct Answer - a function, T(N), that
represents the number of constant time operations performed by
the algorithm on an input of size N

Space-complexity (of an algorithm) Correct Answer - a
function, S(N), that represents the number of fixed-size memory
units used by the algorithm for an input of size N. Ex: an algorithm
that duplicates a list of numbers is S(N) = N + k, where k is a
constant representing memory used for things like the loop counter
and list pointers.

auxiliary space complexity Correct Answer - The space
complexity not including the input data. Ex: An algorithm to find the
maximum number in a list will have a space complexity of S(N) = N +
k, but an ______ of S(N) = k, where k is a constant.


Lower bound Correct Answer - A function f(N) that is ≤ the
best case T(N), for all values of N ≥ 1

Upper bound Correct Answer - A function f(N) that is ≥ the
worst case T(N), for all values of N ≥ 1

,Asymptotic Notation Correct Answer - the classification of
runtime complexity that uses functions that indicate only the
growth rate of a bounding function

O notation Correct Answer - a growth rate for an algorithm's
upper bound

Ω notation Correct Answer - a growth rate for an algorithm's
lower bound

Θ notation Correct Answer - a growth rate that is both an
upper and lower bound

Big O notation Correct Answer - A mathematical way of
describing how a function (running time of an algorithm) generally
behaves in relation to the input size.

O(N^2) Correct Answer - A selection sort has a _____ runtime
complexity

O(N) Correct Answer - A linear search has a _____ runtime
complexity

Constant Correct Answer - O(5) has a _____ runtime complexity

Quadratic Correct Answer - O(N + N^2) has a _____ runtime
complexity.

worst-case runtime Correct Answer - The ______ of an
algorithm is the runtime complexity for an input that results in the
longest execution.

, recursive algorithm Correct Answer - An algorithm that breaks
the problem into smaller subproblems and applies the algorithm
itself to solve the smaller subproblems

base case Correct Answer - Because a problem cannot be
endlessly divided into smaller subproblems, a recursive algorithm
must have a _________: where a recursive algorithm completes
without applying itself to a smaller subproblem. The ______ is what
ensures that a recursive algorithm eventually terminates

recursive function Correct Answer - A _____ is a function that
calls itself. Commonly used to implement recursive algorithms.

Fibonacci sequence Correct Answer - A numerical sequence
where each term is the sum of the previous 2 terms in the sequence,
except the first 2 terms, which are 0 and 1.

Binary search Correct Answer - An algorithm that searches a
sorted list for a key by first comparing the key to the middle element
in the list and recursively searching half of the remaining list so long
as the key is not found.

recurrence relation Correct Answer - A function f(N) that is
defined in terms of the same function operating on a value < N.

recursion tree Correct Answer - A visual diagram of a
operations done by a recursive function, that separates operations
done directly by the function and operations done by recursive calls

constant time operation Correct Answer - an operation that,
for a given processor, always operates in the same amount of time,
regardless of input values

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.
Criselle Harvard University
View profile
Follow You need to be logged in order to follow users or courses
Sold
2030
Member since
3 year
Number of followers
1407
Documents
21123
Last sold
5 days ago
Valuable Notes, Secure Learning

Welcome to ScholarVault—your ultimate destination for premium study materials and academic resources designed to unlock your full potential. As a passionate student myself, I understand how critical it is to have the right tools to excel in your studies. That's why I've curated a collection of high-quality notes, guides, and exam preparation materials that are tailored to help you achieve academic success. At ScholarVault, I believe that knowledge is power, but access to the right knowledge is key. My mission is to provide you with organized, comprehensive, and easy-to-understand study resources that make your learning journey smoother and more effective. Whether you're preparing for exams, reviewing class notes, or tackling tough concepts, you can count on me to deliver valuable, well-crafted content that aligns with your academic goals. Each resource has been carefully created with the intention to simplify complex topics, boost your confidence, and save you time. I aim to provide not just notes, but tools that truly make a difference in how you approach your studies. Explore the vault and discover everything you need to succeed—whether it’s detailed notes, in-depth study guides, or concise exam tips, everything is stored here for your academic growth. Thank you for trusting ScholarVault to be part of your learning experience. I’m excited to help you unlock your academic potential and achieve the success you deserve.

Read more Read less
4.0

431 reviews

5
201
4
106
3
70
2
16
1
38

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