Multiple Choice
Which of the following generates a random number between 0 and 1?
A) var randomNum = Math.random() ;
Document.write(randomNum) ;
B) var randomNum = Calculate.random() ;
Document.write(randomNum) ;
C) var randomNum = Number.random() ;
Document.write(randomNum) ;
D) var randomNum = Math.randomNumber() ;
Document.write(randomNum) ;
Correct Answer:

Verified
Correct Answer:
Verified
Q25: In JavaScript, the Or operator takes precedence
Q26: Conditions are joined with the keyword And
Q27: The Not operator, which is placed before
Q28: A method for indicating the outcome of
Q29: On a binary tree, _ are used
Q31: An advantage of the Boolean data type
Q32: Each path on a binary tree leads
Q33: Which of the following uses the unary
Q34: Which of the following represents an example
Q35: The Math class in JavaScript has the