Core function that runs java code and produces an output based on the code given to it with a set of inputs used.
Question specific solution code to generate Expected Output.
User submitted code that generates output.
For specific question, compares Expected Output with user output and compiles a report indicating input provided, expected output, user output and correctness.