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

CSE 310 UPDATED EXAMINATION RESOURCES 2026 DETAILED ANSWERS PROVIDED

Rating
-
Sold
-
Pages
8
Grade
A+
Uploaded on
10-01-2026
Written in
2025/2026

CSE 310 UPDATED EXAMINATION RESOURCES 2026 DETAILED ANSWERS PROVIDED

Institution
CSE 310
Course
CSE 310









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

Written for

Institution
CSE 310
Course
CSE 310

Document information

Uploaded on
January 10, 2026
Number of pages
8
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

CSE 310 UPDATED EXAMINATION
RESOURCES 2026 DETAILED ANSWERS
PROVIDED

⫸ Big Ω notation. Answer: Ω(g(n)) = f(n) if f(n) >= a*g(n) while n
>= b


⫸ Big Θ notation. Answer: Θ(g(n)) = f(n) if f(n) <= a*g(n) and f(n)
>= b*g(n) for all n >= c


⫸ To prove correctness of algorithm, show ______, _____ and
_____ hold. Answer: initialization, maintenance, and termination


⫸ Index of left child of node. Answer: i = index of node
2*i = index of node's left child


⫸ parent index in heap. Answer: i = index of node
floor(i/2) = index of node's parent


⫸ What does heap-extract max do?. Answer: 1) takes out the head of
heap and replaces it with last node
2) performs max-heapify on head

, ⫸ Find the expression associated with the runtime of this
pseudocode (i.e. C1 x n + C2 x n ... etc) and find the big O
approximation


k=1 // C1
do // C2
{
j = 1 // C3
do // C4
{
j = j*2 // C5
}while(j < n) // C6
k++ // C7
}while (k < n) // C8. Answer: C1 x 1 + C2 x n + C3 x n + C4 x
n(log_2(n)) + C5 x n(log_2(n)) + C6 x n(log_2(n)) + C7 x n + C8 x n
= O(nlogn)


⫸ Time of max-heapify. Answer: O(logn)


⫸ O approximation of T(n) = T(n/2)+cn+b. Answer: O(nlogn)


⫸ What is the height of a heap?. Answer: The number of edges from
head to lowest node

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.
FocusFile7 Harvard University
View profile
Follow You need to be logged in order to follow users or courses
Sold
32
Member since
6 months
Number of followers
2
Documents
18601
Last sold
1 day ago
FocusFile7

Welcome to FocusFile, your inspiring hub for academic excellence! Just like your favorite café where every sip brings comfort, FocusFile is designed to be your go-to space for clear thinking, deep focus, and study success. Here at FocusFile, I believe learning isn’t just about cramming it’s about clarity, growth, and building the confidence to conquer any challenge. That’s why you’ll find a handpicked collection of top-notch, easy-to-digest study materials, smart summaries, and guides tailored to a wide range of subjects and learning styles. Whether you're gearing up for exams, brushing up on class notes, or just need that extra push, FocusFile has you covered. From quick-reference sheets to deep-dive notes, there’s something here for every learner whether you're a visual thinker, a bullet-point lover, or someone who thrives on quick, impactful insights. Think of FocusFile as your academic sanctuary, a place where productivity meets peace of mind. So grab your favorite drink, settle in, and let’s sharpen your focus and fuel your success, one file at a time. Thanks for making FocusFile your study partner. Let’s unlock your full potential together!

Read more Read less
4.0

3 reviews

5
1
4
1
3
1
2
0
1
0

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