Tags:
tag this topic
create new tag
view all tags
---+Sorting and Searching homework Due date given in class<br> To be handed in via hard copy on the date specified<br> ---++Data set to use for sorting each question 65, 34, 27, 84, 92, 54, 82, 15, 75, 49, 50, 21 1. Sort via the selection sort. Show your work after each pass through the "outer loop". Include passes that due nothing. 1. Sort via the insertion sort. Show your work after each pass through the "outer loop". Include passes that due nothing. 1. Sort via the bubble sort. Show your work after each pass through the "outer loop". Include passes that due nothing. 1. Sort via the merge sort. Show your work before each merge. 1. Sort via the heap sort. Show your work after each adjustment of the "heap" 1. Complete the following chart 1. If you had to sort data that was so large it could not fit into memory, what sort would you consider modifying? Why? What is the work you are trying to minimize? | Sort name | Best Case Description | Base Case Work Compares | Best Case Work Moves | Worst Case Description | Worst Case Work Compares | Worst Case Work Moves | Average Case Work Compares | Average Case Work Moves | | Selection Sort | | | | | | | | | | Insertion Sort | | | | | | | | | | Bubble Sort | | | | | | | | | | Merge Sort | | | | | | | | | | Heap Sort | | | | | | | | |
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2021-10-05
-
cathybareiss
Home
Site map
Assessment web
BethelAIResources2026 web
CenterForComputing web
ChatGPT web
Intro2AIatBethel web
Main web
Sandbox web
TWiki web
CenterForComputing Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
E
dit
A
ttach
Copyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback