The correct option is A 1
Given quadratic equation x2+qx−2=0
For a quadratic equation of the form ax2+bx+c=0, the sum of the roots is −ba.
Here one of the root is 1
Let the other root be p.
So here, p+1=−q1
⇒p=−q−1
Also, the product of roots is ca.
⇒1×p=−2
⇒p=−2
∴q=2−1=1