chp 9 Number 4

chp 9 Number 4 - 1 10 5 55 2 2 6 10 8 92 2 3 9 10 9 98 2 4...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
0 1 2 3 4 5 6 7 8 9 list 2 10 17 45 49 55 68 85 92 98 Iteration first last mid list (mid) a.15 1 0 10 5 55 2 2 0 4 2 17 2 3 0 1 Loop stops unsuccesful search  4 Total  Iteration first last mid list (mid) b.49 1 0 10 5 55 2 2 0 4 2 17 2 3 3 4 3 45 2 4 4 4 4 49 1 found 7 Total  Iteration first last mid list (mid) c. 98 1 0 10 5 55 2 2 6 10 8 92 2 3 9 10 9 98 1 found  5 Total  Iteration first last mid list (mid) d. 99
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1 10 5 55 2 2 6 10 8 92 2 3 9 10 9 98 2 4 10 10 Loop stops unsuccesful search 6 Total Numer of Comparisons Numer of Comparisons Numer of Comparisons Numer of Comparisons 10 110...
View Full Document

This note was uploaded on 01/19/2011 for the course BA 250 taught by Professor None during the Spring '10 term at Grantham.

Page1 / 2

chp 9 Number 4 - 1 10 5 55 2 2 6 10 8 92 2 3 9 10 9 98 2 4...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online