I'm assuming by overlined you meant repeating as when there is a repeating number in a decimal, it has a line over it to represent such.
In the quotient of 4 divided by 7, there are zero numbers overlined. This is because the answer is .5714285714, no numbers are consecutively repeating for a long or the rest of the number.
He/she idk, got a higher score on the second test. How you do it is divide the score by the number out of it so like 19 divided by 25. Umm for the ratio, I'm not really sure, I guess you just do 19:25 and 17:20