Qualification - Describe the code! Stanford University
  • This is a qualification task for a larger task of describing what each line of code does in a succint way.

  • Task: Describe in language/pseudocode what each line is doing, few examples are given in the instructions below.

  • Skills: Experience with C++/programming would be ideal but not necessary.

  • Instructions: Find detailed instructions given out here: https://cs.stanford.edu/~sumith/instructions.html

  • Pay: We are planning the pay to be $0.40 per HIT (i.e. 20 lines of code), this is up for discussion, let us know what you think about it once you pass the qualification test.

  • Qualifications: Tasks marked easy should be straight-forward from the instructions, the ones medium are harder but still doable from the instructions, hard is testing whether you know constructs from outside the instructions (do not worry if you cannot get hard, we will use this as a strict qualification metric).

  • Judgement: Our team will manually review your submission for the qualification task.

  • If something is unclear, we urge you to message us, get your doubts clarified early and the task should get much easier.

To repeat, clarifying your doubts will help you with multiple HITs ahead.

1ans++;
2if (x > a[i])
3cout << "YES" << endl;
4for (int i = 1; i <= n; i++)
5cin >> game[i];
6if (a < b && c <= d)
7tmp--;
8x++, cnt++;
9int poww(int a, int b)
10int x = q.front();
11if (a[i] % 2 == 0)
12v.push_back(2);
13Do you know C++ or a similar programming language?
14Any feedback on the task or the interface? Anything we can do to make it better?