19-07apr03arrays - 1 1 CS100J 03 April 2007 Sorting:...

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

View Full Document Right Arrow Icon

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

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

Unformatted text preview: 1 1 CS100J 03 April 2007 Sorting: insertion- selection- quick- sort Rectangular arrays and ragged arrays. Secs. 9.1 9.3 Haikus (5-7-5) seen on Japanese computer monitors Do exercises on pp. 311-312 to get familiar with concepts and develop skill. Practice in DrJava! Test your methods! Yesterday it worked. Today it is not working. Windows is like that. A crash reduces Your expensive computer To a simple stone. Three things are certain: Death, taxes and lost data. Guess which has occurred? Serious error. All shortcuts have disappeared. Screen. Mind. Both are blank. The Web site you seek Cannot be located, but Countless more exist. Chaos reigns within. ReFect, repent, and reboot. Order shall return. 2 Sorting: ? 0 n pre: b sorted 0 n post: b sorted ? 0 i n insertion sort inv: b for ( int i= 0; i < n; i= i+1) {...
View Full Document

Page1 / 2

19-07apr03arrays - 1 1 CS100J 03 April 2007 Sorting:...

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