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

WGU C949 DATA STRUCTURES AND ALGORITHMS| 102 ACTUAL QUESTIONS & CORRECT VERIFIED ANSWERS || GRADED A+

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

WGU C949 DATA STRUCTURES AND ALGORITHMS| 102 ACTUAL QUESTIONS & CORRECT VERIFIED ANSWERS || GRADED A+ 1. A functions whose cost scales linearly with the size of the input ANS >> O(n) 2. Iterating over a collection of data once often indicates an algorithm. (alphabet for-loop example) ANS >> O(n) 3. A functions whose cost scales logarithmically with the input size ANS >> O(log n) 4. Which type of function works by breaking down large problem into smaller and smaller chunks? ANS >> O(log n) 5. 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, is only twice that of performing the operation on 1,000 items. ANS >> O(log n) 6. A function that exhibits quadratic growth relative to the input size ANS >> O(n^2) 7. An example of this type of function is doubly nested loop ANS >> O(n^2) 8. Which type of function gets really expensive really quickly? ANS >> 9. A function that has two inputs that contribute to growth ANS >> O(nm) 10. An example of this type of function is when there is a nested loop that iterates of two distinct collections of data ANS >> O(nm)

Show more Read less
Institution
WGU C949 Data Structures And Algorithms
Course
WGU C949 Data Structures and Algorithms









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

Written for

Institution
WGU C949 Data Structures and Algorithms
Course
WGU C949 Data Structures and Algorithms

Document information

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

Subjects

Content preview

WGU C949 DATA STRUCTURES AND ALGORITHMS| 102
ACTUAL QUESTIONS & CORRECT VERIFIED ANSWERS ||
GRADED A+



1. A functions whose cost scales linearly with the size of the input ANS >> O(n

2. Iterating over a collection of data once often indicates an algorithm.
(alphabet for-loop example) ANS >> O(n)

3. A functions whose cost scales logarithmically with the input size ANS >>
O(log n)

4. Which type of function works by breaking down large problem into smaller
and smaller chunks? ANS >> O(log n)

5. 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. ANS >> O(log n)

6. A function that exhibits quadratic growth relative to the input size ANS >>
O(n^2)

7. An example of this type of function is doubly nested loop ANS >> O(n^2)

O(n^2)
Which type of function gets really expensive really quickly? ANS >>
8.


9. A function that has two inputs that contribute to growth ANS >> O(nm)

10. An example of this type of function is when there is a nested loop that
iterates of two distinct collections of data ANS >> O(nm)

1 J/ J
11

, 11. Are Big-O cases used in the best or worst situations? ANS >> Worst

12. Which statement is static?

readonly Contact[] contacts = new Contact[];

readonly Contact contacts = new Contacts[100]; ANS >> readonly Contact
contacts = new Contacts[100];

13. A container where data is stored in nodes consisting of a single data item
and a reference to the next node ANS >> Linked List

14. A is a container where nodes of data are linked together into a
list ANS >> Linked List

15. Linking together complex nodes into a single structure ANS >> Linked List

16. Each link in a chain for a linked lists is called a ANS >> node

17. What two things do nodes contain? ANS >> 1. the value

2. reference to next item in the list

18. Give a coded example on how to create a 3 chained linked list of nodes.
ANS >> -

Node head = new Node(1);

head.Next = new Node(2);


head.Next.Next = new Node(3);

19. A list where we start at the first node and follow the chain of nodes iterating
over each until we get to the end ANS >> Singly Linked List




2 J/ J
11

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.
MBOFFIN HOWARD COMMUNITY COLLEGE
View profile
Follow You need to be logged in order to follow users or courses
Sold
629
Member since
4 year
Number of followers
221
Documents
5219
Last sold
12 hours ago
2000's STORE

THE EASIEST WAY TO STUDY NURSING EXAMS,STUDY GUIDES,TEST BANKS, SOLUTION MANUALS AND QUALITY EXAMS IN MY STORE. ALWAYS LEAVE A REVIEW AFTER PURCHASING ANY DOCX SO AS TO MAKE SURE MY CUSTOMERS ARE 100% SATISFIED....ALL ARE WELCOME.

3.8

110 reviews

5
49
4
20
3
21
2
7
1
13

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