Académique Documents
Professionnel Documents
Culture Documents
In the comments section you should have a table of marks for each test ran on that specific question. Each
question is worth 4-5marks depending on the number of tests cases.
For example Q1[1, 0, 1, 0] = 2/4:
The above comment shows that your program has passed tests 1 & 3 but failed tests 2 & 4.
Note: If the table is Empty then your file was either not submitted or did not run!
Test cases:
Q1 - exp:
1. exp(2,15)
2. exp(4,1)
3. letterGrade(8453,0)
4. letterGrade(3,9)
== 32768
== 4
== 1
== 19683
Q2 - date:
1. date(8,24,1993)
2. date(3,12,1990)
3. date(5,5,1969)
4. date(2,6,2016)
5. date(7,4,2000)
Q3 - vowelsCount:
1. Computer Science is pretty freaking AWESOME!!!
2. Jonathan, that is my pencil!
3. Good sir, I beg your pardon.
4. My dog's name is Dexter!
5. JENNY!! THE APARTMENT IS ON FIRE!! AAAAHHHH!!!
Q4 - onethird:
1. onethird(211)
2. onethird(91)
3. onethird(2)
4. onethird(929)
5. onethird(9863)
==
==
==
==
==
15
7
9
6
13
== 0.335706745131511
== 0.3388479652215916
== 0.625
== 0.3338717395813177
== 0.33338402956147606
== True
== drawocoward'
== False
== True
== True