Which sentence is punctuated correctly? De passed her math test with perfect score, her favorite color is blue.

The sentence "De passed her math test with a perfect score; her favorite color is blue." is punctuated correctly.