On review final reports of courses

1.  input: D
2.  output: score
3.  begin
4.    A:=random_pick_a_sentence(D);
5.    B:=random_pick_another_sentence(D);
6.    if ((Ac:=is_copy_wo_ack(A)) && (Bc:=is_copy_wo_ack(B))) score:=60;
7.    // based on search engine
8.    else if ((Ac && !Bc) || (!Ac && Bc)) score:=75;
9.    else if (!Ac && !Bc) score:=80;

10.   if (!related(D)) {score:=score-10; return score;}
11.   if (interesting(D)) {score:=score+10; return score;}
12.   return score;
13. end

Advertisements

About Weining Qian

Professor at Institute of Massive Computing, Software Engineering Institute, East China Normal University.
This entry was posted in teaching and tagged , , , . Bookmark the permalink.