Which sentence is punctuated correctly d passed her math test with a perfect score she got all the answers correct

The sentence "She passed her math test with a perfect score; she got all the answers correct." is punctuated correctly.