Science Library - free educational site

Science Library Quiz

Objects in JavaScript

Instructions: answer the questions, check them carefully, and when you are sure they are all right, press submit. The number of correct answers will be displayed.

Question 1: What is the output of: parseInt("+45*2"); ?


Question 2: What is the output of a) Number() and b) parseInt()?




Question 3: What is the output of: parseInt("0xB"); ?




Question 4: What is the output of:
a) isNaN(NaN); ?
b) isNAN(10); ?
c) isNAN(true); ?




Question 5: What is the output of:
a) Number('Hello Arthur');
b) Number('');




Question 6: What is the output of:
a) Number('0012');
b) Number(true);




Quizzes available from the JavaScript topic

Select a topic for more Computing quizzes:

Select a subject for more ScienceLibrary.info quizzes

Latest Item on Science Library

The most recent article is:

Trigonometry

View this item in the topic:

Vectors and Trigonometry

and many more articles in the subject:

Subject of the Week

Universe

'Universe' on ScienceLibrary.info covers astronomy, cosmology, and space exploration. Learn Science with ScienceLibrary.info.

Science

Test your knowledge!

Question: An ice-berg is in the way of the Titanic II ship, so the captain orders the part above the water to be removed. If this were possible, the...




Go to the article about: Reaction forces

IT Forum by Sean Bone

ZumGuy Internet Promotions

English language school