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
Exam (elaborations)

WGU C949 Data Structures and Algorithms questions with answers

Rating
-
Sold
-
Pages
11
Grade
A+
Uploaded on
12-10-2025
Written in
2025/2026

WGU C949 Data Structures and Algorithms questions with answers

Institution
Course

Content preview

WGU C949 Data Structures and |\ |\ |\ |\ |\




Algorithms questions with answers |\ |\ |\




A functions whose cost scales linearly with the size of the input
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\




O(n)
Iterating over a collection of data once often indicates an ______
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\


algorithm. (alphabet for-loop example) |\ |\ |\




O(n)
A functions whose cost scales logarithmically with the input size
|\ |\ |\ |\ |\ |\ |\ |\ |\




O(log n) |\




Which type of function works by breaking down large problem
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\


into smaller and smaller chunks?
|\ |\ |\ |\




O(log n) |\




As the size of the input grows the cost of the algorithm does not
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\


increase at the same rate. The overall cost of performing an
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\


operation on 1,000,000 items is only twice that of performing the
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\


operation on 1,000 items.
|\ |\ |\ |\




O(log n) |\




A function that exhibits quadratic growth relative to the input
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\


size
O(n^2)
An example of this type of function is doubly nested loop
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\




O(n^2)
Which type of function gets really expensive really quickly?
|\ |\ |\ |\ |\ |\ |\ |\




O(n^2)

, A function that has two inputs that contribute to growth
|\ |\ |\ |\ |\ |\ |\ |\ |\




O(nm)
An example of this type of function is when there is a nested loop
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\


that iterates of two distinct collections of data
|\ |\ |\ |\ |\ |\ |\ |\




O(nm)
Are Big-O cases used in the best or worst situations?
|\ |\ |\ |\ |\ |\ |\ |\ |\




Worst
Which statement is static? |\ |\ |\




readonly Contact[] contacts = new Contact[]; |\ |\ |\ |\ |\




readonly Contact contacts = new Contacts[100]; |\ |\ |\ |\ |\




readonly Contact contacts = new Contacts[100]; |\ |\ |\ |\ |\




A container where data is stored in nodes consisting of a single
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\


data item and a reference to the next node
|\ |\ |\ |\ |\ |\ |\ |\




Linked List |\




A ______ is a container where nodes of data are linked together
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\


into a list |\ |\




Linked List |\




Linking together complex nodes into a single structure
|\ |\ |\ |\ |\ |\ |\




Linked List |\




Each link in a chain for a linked lists is called a ______
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\




node
What two things do nodes contain?
|\ |\ |\ |\ |\




1. the value
|\ |\


2. reference to next item in the list
|\ |\ |\ |\ |\ |\ |\

Written for

Institution
Course

Document information

Uploaded on
October 12, 2025
Number of pages
11
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

R361,56
Get access to the full document:

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

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.
EXAMSTUDYPLUG Stanford University
Follow You need to be logged in order to follow users or courses
Sold
335
Member since
3 year
Number of followers
107
Documents
19819
Last sold
8 hours ago
GRADE BUDDY

Welcome to My Page! Are you looking for high-quality study resources to ace your exams or better understand your coursework? You've come to the right place! I'm passionate about sharing my knowledge and helping students succeed academically. Here, you'll find a wide range of well-organized notes, study guides, and helpful materials across various subjects, including Maths ,nursig, Biology, History, etc.. Each resource is carefully crafted with detailed explanations, clear examples, and relevant key points to help simplify complex concepts. Whether you're preparing for a test, reviewing lectures, or need extra support, my resources are designed to make your learning experience smoother and more effective. Let me be a part of your academic journey, and feel free to reach out if you have any questions or need personalized assistance!

Read more Read less
4,5

234 reviews

5
158
4
50
3
14
2
5
1
7

Trending documents

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 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

Frequently asked questions