Test Document Review Request Form
Test Document Review Request Form
Very Important: The code you are submitting for review must be the
same as the one you wrote in your exam. If you submit a different
code, you will get a letter similar to the following.
Dear Student,
The code you submitted for this review is different from the one in your answer sheets.
Therefore,
(a) this review ends.
(b) no review in future (in case you ever retake this exam).
Thanks.
Prof
Before requesting for a review, please test your answers with the
following test data. Please do not request a review if your program
fails the test.
If you are requesting a review please sent this document filled (by
running your program). Please do not fill the boxes without running
your program.
Question 1
Type the function (as you wrote in the exam) here. No screen shot
Test data Expected return value Your program’s return value
{5, 7, 8, 10, 12, 4, 1} {5, 7, 13, 10, 25, 4, 26] Please fill
{} {} Please fill
{7, 5} {7, 5} Please fill
{5} {5} Please fill
Question 2
Type the function (as you wrote in the exam) here. No screen shot.
a Expected return value Your program’s return value
{6, 8, 5, 12, 1, 10} 1
{7, 8, 17, 32, 6, 21} 1
{4, 21, 33, 6} 0
{18, 7, 12, 31, 26, 11} 0
{19, 12, 32, 4} 0
{19, 7, 12, 32, 11} 0
{11, 14, 12, 31, 5} 0
{19, 20} 0
Question 3
Type the function (as you wrote in the exam) here. No screen shot.
a Expected return value Your program’s return value
{5, 4, 3, 2, 3, 4, 6, 1} 1
{11, 11} 1
{7, 2, 18} 0
{7, 10, 12, 14} 0
Best wishes
Prof.