Answer
$QI$ (both positive), $QII$ (both negative).
Work Step by Step
$\cos{\theta} = \dfrac{x}{r} \hspace{10pt } \& \hspace{10pt} \cot{\theta} = \dfrac{x}{y}$
$r = \sqrt{x^2+y^2} \hspace{10pt} \therefore$ $r$ is always positive.
$y$ is positive in $QI$ and $QII$
$\therefore \cos{\theta}$ and $\cot{\theta}$ have the same sign in $QI$ and $QII$
$\because x$ is positive in $QI$ $\hspace{36pt}$ $\therefore \cos{\theta}$ and $\cot{\theta}$ are positive in $QI$
$\because x$ is negative in $QII$ $\hspace{30pt}$ $\therefore \cos{\theta}$ and $\cot{\theta}$ are negative in $QII$