ECDSA public key verification for a given curve

Here what I’m trying to do is validate a particular public key for a given curve.
Input file would look like this:

#  CAVS 17.6
#  "PKV" information 
#  Curves selected: P-192 

[P-192]

Qx = a76db2128543b449ad6b245b476213c4edfa15c4bb840520
Qy = 13d2f5392a0963e72f739c2f1bc94b2b110a66eac9d22cbf2
// Result = F    <-- Result (what I'm trying to determine)

Qx = 517c2b0270e15de63fa012153d9510fd80ceda4617ca6963
Qy = 3ce6d4434b8c8947337068cd40f6c43c52153b784a465875
// Result = P    <-- Result  (what I'm trying to determine)

I’m sorry about the confusion in the question.
Basically for a given curve, should determine if the public key is valid or not.
Reference: Section 6.3 (pg 4)
ECDSA Validation System (NIST website)