17. Let $p, q \in \mathbf{R}, f(x)=x^{2}+p|x|+q$. When the function $f(x)$ has more than one zero, the maximum value of $f(x)$ on the closed interval with its smallest and largest zeros as endpoints is $\qquad$ .
17.0 or $q$.

Note that the function $f(x)=x^{2}+p|x|+q$ is an even function. By symmetry and the graph, we know that the maximum value of $f(x)$ on the closed interval with its smallest and largest zeros as endpoints is 0 or $q$.