How did you do?
- How did you do on the modernization test?
近代化の試験はどうだった?
結果を尋ねる表現です。How did you do?は、どのようにdoしたのか、つまり、ある行動の結果はどうだったか、という質問です。そのあとテスト関連はon the test/exam/quizとなります。onは「について」という意味合いです。
- How did you do in the race?
レースの結果はどうでしたか?
- How did you do at the casino?
カジノの結果はどうでしたか?