Does the word "score" have the same definition in the next two sentences?

What was your score on your homework?

The score was 7 to 0.
different meanings