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

COEN 12 Final Exam (45 Questions) – Algorithms, Hashing, Linked Lists, Trees – Santa Clara University

Rating
-
Sold
-
Pages
11
Grade
A+
Uploaded on
25-09-2025
Written in
2025/2026

This document provides a complete and accurate set of 45 final exam questions and answers for COEN 12: Data Structures, covering essential topics in computer science and engineering. It includes a wide range of conceptual and technical questions on algorithm analysis (Big-O notation), runtime efficiency, hash table operations (linear and quadratic probing), linked lists (singly and doubly linked, sorted and unsorted), binary search trees, AVL trees, binary heaps, and graph representations. Also addressed are abstract data types (e.g., stacks and queues) and sorting techniques like heap sort and quick sort. All questions are paired with correct answers and structured in a concise, exam-like format. This document serves as a highly valuable resource for revision and final exam practice. It is particularly relevant for students in: Computer Science Software Engineering Computer Engineering Electrical and Computer Engineering Information Technology Students taking any course related to data structures, algorithm design, or computational efficiency will find this material especially helpful, even if studying at institutions other than Santa Clara University, as the topics are commonly included in standard CS curricula. Keywords: COEN 12, final exam, data structures, algorithm analysis, Big-O notation, hash tables, linked lists, binary search tree, AVL tree, binary heap, graph theory, sorting algorithms, quick sort, heap sort, runtime complexity, stack, queue, tree traversal, abstract data types

Show more Read less









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

Document information

Uploaded on
September 25, 2025
Number of pages
11
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

COEN 12 FINAL 2025/2026 Exam
Questions and Correct Answers | New
Update



What is the run-time efficiency of the following program?




for(i = 1; i <= n; i++)


printf("%d", i); - 🧠 ANSWER ✔✔O(n)


Calculate the run-time efficiency of the following program segment




for(i = 1; i <= n; i++)

for(j = 1; j <= n; j++)

for(k = 1; k <= n; k++)

, printf("%d %d %d\n", i, j, k); - 🧠 ANSWER ✔✔O(n^3)


If the algorithm doIT has an efficiency factor of 5n, calculate the run-time

efficiency of the following program segment:




for(i = 1; i <= n; i++)


doIT(...); - 🧠 ANSWER ✔✔O(n^2)


The big-O notation for the following expression 5n^2 + n^3 + 4(logn)n^2 is?

- 🧠 ANSWER ✔✔O(n^3)


Calculate the run-time efficiency of the following program segment:




for(i = 1; i <= n; i++)

for(j = 1; j <= 1; j++)

for(k = 1; k <= n; k=k*2)


x++; - 🧠 ANSWER ✔✔O(n^2*logn)


True or False: With abstract data types, outsider programs will not know

the detailed implementations but the interfaces. - 🧠 ANSWER ✔✔True

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.
PROFFKERRYMARTIN Liberty University
View profile
Follow You need to be logged in order to follow users or courses
Sold
107
Member since
10 months
Number of followers
1
Documents
7908
Last sold
2 hours ago
KERRYMARTIN

KERRYMARTIN EXAM HUB Assignments, Case Studies, Research, Essay writing service, Questions and Answers, Discussions etc. for students who want to see results twice as fast. I have done papers of various topics and complexities. I am punctual and always submit work on-deadline. I write engaging and informative content on all subjects. Send me your research papers, case studies, psychology papers, etc, and I’ll do them to the best of my abilities. Writing is my passion when it comes to academic work. I’ve got a good sense of structure and enjoy finding interesting ways to deliver information in any given paper. I love impressing clients with my work, and I am very punctual about deadlines. Send me your assignment and I’ll take it to the next level. I strive for my content to be of the highest quality. Your wishes come first— send me your requirements and I’ll make a piece of work with fresh ideas, consistent structure, and following the academic formatting rules. For every student you refer to me with an order that is completed and paid transparently, I will do one assignment for you, free of charge!!!!!!!!!!!!

Read more Read less
3.4

21 reviews

5
9
4
2
3
4
2
1
1
5

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