59102 Assignment 2 Results

General Comments

The headings in the table below are:

ID

Works

Docs &
Style

Sub

Total

Comments

00006939






00041327

-1



9

first byte in image is not correct because you access n[-1].

00060046




10


00063878






00065722




10


00071668






00071692

-2

-2


6

Your output is incorrect because you generate the next number in the sequence before, rather than after performing the XOR. No documentation.

00075027




10


00076120






00081221



-4

6

too similar to 01417916

00087599






00093009


-2


8

No documentation.

00101680

-1



9

too similar to 99105356, should be n=(n*106....

00102458




10


00116361



-8

2

too similar to 00123455 and a previous submission

00123455



-8

2

too similar to 00116361 and a previous submission

00128392




10


00130362






00179841




10


00213934






00256285




10


00271993

-1



9

adds extra byte at end of file

00287636

-4

-2


4

no documentation, loop incorrect, doesn't work.

00297739




10


00300136




10


01003763




10


01019562

-1



9

the brackets are in the wrong place in your expression to generate the next number in the sequence.

01019724

-4



6

you can't use fscanf and %d because it is a binary file and you are never using the number from the sequence.

01019996




10


01025449




10


01028251




10


01031740






01039784






01046918






01048007




10


01053744


-2


8

No documentation

01066897




10


01069756




10


01070274






01072129






01076833


-2


8

No documentation

01079514




10


01080105

-1



9

writes extra bytes at the end of the file, your loops run for more 40000 bytes.

01080210

-5

-1


4

does not compile

01080444




10


01080946


-1

-6

3

too similar to 01104322, needs better documentation

01085700




10


01086383




10


01098675




10


01099388

-2

-2


4

sequence not used correctly, No documentation

01101145


-1


9

documentation could be better

01103598



-2

8

too similar to 01129236

01104322



-6

4

too similar to 01080946

01106058

-2



8

does not compile, needs an extra bracket before return 0;

01115162




10


01116878




10


01124978




10


01125605

-1

-2


7

remove next=next%256; and it should work, No documentation

01125761

-1



9

writes extra byte at end of file

01129236




10

too similar to 01103598

01130447

-3

-1


6

does not work, the sequence is not used to generate a palette but a unique number for every byte in the image. Documentation could be better.

01143042




10


01148591

-1



9

file is 1 byte short.

01157604




10


01162721


-2


8

No documentation

01167642




10


01175300

-2



8

with the loop going up to 40000 it would probably have worked.

01186159

-1



9

writes extra byte at end of file

01188372




10


01198718




10


01218999




10


01221248






01225863




10


01239953






01240552

-1



9

crashes when it accesses array[40000] otherwise OK.

01240919






01244930






01252461






01257358




10


01276360




10


01279300




10


01279394




10


01286129

-2



8

n never gets to be 40000 so the program never ends

01288393




10


01290592




10


01290835




10


01292951




10


01309824




10


01321366

-3

-2


5

sequence not generated correctly, No documentation

01321706

-1



9

first byte in image is not correct because you access n[-1]

01322141

-3



7

sequence not generated correctly

01324543


-1


9

documentation could be better

01328409

-1



9

first byte in image is not correct because you access n[-1]

01329073




10


01340670






01342622




10


01342967




10


01350706




10


01352997

-3



7

sequence not generated correctly

01353489

-1



9

output is 1 byte short.

01354515




10


01361775






01363131




10


01375059




10


01389580

-1



9

crashes when it accesses array[40000] otherwise OK.

01391917




10


01394193



10

01400355




10


01400388

-2



8

Your output is incorrect because you generate the next number in the sequence before, rather than after performing the XOR.

01400428



-6

4

too similar to 01460641

01402560




10


01417916



-4

6

too similar to 00081221

01420690




10


01424238


-2


8

No documentation

01441566

-4



6

loop not correct

01444220




10


01446726

-2



8

Your output is incorrect because you generate the next number in the sequence before, rather than after performing the XOR.

01448919

-1



9

writes extra byte at end of file

01452940




8

No documentation

01455206




10


01460129



-8

2

too similar to 00123455 and a previous submision

01460641



-6

4

too similar to 01400428

01461346


-1


9

documentation could be better

01463349




10


01470167






01474022




10


01475282






01478117

-1



9

writes extra byte at end of file

01478354




10


01479784




10


01481908



-6

4

too similar to 02009579

01482866




10


01484389

-2



8

should be num=i^n;

01484443






01486497

-1



9

writes extra byte at end of file

01492082



-4

6

too similar to 01499056

01492179


-2


8

No documentation

01494317

-1



9

crashes when it accesses array[40000] otherwise OK.

01497243




10


01498290






01499056



-4

6

too similar to 01492082

01501194




10


01501259

-1



9

writes extra byte at end of file

01502123

-1



9

writes extra byte at end of file

01502506




10


01503723






01504800




10


01506749




10


01511734




10


01515640

-2

-2


6

Your output is incorrect because you generate the next number in the sequence before, rather than after performing the XOR. No documentation

01517015




10


01521640




10


01522604


-2


8

No documentation

01522868


-2


8

No documentation

01525298






01525867




10


01528467






01530471






01531859




10


01532235






01533258






01534173




10


01535978




10


01538667

-3

-2


5

fgetc not used correctly, No documentation

01539655




10


01541854


-2

-6

2

too similar to 01463349, No documentation

01541862




10


01546279




10


01550101




10


01554972




10


01555227






01557947






01558978

-2

-2


6

Your output is incorrect because you generate the next number in the sequence before, rather than after performing the XOR. No documentation

01561804


-2


8

No documentation

01562517






02001454

-1



9

first byte in image is not correct because you access n[-1].

02003147


-2


8

No documentation

02004143

-1

-2


7

writes extra byte at end of file, No documentation

02004151




10


02004178




10


02004332






02005069






02009579




10


02012928

-1



9

you need j++ in your loop otherwise it never terminates

02015209




10


02023539

-4



6

int fgetc(FILE *fin); is a declaration, not a function call, use c=fgetc(fin), same for fputc, sequence not generated correctly.

02026546

-1



9

writes extra byte at end of file

02058995

-1



9

writes extra byte at end of file

02060434




10


02060892




10

good, or you could use: rawtopgm 200 200 < output.img | xv -

02066017






02073749


-1


9

documentation could be better

02080486






02095297






02179083

-1



9

first byte in image is not correct because you access n[-1].

08558965




10


92123103

-1



9

writes extra byte at end of file

94014948




10


96122705






97011001






97062153




10


98024719






98074880




10

too similar to a previous submission

98160442

-5

-1


4

doesn't read from the file, doesn't generate sequence correctly, doesn't write output.

98272348




10


99008458

-3

-2

-2

3

sequence not generated correctly, No documentation, late

99039477




10


99059184






99075457

-1



9

first byte in image is not correct because you access n[-1].

99082291

-1



9

writes extra byte at end of file

99086645




10


99105356

-1


-6

3

Too similar to 00101680, should be n=(n*106....

99112972




10


99114096






99208490






99219394