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

CS 111 QUIZ 1 EXAM QUESTIONS AND ANSWERS

Rating
-
Sold
-
Pages
2
Grade
A+
Uploaded on
19-02-2026
Written in
2025/2026

CS 111 QUIZ 1 EXAM QUESTIONS AND ANSWERS Array - CORRECT ANSWERFixed size structure which stores an ordered list of items. It allows for quick access to each value stored, when given the value's index.

Institution
CS 111
Course
CS 111

Content preview

CS 111 QUIZ 1 EXAM QUESTIONS AND ANSWERS
Array - CORRECT ANSWER✅✅Fixed size structure which stores an ordered list of items. It allows for
quick access to each value stored, when given the value's index.



Queue - CORRECT ANSWER✅✅Variable sized structure which maintains items in first-in first-out order.



Stack - CORRECT ANSWER✅✅Variable sized structure which maintains items in last-in first-out order.



Tree - CORRECT ANSWER✅✅Hierarchical structure of items. There is one item at the top of the
hierarchy. Each item has one directly above it in the hierarchy and zero or more items directly below it.



Heap - CORRECT ANSWER✅✅Partially sorted structure. Quick access to the smallest item in the
structure.



Linked List - CORRECT ANSWER✅✅List of objects stored as a sequence of interconnected nodes. Each
node stores an object and points to the node after it in the list. Quick access to the first node in the list.



Merge Sort - CORRECT ANSWER✅✅Split the array in half, recursively sort each half, then combine the
sorted halves together.



Selection Sort - CORRECT ANSWER✅✅Maintain a sorted portion of the array and an unsorted portion.
In each iteration of the algorithm, find the smallest element of the unsorted portion and swap it to the
front of the unsorted portion.



Radix Sort - CORRECT ANSWER✅✅Sort the array digit by digit. For each digit, divide the numbers in the
array into buckets based upon the value of the digit, then combine the buckets back into the array.
Make sure that the items are removed from the buckets in the same order they were put in.



Quick Sort - CORRECT ANSWER✅✅Choose a value in the array to be a pivot. Divide the array into values
smaller than the pivot and values greater than the pivot. Recursively sort each part, then put the sorted
parts together.

Written for

Institution
CS 111
Course
CS 111

Document information

Uploaded on
February 19, 2026
Number of pages
2
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$13.49
Get access to the full document:

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

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.
STANGRADES Stanford University
View profile
Follow You need to be logged in order to follow users or courses
Sold
89
Member since
1 year
Number of followers
1
Documents
12011
Last sold
1 week ago
STAN-GRADES

EXCELLENCY IN ACADEMIC MATERIALS

3.4

14 reviews

5
6
4
1
3
3
2
1
1
3

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