Project15 Q. how many examples?

4 views
Skip to first unread message

Lindsey Jeongsun Yoo

unread,
Aug 1, 2011, 2:59:04 PM8/1/11
to BYU 142 Summer 2011
so do we need to show only one set of numbers to be sorted? ? I am
afraid if I didn't get the requirement right.

Lane - TA

unread,
Aug 1, 2011, 3:17:11 PM8/1/11
to byu-142-s...@googlegroups.com
You should create a couple arrays with different numbers in it and sort those arrays with the bubble sort you created.

Tyrel Fitzpatrick

unread,
Aug 1, 2011, 3:24:59 PM8/1/11
to BYU 142 Summer 2011
I know once a program runs great once its tempting to walk away, but
checking to ensure a wide variety of test cases are met is a good
habit to develop. Otherwise your "working" program breaks very easily
and you look like a goof

Jesse Howell

unread,
Aug 1, 2011, 3:49:13 PM8/1/11
to BYU 142 Summer 2011
Make sure it works with arrays with even-numbered sizes and odd-
numbered sizes, and trying it out with negative numbers probably
wouldn't be a bad idea either. :)

Silence Dogood

unread,
Aug 1, 2011, 3:53:15 PM8/1/11
to BYU 142 Summer 2011
That's what I meant with a variety of test cases, I should have been
more specific, thanks Jesse!
Reply all
Reply to author
Forward
0 new messages