INVESTIGATION OF RISKS OF INFLUENCE OF THE RESULTS OF THE OPERATION DIVISION ON THE QUALITY OF PSEUDO-RANDOM VALUE GENERATORS EMBEDDED IN THE SOFTWARE
The article is devoted to certain approaches that concerned a checking random values obtained from the generator of random (pseudorandom) values. The article provides the results of a practical research of the numbers which are obtained during the division operation. The research was directed to find out the ratio of even and odd numbers in a quotients and remainders in the results of performing of the division operation. The analysis was carried out due to the fact that the remainder and quotient of division is widely used in various algorithms of software tools intended for generating random and pseudorandom values (numbers). The results of the research, which are given in this scientific publication, confirm the existence of prerequisites for the outputting by the generator of pseudorandom values such values (numbers) which will not fully meet the criteria. First of all, it is a criterion which concerns parity and oddity of the numbers which can be outputted by generator of random and pseudorandom values. The authors propose to explore parity and oddity using two methods. The first method is based on Pearson's squared test (chi-squared test). It allows you to find out the presence and admissibility of deviation of the sequence of values obtained empirically, with theoretical (predicted) values. In this case, the level of accuracy is chosen depending on the requirements for the software product as a whole and the generator of random (pseudorandom) values in particular. The second method is based on the long series test (long sequences test), which determines the permissible number of even or odd values that follow each other. In this case, the number of allowed such sequences depends on the number of results obtained during a series of experiments. The proposed approaches are recommended for software products planning and testing which is supposed to be used by the Ministry of Defense of Ukraine.