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 3 out of 18 pages
Exam (elaborations)

WGU C949 Data Structures and Algorithms (New Update) Questions & Answers -Grade A- 100-

Document preview thumbnail
Preview 3 out of 18 pages

WGU C949 Data Structures and Algorithms (New Update) Questions & Answers -Grade A- 100-

Content preview

WGU C949 Data Structures and Algorithms
(New 2026/ 2027 Update) Questions &
Answers {Grade A} 100% Correct (Verified
Solutions)

A hash function computes a bucket index from an item's _____. - correct answer key




A 100 element hash table has 100 _____. - correct answer buckets




For a well-designed hash table, searching requires _____ on average. - correct answer


O(1)




In a Hash Table keys need to be ______. - correct answer unique




Given a hash table with 100 buckets and modulo hash function, in which bucket will


HashInsert(table, item 334) insert item 334? - correct answer 34




Given a hash table with 50 buckets and modulo hash function, in which bucket will

HashSearch(table, 201) search for the item? - correct answer 1

,(201%50)




A hash table's items will be positive integers, and -1 will represent empty. A 5-bucket


hash table is: -1, -1, 72, 93, -1. How many items are in the table? - correct answer 0




A functions whose cost scales linearly with the size of the input - correct answer O(n)




Iterating over a collection of data once often indicates an ______ algorithm. (alphabet


for-loop example) - correct answer O(n)




A functions whose cost scales logarithmically with the input size - correct answer


O(log n)




Which type of function works by breaking down large problem into smaller and smaller


chunks? - correct answer 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. - correct answer O(log n)




A function that exhibits quadratic growth relative to the input size - correct answer


O(n^2)




An example of this type of function is doubly nested loop - correct answer O(n^2)




Which type of function gets really expensive really quickly? - correct answer O(n^2)




A function that has two inputs that contribute to growth - correct answer O(nm)




An example of this type of function is when there is a nested loop that iterates of two


distinct collections of data - correct answer O(nm)




Are Big-O cases used in the best or worst situations? - correct answer Worst

Document information

Uploaded on
August 3, 2026
Number of pages
18
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$13.99

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.
examvaulthub
2.0
(2)
Sold
14
Followers
0
Items
1268
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