Expected text: (0 characters selected)
Student text: (0 characters selected)
(paste your program's output below)
Line numbers:

Instructions:

  • Choose the assignment from the drop-down box on the left. (Its expected output should appear.)
  • Run your program and paste its output on the right.
  • Press Compare. Any differences will be shown.

Any comparison lines that begin with a < are those that occur in the expected output but are not found in the same place in your output. Lines that begin with a > are those that occur in your output but are not found in the same place in the expected output. If you see a < or > by itself with nothing after it, it probably means that you are missing a blank line from the expected output, or that you inserted an extra blank line by mistake. If you are having trouble figuring out which line is different, click the "Line numbers: Add" button.

Assignments that use random numbers may be impossible to match exactly in output unless you use a "seed" to your random number generator. See the assignment's FAQ page for more details about how to do this.

Disclaimer:

This tool is provided for your convenience; use at your own risk. Achieving "No differences found" on this page does not guarantee that you will earn any particular grade on an assignment.

This document and its content are copyright © Marty Stepp, 2015. All rights reserved. Any redistribution, reproduction, transmission, or storage of part or all of the contents in any form is prohibited without the authors' expressed written permission.