Question: Question 1 8 Mark 0 . 0 0 out Question 1 9 Not complete Marked out of Question 2 0 How many key comparisons will

Question 18
Mark 0.00 out
Question 19
Not complete
Marked out of
Question 20
How many key comparisons will Shell sort use to sort the following list if gaps of 3 then 1 are used?
7,9,5,8,6,4
You should calculate the answer by hand before verifying via code.
Answer: (penalty regime: 50,100,dots%)
11
Sorry, that's incorrect!
Your raw answer was:
11
Incorrect
Marks for this submission: 0.002.00. This submission attracted a penalty of 1.00.
How many key comparisons will Shell sort use to sort the following list if gaps of 3 then 1 are used?
6,15,10,9,14,12,7,13,11,8
You should calculate the answer by hand before verifying via code.
Answer: (penalty regime: 50,100,dots%)
How many key comparisons will Shell sort use to sort the following list if gaps of 5,2 then 1 are used?
5,6,8,9,14,11,10,15,7,13,12,16
You should calculate the answer by hand before verifying via code.
Answer: (penalty regime: 50,100,dots%)
Sorry, that's incorrect!
Your raw answer was:
Question 1 8 Mark 0 . 0 0 out Question 1 9 Not

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!