搜索资源列表
AVERAGE
- 编写程序计算三门课的平均成绩,要求应用程序分别用Java语言三种不同的循环语句实现,每门课的成绩用Math类的random()方法随机产生(random()产生的数值在0和1之间),成绩范围为40~100。 提示:自定义一个类,该类实现一个返回随机数的函数。在main函数里测试时直接调用该类的获取随机数方法。 获得随机数相关的类为:java.lang.Math 需要时可引入该类即:import java.lang.Math -Write a program grade point a
rand
- 功能描述:编写一个产生N个X到M范围内的随机数的程序。不必保存或打印数字, 仅打印每个数被产生了多少次。让程序对10个不同的种子值进行计算。 数字出现的次数相同吗?可以使用本章中的函数或ANSI C中的函数rand()和srand(), 它们与我们的函数具有相同的形式。这是一个测试特随机数发生器随机性的方法。 注:这本书的编程练习至今还没有感觉到难度, 不过验证了书上的说法不同的种子在大多数情况下也不同可能得出相同的随机数, 看来这回我的实践还是有用的,好戏还在后头啊。
assigment2
- 各种排序,包括,冒泡排序,快排,heap,桶排序,自动生成一组随机数,带测试-some advanced sorting algorithms, include bubble, quick, heap, bucket and can generate random numbers.
sjs
- 产生100-1000不重复的随机数,输出测试结果-Unique Random Number
children-exam
- 儿童小学入学测试出题程序——随机数应用编程 1.1~20中抽取3个数,进行“+,-”运算其结果仍应在1~20范围内; 2.由程序产生用户所需的运算表达式(不显示运算结果)。 3.竟可能考虑实际情况要求。 -Extracted three the number of the topic and program of children of primary school enrollment test- random number Application Programmin
ex
- 设计一个函数,其功能是同时求得长度为20的整型数组所有元素中的最大值、最小值和平均值。并用相应的主函数对其进行测试,测试数组可以用随机数填充或者自行定义数据。-The design of a function, its function is to obtain the length of the maximum, minimum and average 20 integer array element. And its main function testing, the test array
matble
- 用于测试三个小时计算随机数 然后测验是都达到疲劳-Used to test three hours to calculate the random number and then tests have reached fatigue
random
- 测试随机数。程序生成一个随机数,与用户输入的一个整数比较是否相等-Random number test. Program generates a random number, and a user input is equal to the integer comparison
aurora_8b10b_0_frame_gen
- 这时一个测试用的数据产生模块,产生32位的伪随机数-This is a test data generation module, pseudo random number generation 32 bit
XQCH
- 用 Schrage 方法编写随机数子程序,用连续两个随机数作为点的坐标值绘出若 干点的平面分布图;再测试均匀性-Write random number routine method used Schrage, drawn by two successive random numbers as the coordinate value of the point if Plane distribution of dry point then test the uniformity
format
- 费马小定理(包含生成随机数) 不足是大数测试不通过-Fermat s little theorem (including generating random numbers) Testing is not through lack of Tarsus
RandomnessTest
- 随机数测试程序,包括常用的各类随机数检测方法- U968F u673A u6570 u6D4B u6D4B u6B05 u7E0B u5E8F uFF0C u5305 u62E u5E38 u7528 u7684 u5404 u7C0B u968F u673A u6570 u68D
sts-2_1_2
- NIST的随机数测试套件2.1.2版本(NIST random test version 2.1.2)
random_num_gen
- 本人用verilog编写的随机数生成文件,经测试可用。(I am prepared to use verilog random number generator, the test is available.)