answersLogoWhite

0


Best Answer

Random numbers that are generated by a computer are pseudo-random (not really random), but they will pass enough statistical tests for randomness to be useful in simulation random processes. Java has random number generators in the standard libraries.

See the related link if you need more information.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is a random number and how are generated?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is there such thing random numbers?

yes, because the number generated is from the computer's CPU database and is selected randomly therefore it must be a random number It depends on how the numbers are generated. If they are based on things in the environment, like noise levels, then yes. If they are solely generated by computer functions, then no, they are pseudo-random numbers, which will be random enough for most purposes.


How do you get a random number from a group of numbers in C?

Random numbers cannot be generated programatically. For pseudo-random numbers use function 'rand'.


How do you get a random number generator on Microsoft Excel?

"=rand()" in a cell gives a random number between 0 and 1. Every time the sheet is recalculated (F9 key) a new random number is generated.


What number does visa cards end with?

they all start with 4 but the rest of the number is random computer generated


What is a random number?

* A number generated for or part of a set exhibiting statistical randomness. * A random sequence obtained from a stochastic process. * An algorithmically random sequence in algorithmic information theory. * The output of a random number generator. * The least random number (17), according to the Hacker's Jargon File.


Has this number been used 108722108854563?

If you generated this number using a random numers list or random numbers generator, then the best guess would be that your use of it is the first.


How to you hold a random number for next deal in java?

Random numbers can be generated using the Math.random() function. For example, the following statements is used to create a random number 0 and 34. int random= (int)(Math.random()*34);


How can random numbers be generated in Java?

Random numbers can be generated in Java using the "random" class. One needs a single "random" object to generate a series of random numbers as a unit.


Why random in matlab vary between 0 and 1?

In MATLAB, the random number generator function rand generates numbers that follow a uniform distribution between 0 and 1. This means that the generated random numbers have an equal probability of being any value between 0 and 1. The specific random number generation algorithm used by MATLAB ensures that the generated numbers are statistically independent and uniformly distributed throughout this range.


Why do you use pseudorandom numbers in simulation?

Generation of random numbers is not a simple process. In order for a number to be truly random it must be uniformly distributed (each random number in the interval of random numbers has equal chance of being selected), efficiently generated (the random numbers hsould not degenerate into constant values or recycle too frequently) and absent of patterns. Computers can generate random numbers using a mathematical process that artificially creates psuedorandom numbers more efficiently than true random numbers can be generated in a process akin to spinning the roulette wheel.


What is srand in c plus plus?

Srand (seed random ) is used to seed random numbers and is used before calling the rand() or the random number generator. Seeding random numbers ensures that each time the code is executed the number generated is completely random. srand requires one parameter. For most cases it is sufficient to make this parameter time(NULL) [remember to include time.h] as this will seed a new bunch of random number every second


What is a random number table?

Random numbers (or random deviates) are numbers chosen totally by chance, but also conform to a certain distribution. The most common distribution is the uniform distribution. If I say that a number is chosen totally by chance between 1 and 100, and there is equal chance that every number between 1 and 100 can be chosen, then this is a uniformly distributed random number. If I list these generated numbers in a table, then this is a random number table. A program like Excel can easily generate uniform random numbers from 0 to 1, by entering +rand() into a column in the spreadsheet. To calculate a new table, press F9.