「泳いだ ことが あります」 translates to "I have swum before." It combines the experience pattern 「〜た ことが あります」 with 「泳いだ」, the past-tense plain form (た-form) of the verb 「泳ぐ」 (to swim).
「泳いだ ことが あります」は「泳いだことがある」という過去の経験を表します。「泳ぐ」のた形である「泳いだ」に「ことが あります」を接続します。
Project Eagle analyzes your vulnerabilities using AI. Play thousands of interactive quizzes and mock exams completely free!