This assignment was quite tricky and I've tried to be quite generous. If you got it to work without much help, go and buy yourself some chocolate, if not, you still may have got quite good marks. There were lots of similar submissions, you are not allowed to work in groups and submit the same code. If I took marks off and you want them back, just come and see me individually and explain how your program works.
The headings in the table below are:
Works - How well your program worked, out of 7. I ran them all on my machine after compiling them with gcc and tested them with oic.out.
Docs - Documentation, out of 3. You should have used comments for documentation, if you didn't then no marks, if you did then up to 3 marks.
Sub - I may have taken marks off for plagiarism or late submission, the comments should explain why. I took off lots of marks for copying, if you want these back, come and explain your program to me.
Total - Marks out of 10.
|
ID |
Works |
Docs |
Sub |
Total |
Comments |
|
00006939 |
|
|
|
|
|
|
00041327 |
|
|
|
10 |
|
|
00060046 |
|
-1 |
-4 |
5 |
too similar to 00081221 |
|
00063878 |
|
|
|
|
|
|
00065722 |
-1 |
-1 |
|
8 |
write has a small error where you write to the array and set the pc. |
|
00071668 |
|
|
|
|
|
|
00071692 |
|
|
-5 |
5 |
too similar to 01546279 |
|
00075027 |
-1 |
-1 |
|
8 |
write has a small error where you write to the array and set the pc. |
|
00076120 |
|
|
|
|
|
|
00081221 |
|
|
-4 |
6 |
too similar to 00060046 |
|
00087599 |
|
|
|
|
|
|
00093009 |
-3 |
-1 |
|
6 |
read and write not correct, borrow test not correct |
|
00101680 |
-1 |
|
-2 |
7 |
too similar to 99105356, last line should be write(i,a) |
|
00102458 |
|
|
|
|
|
|
00116361 |
|
|
|
10 |
|
|
00123455 |
|
|
|
|
|
|
00128392 |
|
-1 |
|
9 |
|
|
00130362 |
|
|
|
|
|
|
00179841 |
-2 |
|
|
8 |
write doesn't write to the array |
|
00213934 |
|
|
|
|
|
|
00256285 |
|
|
|
10 |
|
|
00271993 |
|
|
|
10 |
|
|
00287636 |
|
|
|
|
|
|
00297739 |
|
-3 |
|
7 |
|
|
00300136 |
|
|
|
10 |
|
|
01003763 |
|
-1 |
|
9 |
|
|
01019562 |
|
|
-2 |
8 |
too similar to 01175300 |
|
01019724 |
|
-1 |
|
9 |
|
|
01019996 |
|
|
|
10 |
|
|
01025449 |
|
|
-5 |
5 |
too similar to 97062153 |
|
01028251 |
-2 |
|
|
8 |
you don't clear the top bits of A and write is not quite correct. |
|
01031740 |
|
|
|
|
|
|
01039784 |
|
|
|
|
|
|
01046918 |
|
|
|
|
|
|
01048007 |
|
|
|
|
|
|
01053744 |
-1 |
-1 |
|
8 |
last line should be write(i,a) |
|
01066897 |
|
|
|
10 |
|
|
01069756 |
|
-1 |
-5 |
4 |
too similar to 01106058 |
|
01070274 |
|
|
|
|
|
|
01072129 |
|
|
|
|
|
|
01076833 |
|
|
|
|
|
|
01079514 |
-1 |
|
-5 |
4 |
too similar to 01080444,should be write(i,a) |
|
01080105 |
|
|
-5 |
5 |
too similar to 01492082 |
|
01080210 |
|
|
|
|
|
|
01080444 |
|
|
-4 |
6 |
too similar to 01079514 |
|
01080946 |
|
|
-5 |
5 |
too similar to 01104322 |
|
01085700 |
-1 |
|
|
9 |
the NUL character should not be printed |
|
01086383 |
|
|
|
10 |
|
|
01098675 |
-4 |
-1 |
|
5 |
read, write and emulate not correct |
|
01099388 |
|
|
|
|
|
|
01101145 |
|
|
|
10 |
|
|
01103598 |
|
-1 |
-4 |
5 |
too similar to 01129236 |
|
01104322 |
|
|
-4 |
6 |
too similar to 01080946 |
|
01106058 |
|
|
|
10 |
|
|
01115162 |
|
|
|
10 |
|
|
01116878 |
|
|
|
|
|
|
01124978 |
-3 |
-3 |
|
4 |
does not compile, read and write not correct. |
|
01125605 |
|
-3 |
-5 |
2 |
too similar to 99008458 |
|
01125761 |
|
|
|
|
|
|
01129236 |
|
-2 |
-2 |
6 |
too similar to 01103598 |
|
01130447 |
|
-3 |
|
7 |
|
|
01143042 |
|
|
|
10 |
|
|
01148591 |
|
|
-3 |
7 |
too similar to 01257358 |
|
01157604 |
|
|
|
|
|
|
01162721 |
|
|
|
|
|
|
01167642 |
-2 |
-2 |
|
6 |
a few small errors |
|
01175300 |
|
|
-5 |
5 |
too similar to 01019562 |
|
01186159 |
-1 |
|
|
9 |
the NUL character should not be printed |
|
01188372 |
-1 |
|
|
9 |
should be while(i!=1999) |
|
01198718 |
|
|
|
10 |
|
|
01218999 |
|
-2 |
|
8 |
|
|
01221248 |
|
|
|
|
|
|
01225863 |
-1 |
|
|
9 |
the NUL character should not be printed |
|
01239953 |
|
|
|
|
|
|
01240552 |
-1 |
|
|
9 |
write is not correct |
|
01240919 |
|
|
|
|
|
|
01244930 |
|
|
|
|
|
|
01252461 |
-5 |
|
|
5 |
doesn't do the special memory locations |
|
01257358 |
|
|
-3 |
7 |
too similar to 01148591 |
|
01276360 |
-4 |
-3 |
|
3 |
does not compile, read and write not correct. |
|
01279300 |
-3 |
|
|
7 |
check for borrow not correct, write not correct. |
|
01279394 |
-4 |
-2 |
|
4 |
read and write never access memory, no loop in emulate |
|
01286129 |
-4 |
-3 |
|
3 |
does not compile, read and write not correct. |
|
01288393 |
|
|
|
10 |
|
|
01290592 |
|
|
|
10 |
|
|
01290835 |
-1 |
|
|
9 |
should be cha=getchar(); and putchar(a); |
|
01292951 |
-2 |
-1 |
|
7 |
read and write never access memory |
|
01309824 |
|
|
|
10 |
|
|
01321366 |
-1 |
-2 |
|
7 |
check for borrow not correct |
|
01321706 |
|
|
|
10 |
|
|
01322141 |
|
|
|
10 |
|
|
01324543 |
-4 |
-1 |
|
5 |
no memory read and write functions |
|
01328409 |
|
|
|
10 |
|
|
01329073 |
-1 |
-3 |
|
6 |
the NUL character should not be printed |
|
01340670 |
|
|
|
|
|
|
01342622 |
|
|
|
10 |
|
|
01342967 |
|
-1 |
|
9 |
|
|
01350706 |
|
|
|
10 |
|
|
01352997 |
-2 |
-1 |
|
7 |
reading from and writing to the memory is not done correctly. |
|
01353489 |
-3 |
-1 |
|
6 |
doesn't compile but has more or less the right idea |
|
01354515 |
|
|
|
10 |
|
|
01361775 |
|
|
|
|
|
|
01363131 |
|
|
|
10 |
|
|
01375059 |
|
-1 |
|
9 |
|
|
01389580 |
|
|
|
10 |
|
|
01391917 |
|
|
|
10 |
|
|
01394193 |
|
|
10 |
||
|
01400355 |
-4 |
-2 |
|
4 |
read,write and borrow not correct |
|
01400388 |
-5 |
|
|
5 |
does not compile |
|
01400428 |
|
|
|
10 |
|
|
01402560 |
-2 |
|
|
8 |
read and write not correct |
|
01417916 |
|
|
|
10 |
|
|
01420690 |
-2 |
-1 |
|
7 |
read not correct, in emulate should use read instead of m[i] |
|
01424238 |
-4 |
-3 |
|
3 |
emulate not correct |
|
01441566 |
|
-3 |
|
7 |
|
|
01444220 |
-1 |
|
|
9 |
the NUL character should not be printed |
|
01446726 |
-5 |
-3 |
|
2 |
at least it compiles! |
|
01448919 |
-3 |
-1 |
|
6 |
doesn't compile, read and write not correct |
|
01452940 |
|
|
|
10 |
|
|
01455206 |
|
|
|
10 |
|
|
01460129 |
|
|
|
10 |
|
|
01460641 |
-1 |
|
|
9 |
the NUL character should not be printed |
|
01461346 |
|
|
|
10 |
|
|
01463349 |
|
|
|
10 |
|
|
01470167 |
|
|
|
|
|
|
01474022 |
|
-1 |
|
9 |
|
|
01475282 |
|
|
|
|
|
|
01478117 |
-1 |
|
|
9 |
the NUL character should not be printed |
|
01478354 |
-1 |
-1 |
|
8 |
the NUL character should not be printed |
|
01479784 |
-1 |
|
|
9 |
the NUL character should not be printed |
|
01481908 |
|
-2 |
|
8 |
|
|
01482866 |
|
|
|
|
|
|
01484389 |
-3 |
-1 |
|
6 |
read and write not correct |
|
01484443 |
|
|
|
|
|
|
01486497 |
|
|
|
|
|
|
01492082 |
|
-1 |
-5 |
4 |
too similar to 01080105 |
|
01492179 |
|
-3 |
|
7 |
|
|
01494317 |
-2 |
-1 |
|
7 |
you submitted a word document, write is not correct. |
|
01497243 |
|
-1 |
|
9 |
|
|
01498290 |
|
|
|
|
|
|
01499056 |
|
-1 |
-5 |
4 |
too similar to 02058995 |
|
01501194 |
-4 |
-1 |
|
5 |
does not compile, read and write not correct. |
|
01501259 |
-3 |
-1 |
|
6 |
read,write and emulate not correct |
|
01502123 |
-4 |
|
|
6 |
read,write and emulate not correct |
|
01502506 |
|
|
|
10 |
|
|
01503723 |
|
|
|
|
|
|
01504800 |
-4 |
|
|
6 |
read, write not correct, no check for borrow. |
|
01506749 |
|
|
|
10 |
|
|
01511734 |
-4 |
|
|
6 |
read,write and emulate not correct |
|
01515640 |
-3 |
-1 |
|
6 |
read and write can write to memory for the special addresses and why i++ in emulate? |
|
01517015 |
-3 |
-1 |
|
6 |
read,write and emulate not correct |
|
01521640 |
|
|
-4 |
6 |
too similar to 00081221 |
|
01522604 |
-1 |
-3 |
-4 |
2 |
too similar to 01225863,the NUL character should not be printed |
|
01522868 |
|
|
|
|
|
|
01525298 |
|
|
|
|
|
|
01525867 |
|
|
|
|
|
|
01528467 |
|
|
|
|
|
|
01530471 |
|
|
|
|
|
|
01531859 |
|
|
|
|
|
|
01532235 |
|
|
|
|
|
|
01533258 |
|
|
|
|
|
|
01534173 |
|
-1 |
|
9 |
|
|
01535978 |
|
|
|
10 |
|
|
01538667 |
-4 |
-3 |
|
3 |
does not compile |
|
01539655 |
-4 |
-2 |
|
4 |
does not compile |
|
01541854 |
-3 |
-2 |
|
5 |
check for borrow in wrong place, should be a=read(i)-a; |
|
01541862 |
-3 |
|
|
7 |
never reads or writes memory |
|
01546279 |
|
|
-5 |
5 |
too similar to 00071692 |
|
01550101 |
-2 |
-2 |
|
6 |
write and emulate not correct |
|
01554972 |
|
-1 |
|
9 |
|
|
01555227 |
|
|
|
|
|
|
01557947 |
|
|
|
|
|
|
01558978 |
-2 |
-1 |
|
7 |
should be A=read(I)-A |
|
01561804 |
-1 |
|
|
9 |
the NUL character should not be printed |
|
01562517 |
|
|
|
|
|
|
02001454 |
|
|
|
10 |
|
|
02003147 |
-3 |
-3 |
|
4 |
does not compile, write not correct. |
|
02004143 |
|
|
|
|
|
|
02004151 |
|
|
|
10 |
|
|
02004178 |
-1 |
-1 |
|
8 |
the NUL character should not be printed |
|
02004332 |
|
|
|
|
|
|
02005069 |
|
|
|
|
|
|
02009579 |
|
|
|
10 |
|
|
02012928 |
|
|
-5 |
5 |
too similar to 01019562 |
|
02015209 |
|
|
|
10 |
|
|
02023539 |
-2 |
|
|
8 |
reads and writes invalid memory locations |
|
02026546 |
|
|
|
10 |
|
|
02058995 |
|
-1 |
-5 |
4 |
too similar to 01492082 |
|
02060434 |
|
-1 |
-5 |
4 |
too similar to 02058995 |
|
02060892 |
-1 |
|
|
9 |
the NUL character should not be printed |
|
02066017 |
|
|
|
|
|
|
02073749 |
-3 |
-3 |
|
4 |
does not compile |
|
02080486 |
|
|
|
|
|
|
02095297 |
|
|
|
|
|
|
02179083 |
|
|
|
10 |
|
|
08558965 |
|
|
|
10 |
|
|
92123103 |
|
|
|
10 |
|
|
94014948 |
-1 |
|
|
9 |
the NUL character should not be printed |
|
96122705 |
|
|
|
|
|
|
97011001 |
|
|
|
|
|
|
97062153 |
-1 |
-1 |
-5 |
3 |
too similar to 01025449,the NUL character should not be printed |
|
98024719 |
|
|
|
|
|
|
98074880 |
|
|
-6 |
4 |
too similar to a previous submission |
|
98160442 |
-3 |
-1 |
|
6 |
does not compile |
|
98272348 |
|
|
|
10 |
|
|
99008458 |
|
-3 |
-5 |
2 |
too similar to 01125605 |
|
99039477 |
|
-1 |
|
9 |
|
|
99059184 |
|
|
|
|
|
|
99075457 |
|
|
|
10 |
|
|
99082291 |
-3 |
-2 |
|
5 |
does not compile |
|
99086645 |
|
|
|
|
|
|
99105356 |
-1 |
|
-5 |
4 |
too similar to 00101680, last line should be write(i,a) |
|
99112972 |
|
|
|
10 |
|
|
99114096 |
|
|
|
|
|
|
99208490 |
|
|
|
|
|
|
99219394 |
|
|
|
|
|