Your performance in the exam was not up to the mark. The underlined part of the sentence means-
I am going there to visit my friend- This is functionally is a/an