1.

What are Distributions in C++?(a) Objects that converts a sequence into a sequence having an ascending order(b) Objects that converts a sequence into a sequence having specific random variable distribution(c) Objects that converts a sequence into a sequence having a descending order(d) Objects that converts a sequence into a sequence having only the smallest, largest and medianI got this question in quiz.Enquiry is from Generators in chapter Class Hierarchies, Library & Containers of C++

Answer»

Right option is (b) Objects that converts a sequence into a sequence having specific RANDOM VARIABLE distribution

Easy explanation - Distributions are objects that CONVERT the sequence GENERATED by the generator into a sequence which has a specific random variable distribution like uniform, normal, binomial, etc.



Discussion

No Comment Found

Related InterviewSolutions