in Education by
How many bits are used for generating random numbers? (a) 32 (b) 64 (c) 48 (d) 8 The question was posed to me in semester exam. My doubt is from Random Number topic in division java.util – More Utility Classes of Java Select the correct answer from above options JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
Right answer is (c) 48 Easy explanation: Random number can accept 64 bits but it only uses 48 bits for generating random numbers.

Related questions

0 votes
0 votes
    What is the range of numbers returned by Math.random() method? (a) -1.0 to 1.0 (b) -1 ... questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which class is used to generate random number? (a) java.lang.Object (b) java.util.randomNumber (c ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which method is used to generate boolean random values in java? (a) nextBoolean() (b) randomBoolean() ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    How many WebSocket events are available? (a) 2 (b) 3 (c) 4 (d) 5 The question was asked ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
0 votes
    How many properties are there in window.performance object? (a) 1 (b) 4 (c) 2 (d) 3 The ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    How many properties are available in a memory object? (a) 1 (b) 2 (c) 3 (d) 4 The ... questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    How many methods are there in the History object? (a) 3 (b) 4 (c) 5 (d) 6 I had been ... questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 22, 2021 in Education by JackTerrance
0 votes
    How many properties are associated with the Response event? (a) 1 (b) 2 (c) 3 (d) 4 The ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 22, 2021 in Education by JackTerrance
0 votes
    How many reserved words are there in JavaScript? (a) 63 (b) 54 (c) 68 (d) 90 I have ... questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 22, 2021 in Education by JackTerrance
0 votes
    How many default number methods are available in JavaScript? (a) 5 (b) 6 (c) 7 (d) 8 This ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 22, 2021 in Education by JackTerrance
0 votes
    How many Node object methods are available? (a) 18 (b) 19 (c) 20 (d) 21 I had been ... questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 22, 2021 in Education by JackTerrance
0 votes
    How many properties are there in the interface PerformanceTiming? (a) 21 (b) 22 (c) 23 (d) 24 ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 22, 2021 in Education by JackTerrance
...