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

COSC 2436 Exam 2 Questions and Answers

Rating
-
Sold
-
Pages
0
Grade
A+
Uploaded on
06-12-2025
Written in
2025/2026

COSC 2436 Exam 2 Questions and Answers

Institution
COSC
Course
COSC









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

Written for

Institution
COSC
Course
COSC

Document information

Uploaded on
December 6, 2025
Number of pages
Unknown
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

COSC 2436 Exam 2 Questions and
Answers5

Which hashing method prevents two nearby clusters from (logically) merging into a single big
one: - ANSWERS-coalesced chaining



Why not always use binary search instead of hashing? - ANSWERS-because data has to always
be sorted for binary search to work



A good example of time-space compromise is a size of array used to store: - ANSWERS-hash
table size



In a circular doubly linked list, let's assume that the last node is pointed to by last_pt. If so, the
following is true: - ANSWERS-last_pt^.link_pt^.content = = head_pt^.content



head_pt^.back_link^. content == last_pt^.content



=> both a and b



Assume that in a linked list temp_pt is pointing to a node. We can change the temp_pt (e.g. use
it for another purpose) only if: - ANSWERS-there is another accessible pointer pointing to the
node in question



Changing the graph ___________ will increase the size of adjacency matrix - ANSWERS-from
directed to undirected



Default (most visually obvious) Google map graph weight is: - ANSWERS-distance

, In an un-weighted graph connections can be most efficiently represented by _________type -
ANSWERS-boolean



How many nodes are there in a graph represented by a 3x3 adjacency matrix? - ANSWERS-3



Which of the following is true?

worst case time of Heapsort is better than worst cast time of Quicksort



average case time of Quicksort is better than average case time of Heapsort



best case time of Quicksort is worse that best case time of Heapsort




both a) and b) - ANSWERS-worst case time of Heapsort is better than worst cast time of
Quicksort



In array representation of Heapsort, the parent of h[31] will be located at: - ANSWERS-h[15]



Invalid heap:



K



/\



MS

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.
Bensuda Oxford University
View profile
Follow You need to be logged in order to follow users or courses
Sold
847
Member since
3 year
Number of followers
445
Documents
21474
Last sold
2 days ago
ECONOMICS,NURSING,BIOLOGY AND ALL REVISION MATERIALS

DEDICATED TO PROVIDE YOU WITH THE BEST LEARNING MATERIALS THAT WILL IMPROVE YOUR GRADES ,WELCOME TO ALIZGRADES AND LETS DO IT TOGETHER!!! GOODLUCK!!!!!!!

3.7

158 reviews

5
74
4
24
3
25
2
11
1
24

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