Randomness of data

#1
How to check randomness of discrete data.

The critical values i have in one column as "inwarranty" and "outwarranty"

please suggest,as questions were asked to prove that whatever surveys are done on discrete data are random
 
#2
How to check the sample size with below values
1)Average population:0.1 mil
2)CL-95%
3)MOE-0.5
4)SD-18300

please suggest the sample size calculation formula ,when population is known