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

WGU C949 Algorithms & Data Structures Frequently Tested Exam Questions With Verified Multiple Choice and Conceptual Actual 100% Correct Detailed Answers Guaranteed Pass!!Current Update!!

Document preview thumbnail
Preview 4 out of 49 pages

WGU C949 Algorithms & Data Structures Frequently Tested Exam Questions With Verified Multiple Choice and Conceptual Actual 100% Correct Detailed Answers Guaranteed Pass!!Current Update!! 1. What is the goal of Hashing? - ANSWER Do faster than O(LogN) time complexity for: lookup, insert, and remove operations. To achieve O(1) 3. How does Hashing work? - ANSWER Hashing? - ANSWER 1. you have a key for the item. 2. the item's key gets churned within the hash function to form the Hash index. 3. The hash index can be applied to the data array, and so, the specific data is found. 4. hash Table: - ANSWER An array that stores a collection of items. 5. Key - ANSWER Information in items that is used to determine where the item goes into the table. 6. Hash Function - ANSWER A function that takes in the key to compute a specific Hash Index. 7. What would the Perfect Hash Function be? - ANSWER Each Key maps to an unique Hash Index. 8. How do you delete a value within the hash table? - ANSWER You just set Table[hash(Key)] = null 9. How do you look up a value within the hash table? - ANSWER return Table[Hash(key)]; 10. How do you insert a value within the hash table? - ANSWER Table[Hash(key)]=data;

Content preview

WGU C949 Algorithms & Data Structures
Frequently Tested Exam Questions With
Verified Multiple Choice and Conceptual
Actual 100% Correct Detailed Answers

Guaranteed Pass!!Current Update!!


1. What is the goal of Hashing? - ANSWER Do faster than O(LogN) time
complexity for: lookup, insert, and remove operations. To achieve O(1)



2. What kind of Collection is Hashing? - ANSWER value-orientated.



3. How does Hashing work? - ANSWER 1. you have a key for the item.

2. the item's key gets churned within the hash function to form the Hash index.
3. The hash index can be applied to the data array, and so, the specific data is
found.



4. hash Table: - ANSWER An array that stores a collection of items.



5. Key - ANSWER Information in items that is used to determine where the
item goes into the table.



6. Hash Function - ANSWER A function that takes in the key to compute a
specific Hash Index.

,7. What would the Perfect Hash Function be? - ANSWER Each Key maps to
an unique Hash Index.



8. How do you delete a value within the hash table? - ANSWER You just set
Table[hash(Key)] = null



9. How do you look up a value within the hash table? - ANSWER return
Table[Hash(key)];



10.How do you insert a value within the hash table? - ANSWER
Table[Hash(key)]=data;


11.What is the worst case time complexity for: Insert, lookup, and delete, for
hash functions? - ANSWER O(1)



12.Collisions: - ANSWER When the Hash Function returns the same index
for different keys.



13.Collesion handeling: - ANSWER How you handle the collisions so each
element in the hittable stores only one item.



14.Idea of probing: - ANSWER If you have a collision, search somewhere
else on the table.

,15.Linear Probing: - ANSWER Step size is 1.
Find the index, and keep incrementing by one until you find a free space.



16.Quadratic Probing: - ANSWER Probe Sequence is (Hk+1)^2.

Minimizes clustering
better at distinguishing items across table.



17.data structure - ANSWER a particular scheme organizing related data
items.



18.linked list - ANSWER A sequence of zero or more nodes containing some
data and pointers to other nodes of the list.



19.list - ANSWER a collection of data items arranged in a certain linear
order



20.stack - ANSWER LIFO list in which insertions/deletions are only done at
one end.



21.queue - ANSWER FIFO list in which elements are added from one end of
the structure and deleted from the other end.



22.priority queue - ANSWER collection of data items from a totally ordered
universe

, 23.acyclic graph - ANSWER A graph with no cycles.



24.tree root - ANSWER top level vertex



25.siblings - ANSWER Vertices of a tree that have the same parent.



26.leaf - ANSWER A vertex with no children



27.parental - ANSWER A vertex with at least one child



28.height of a tree - ANSWER the length of the longest simple path from
the root to a leaf



29.ordered tree - ANSWER A rooted tree in which all children of each
vertex are ordered. (Usually left to right)



30.binary tree - ANSWER An ordered tree in which every vertex has no
more than two children, with each child designated as a left or right child.
Potentially empty.



31.binary search tree - ANSWER A binary tree with the property that for all
parent nodes, the left subtree contains only values less than the parent, and
the right subtree contains only values greater than the parent.

Document information

Uploaded on
November 21, 2025
Number of pages
49
Written in
2025/2026
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.
Sold
275
Followers
87
Items
3134
Last sold
5 days 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