If I had studied harder, I would have passed the test. Is this Future perfect? or based on the condition is it past?

If I had studied medicine I would be a doctor.
The condition is I would be. So this sounds present perfect. True?

I would have passed = Conditional Perfect

I will have passed = Future Perfect

I would be = Conditional

note: to be a perfect tense there must be "have/has/had" etc. in some form.
Present Perfect = I have passed
Future Perfect = I will have passed
Conditional Perfect = I would have passed
Past Perfect = I had passed

Sra

In the first sentence, "If I had studied harder, I would have passed the test," the verb forms "had studied" and "would have passed" indicate the unrealized possibility of passing the test in the past. This is an example of the past unreal conditional or past unreal perfect conditional. It implies an outcome that did not happen because the condition (studying harder) was not fulfilled in the past.

In the second sentence, "If I had studied medicine, I would be a doctor," the verb forms "had studied" and "would be" indicate the unrealized possibility of becoming a doctor in the present. This is an example of the present unreal conditional or present unreal perfect conditional. It implies an outcome in the present that did not happen because the condition (studying medicine) was not fulfilled in the past. However, it's important to note that this sentence could also be interpreted as a past unreal conditional with a present result.

The distinction between the two sentences is based on the context and the tense used after the conditional clause. In the first sentence, the result clause is in past perfect ("would have passed"), while in the second sentence, the result clause is in present simple ("would be"). So, based on the verb tenses used, the first sentence is related to a past unrealized possibility while the second sentence is related to a present unrealized possibility.