Selection Sort

Your browser needs java to view projects. Click here to install Java.

user_icon scmb1 shared it 4 months, 1 week ago
119 views, 1 tagger, 1 person loves it, 1 remix by 1 person, 13 downloads
Add to my favorites?
Flag as inappropriate?

Comments

You need to be logged in to post comments

Add a Comment

 
MixMaster407 MixMaster407 3 months, 1 week ago

nice

scmb1 scmb1 3 months, 1 week ago

I am happy you find it nice.

ScratchEducation ScratchEducation 3 months, 1 week ago

glitch 0 5 1 12 20 1999 999999999

scmb1 scmb1 3 months, 1 week ago

Yes. Do you know how to fix it?

(view all replies)
bigreader bigreader 3 months, 1 week ago

Mine messed up a couple of numbers, too: 0 1 2 4 3 6 5 8 7 9 10

bigreader bigreader 3 months, 1 week ago

No idea... Sorry if I sounded rude in my first comment. Try entering this: 1 3 5 7 9 2 4 6 8 10, in that order. That's what I did. Also, I didn't download it, so that might affect it too...

scmb1 scmb1 3 months, 1 week ago

I don't know what is wrong with it. I had Paddle2See look at it and he helped me a lot but there are still glitches. Do you have an idea of what the problem might be?

jackrulez jackrulez 3 months, 1 week ago

Glitch: "The sorted list is: 0 5 226 12 1673 5347 9087." 226 dosen't come before 12!

scmb1 scmb1 3 months, 1 week ago

Yeah... I don't know what the problem is.

jackrulez jackrulez 3 months, 1 week ago

Still cool though.

ahaanomegas ahaanomegas 3 months, 1 week ago

Wow...Nice Project. Have you seen this: (link to project)">(link to project)

scmb1 scmb1 3 months, 1 week ago

Thank you. I will check it out.

Animax Animax 4 months ago

It isn't faster on my computer.

Paddle2See Paddle2See* 4 months, 1 week ago

You have another problem too...you can't get it to run a second time. It appears that the Answer block hangs on to it's value between runs...

scmb1 scmb1 4 months, 1 week ago

Thanks. That's really weird. I'm SURE that only happens online. Do you know of a way to get around THAT?

(view all replies)
Paddle2See Paddle2See* 4 months, 1 week ago

Apparently, it is assuming that the Answer block always returns a character string...so it is doing character string type comparisons. Here is a work-around: I forced the list to have numbers by adding zero to the answer block results (link to project)">(link to project)

Tux Tux 4 months, 1 week ago

If you do numbers bigger than 9, it breaks It only sorts the first digit

scmb1 scmb1 4 months, 1 week ago

hmm... I don't think it does that offline. Do you know how to fix it?

Please Wait...