Courses without a grade show up as failed in the summary of transcript
I'd expect a failed course to be one where I got a grade less than the minimum required grade to pass the particular exam.
If there is no grade, I would call this course failed.
Not sure what constitutes a pending grade - maybe it is that, maybe it isn't and we merely show those courses as registered and nothing more.