Selection Sort

Install Java to view this project right on your browser!

user_icon scmb1 shared it 2 years, 7 months ago
207 views, 1 tagger, 2 people love it, 2 remixes by 2 people, 37 downloads, in 1 gallery
Add to my favorites?
Flag as inappropriate?

Comments

You need to be logged in to post comments

Add a Comment

 
Greentabby55 Greentabby55 1 year, 9 months ago

I see a glitch. It said 0 was smaller than -333.

Greentabby55 Greentabby55 1 year, 9 months ago

I think it's because 0 is always put first.

phillips101 phillips101 1 year, 10 months ago

VERY useful

scmb1 scmb1 1 year, 10 months ago

Thanks, although it can be glitchy.

Mathguy88 Mathguy88 1 year, 11 months ago

Really neat

scmb1 scmb1 1 year, 11 months ago

Thanks again.

MathManiac MathManiac 1 year, 11 months ago

It added a 0!

3-14159265358979323 3-14159265358… 1 year, 10 months ago

it happened too(actually 3 0s)

scmb1 scmb1 1 year, 11 months ago

That's strange... This thing glitches a lot. I have no idea why.

(view all replies)
3-14159265358979323 3-14159265358… 2 years, 1 month ago

glitch 0 0 1 2 3 6 5 8 7 9.

scmb1 scmb1 2 years, 1 month ago

Unless you have a solution to the problem, PLEASE stop commenting on this project. I know there is a glitch, but I do not know how to fix it. Telling me over and over is not going to help anything.

(view all replies)
3-14159265358979323 3-14159265358… 2 years, 1 month ago

glitch 12 3 1.0e47 6.666666666666667e62 8.8888888888888889e64 7.777777777777778e65 4.444444444444444e102.3 doesn't come after 12.

MathManiac MathManiac 1 year, 11 months ago

LOL! that sometimes happen with my Microsoft Exel stuff.

3-14159265358979323 3-14159265358… 2 years, 1 month ago

there's a problem.i typed in 34 34 34 45 and output= 0 34 34 34 45

scmb1 scmb1 2 years, 1 month ago

Yes, I know. But telling me about the glitches isn't going to fix them. If you know how to fix it, please help.

(view all replies)
3-14159265358979323 3-14159265358… 2 years, 1 month ago

glitch 111111 12 3.223232323232321e18

scmb1 scmb1 2 years, 1 month ago

Yes, I know there are glitches. Do you know what the problem is?

3-14159265358979323 3-14159265358… 2 years, 1 month ago

glitch 0 212 2 2 433

3-14159265358979323 3-14159265358… 2 years, 1 month ago

glitch 0 0 6 5 4 3 2 1 0 0 8

3-14159265358979323 3-14159265358… 2 years, 1 month ago

glitch 2 2 2 2 2 3 3 3 3 4 4 5 23 21 111

3-14159265358979323 3-14159265358… 2 years, 1 month ago

glitch 12 121 12 12 12 1 1 21 2 2 12 1 2 1

scmb1 scmb1 2 years, 1 month ago

Yeah... Do you know what the problem is?

(view all replies)
MixMaster407 MixMaster407 2 years, 5 months ago

nice

scmb1 scmb1 2 years, 5 months ago

I am happy you find it nice.

ScratchEducation ScratchEducat… 2 years, 5 months ago

glitch 0 5 1 12 20 1999 999999999

scmb1 scmb1 2 years, 5 months ago

Yes. Do you know how to fix it?

(view all replies)
bigreader bigreader 2 years, 6 months ago

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

bigreader bigreader 2 years, 5 months 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 2 years, 6 months 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 2 years, 6 months ago

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

scmb1 scmb1 2 years, 6 months ago

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

jackrulez jackrulez 2 years, 6 months ago

Still cool though.

ahaanomegas ahaanomegas 2 years, 6 months ago

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

scmb1 scmb1 2 years, 6 months ago

Thank you. I will check it out.

Animax Animax 2 years, 6 months ago

It isn't faster on my computer.

Paddle2See Paddle2See* 2 years, 6 months 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 2 years, 6 months 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* 2 years, 6 months 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)

Tux Tux 2 years, 7 months ago

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

scmb1 scmb1 2 years, 7 months ago

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

Please Wait...