That's right.
It means line 1-3 of the first file is different from line 1-3 on the second line. In other words, the first three lines are different.
Yes. It will work 100% on that exact test case.
Diff is binary. And no, it doesn't generate any random numbers. The purpose of diff is to...