12:
A1: 15 (out of 1)
Question 1:
2/ 2 program
2/ 2 commenting
0/ 1 testing
4/ 5
Question 2:
1/ 2 function - your function should take parameters, not ask the user for them
2/ 2 commenting
1/ 2 user interface - you don't print out the result
0/ 1 testing
4/ 7
Question 3:
1/ 1 'instructions' function
1/ 1 'input' function
2/ 2 'surface area' function
2/ 2 user interface
6/ 6
Deductions:
-1 all your files had the extension .py.txt, make sure they only have the extension .py next time.
1 BD
15/ 18 Total
If you have any questions about your grade, please contact me at dyce5370@wlu.ca .
Thanks,
Greg
A2: 16 (out of 1)
Question 1:
1/ 1 instructions function
0/ 1 whole number function
2/ 2 bill printing function
3/ 3 rest of program
3/ 3 testing
9/ 10
Question 2:
2/ 2 within_x_percent function
3/ 3 rest of program
3/ 3 testing
8/ 8
Deductions:
-1 submit files at type .txt not .py
-1 use the export in eclipse to create the archive file
1 BD
16/ 18 Total
If you have any questions about your grade, please contact me at dyce5370@wlu.ca.
Thanks,
greg
A3: 9 (out of 1)
Question 1:
1/ 1 formatting
3/ 3 algorithm
0/ 1 testing
4/ 5
Question 2:
1/ 1 formatting
2/ 3 algorithm - don't divide by 10 to find the average, divide by the number of entries
0/ 2 testing
3/ 6
Question 3:
1/ 3 algorithm - program crashes
1/ 2 error checking
0/ 2 output format
0/ 3 testing
2/ 10
Deductions:
-1 submit the files as .py not .txt
1 BD
9/ 21 Total
If you have any questions about your grade, please contact me at dyce5370@wlu.ca .
Thanks,
Greg
A4: 9 (out of 1)
Question 1:
2/ 2 algorithm
1/ 1 loops halfway through the word
0/ 1 testing
3/ 4
Question 2:
3/ 3 algorithm
0/ 1 testing
3/ 4
Question 3:
3/ 3 algorithm
0/ 1 testing
3/ 4
Question 4:
0/ 1 function initialization (before loop)
0/ 3 loop algorithm
0/ 1 winner determination (after loop)
0/ 2 testing
0/ 2 formatting
0/ 9
Deductions:
1 BD
9/ 21 Total
If you have any questions about your grade, please contact me at dyce5370@wlu.ca.
Thanks,
Greg