In the sentence "I was nervous about my English exam, but I passed with flying colours," the idiom underlined is "passed with flying colours." This means that the person did very well or scored high grades in the exam. Therefore, the correct option that refers to this idiom is:
(ii) scored high grades
This choice matches the meaning of the idiom used in the sentence, indicating a successful outcome or achievement, similar to passing an exam with excellent results.