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

Verified
Correct Answer:
Verified
Q39: When testing to see whether a Boolean
Q40: When two conditions are joined by the
Q41: Which of the following represents a negated
Q42: In JavaScript, the Or operator is //.
Q43: A _ enables you to state all
Q44: If a condition is irrelevant at some
Q46: A(n) _ is a process that does
Q47: With a _, each condition must be
Q48: A(n) _ is a tool for expressing
Q49: If you have statistics on the expected