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 quizzes

Latest Item on Science Library

The most recent article is:


View this item in the topic:

Vectors and Trigonometry

and many more articles in the subject:

Subject of the Week


Mathematics is the most important tool of science. The quest to understand the world and the universe using mathematics is as old as civilisation, and has led to the science and technology of today. Learn about the techniques and history of mathematics on


Test your knowledge!

Question: If particles of transverse waves move up and down and not forward, how can surfers ride waves towards the beach?

Go to the article about: Wave Types

Rewewable Media

Quote of the day...

If I were to awaken after having slept for a thousand years, my first question would be: Has the Riemann hypothesis been proven?

ZumGuy Internet Promotions

IT information forum by Sean Bone