59102 Assignment 5 Results

General Comments

I was not very generous with 10s this time because the people who worked hard on this assignment deserved some extra credit. It was easy to copy quicksort from the notes and get 7/10, to get more though you needed to do something extra.

The headings in the table below are:

Time: How long your program took on my 550Mhz Pentium 3

Sort not Correct: Although the program checks for sorted words it doesn't check that they are all there, so even programs which appeared to work sometimes didn't.

Does not compile: By this stage you should not be handing in programs that don't compile, unless there was a trivial error, assignments that didn't compile got very low marks.

Marks: Marks are based mostly on speed <0.2 seconds gave you 10 marks, 0.2 - 0.5 seconds gave you 9 marks, 0.5 - 4 seconds gave you 8 marks, 4-10 seconds gave you 7 marks.

Martin

ID

Time

Sort not Correct

Does not compile

Marks

Comments

00006939






00041327

0.34



9


00060046

5.62



7


00063878






00065722

5.67



7


00071668






00071692

5.64



7


00075027



x

4

does not compile

00076120






00081221






00087599






00093009



x

5

you need to change the code from the notes to use strings

00101680



x

5

you need to change the code from the notes to use strings

00102458






00116361




5


00123455






00128392

0.15

x


6

you are changing the words pointers so all the words become empty strings. Fair attempt though.

00130362






00179841



x

4

does not compile

00213934






00256285

0.34



9


00271993

0.31



9


00287636






00297739




6

crashes because you use strcpy and are writing over the words.

00300136

0.3



9


01003763






01019562

0.37



9


01019724

0.19



10


01019996






01025449

0.3



9


01028251

6.06



7


01031740






01039784






01046918






01048007






01053744






01066897

6.9



7


01069756




6

crashes because you use strcpy and are writing over the words.

01070274






01072129






01076833



x

5

you need to change the code from the notes to use strings

01079514



x

5

you need to change the code from the notes to use strings

01080105

6.13



7


01080210




6

crashes because you use strcpy and are writing over the words.

01080444

0.37



9


01080946

0.31

x


7

some of the words are overwritten

01085700

3.65



8


01086383

0.34



9


01098675






01099388




6

incomplete

01101145



x

5

you need to change the code from the notes to use strings

01103598

6.1



7


01104322

0.35



9


01106058

0.37



9


01115162






01116878

3.64



8


01124978

0.29



9


01125605

0.31

x


7

some of the words are overwritten

01125761






01129236

>40



6

you must use strcmp to compare strings

01130447

5.66

x


6

you can't use strcpy

01143042

0.25



9


01148591

5.75



7


01157604






01162721



x

5

you need to change the code from the notes to use strings

01167642



x

6

does not compile

01175300



x

3

does not compile

01186159

5.96



7


01188372

6.23



7


01198718




6

crashes because you use strcpy and are writing over the words.

01218999




5

you need to change the code from the notes to use strings

01221248






01225863

0.16



10


01239953






01240552




6

crashes because you use strcpy and are writing over the words.

01240919






01244930






01252461






01257358

0.31



9


01276360






01279300






01279394






01286129






01288393

1.43



8


01290592

0.31



9


01290835

0.38



9


01292951

>40



6

you must use strcmp to compare strings

01309824






01321366

0.34



9


01321706

0.32



9


01322141

>40



6

you can't use strcpy

01324543






01328409

>40



6

you must use strcmp to compare strings

01329073

6.12



7


01340670






01342622

0.12



10


01342967

0.38



9


01350706

4.03



8


01352997




6

crashes, you must use strcmp to compare strings

01353489

9.48

x


7

some words are overwritten

01354515

0.45



9


01361775






01363131



x

5

doesn't compile

01375059

1.8



8


01389580

6.17



7


01391917

5.3



7


01394193

6.09


7

01400355






01400388

6.06



7


01400428

0.4



9


01402560

0.34



6

You were asked to write the sort yourself

01417916

0.44



9


01420690

5.75



7


01424238

5.65



7


01441566

6.15



7


01444220

0.32



9


01446726






01448919



x

5

doesn't compile

01452940

0.46



9


01455206

>40



6

very slow

01460129

0.35



9


01460641

0.4



9


01461346

5.99



7


01463349

0.33



9


01470167






01474022

3.42



8


01475282






01478117

0.32



9


01478354

0.33



9


01479784

0.37



9


01481908

3.31



8


01482866




5

no sorting

01484389



x

5

doesn't compile

01484443






01486497

6.04



7


01492082






01492179

0.31

x


7

some of the words are overwritten

01494317




6

crashes because you use strcpy and are writing over the words.

01497243

5.93



7


01498290





you submitted a 59101 assignment, please resubmit

01499056






01501194



x


you need to change the code from the notes to use strings

01501259



x

5

doesn't compile

01502123




5

incomplete

01502506

0.4



9


01503723






01504800



x


you need to change the code from the notes to use strings

01506749

0.42



9


01511734

0.29

x


9


01515640

6.1



7


01517015

0.31





01521640

6.18

x


7

some of the words are overwritten

01522604

6.08



7


01522868

>40




6


very slow

01525298






01525867




3

incomplete

01528467






01530471






01531859






01532235






01533258






01534173

6.13



7


01535978

0.32



9


01538667






01539655

6.16



7


01541854






01541862

5.59



7


01546279






01550101

5.74

x


7

your partition is not correct because you try to use the middle item as the pivot but then swap with the left afterwards

01554972

6.1



7


01555227






01557947






01558978

0.32



9


01561804

5.99



7


01562517






02001454

5.66

x


7

your partition is not correct because you try to use the middle item as the pivot but then swap with the left afterwards

02003147

>40



6

partition is not correct

02004143






02004151

0.35



9


02004178

>40



6

partition is not correct

02004332






02005069






02009579

0.31



9


02012928

0.36



9


02015209

6.05



7


02023539



x

4

does not compile

02026546

>40



6

very slow

02058995

>40



6

very slow

02060434






02060892

3.55



8


02066017






02073749






02080486






02095297






02179083

0.44



9


08558965

6.14

x


6

partition is not correct

92123103

1.66

x


6

partition is not correct

94014948




5

crashes because you don't use pointers correctly

96122705






97011001






97062153

0.29



9


98024719






98074880

0.32



5

crashed because you didn't use qsort correctly

98160442



x


doesn't compile

98272348

0.32

x


8

do you really trust the 201 textbook! some words are overwritten.

99008458

0.32

x


8

some of the words are overwritten

99039477

6.14



7


99059184






99075457

5.74

x


7

your partition is not correct because you try to use the middle item as the pivot but then swap with the left afterwards

99082291




4

does no sorting, some types are not correct

99086645






99105356



x


you need to change the code from the notes to use strings

99112972

0.39

x


8

some of the words are overwritten

99114096






99208490






99219394