1.

What is pseudo random number generator?(a) an algorithm that generates random numbers with help of mathematical formula(b) an algorithm that generates random numbers according to user activity(c) an algorithm that generates random numbers according to time(d) an algorithm that generates random numbers with help of user inputI have been asked this question by my school teacher while I was bunking the class.This question is from Number Theory in portion Number Theory of Data Structures & Algorithms II

Answer»

The correct OPTION is (a) an algorithm that GENERATES random numbers with help of mathematical formula

The explanation is: A pseudo random NUMBER generator generates random numbers with the help of a mathematical formula. We can seed the random number generator with a different value EVERYTIME if we want unique random numbers to be generated.



Discussion

No Comment Found

Related InterviewSolutions