Which of the following is/are conditions necessary for a one-proportion $Z$-test?
I. The data must come from a simple random sample.
II. $np$ and $n(1-p)$ must both be more than $10$, where $n$ is the sample size and $P$ is the probability of success.
III. The sample size must be more than $30$.