JavaScript Expert Quiz | Javascript Quiz

JavaScript Expert Quiz | Javascript Quiz

JavaScript Expert Quiz | JavaScript Quiz

Find below MCQ (Multiple Choice) questions and Answers useful for learning JavaScript. Play our JavaScript Expert Quiz | Javascript Quiz and Earn points and check how sharp your skill are in JavaScript programming.

JavaScript Expert Quiz | Javascript Quiz

Welcome to your JavaScript Expert Quiz

Name
Email
Mobile
1. <script language="javascript">
function x()
{
document.write(2+5+"8");
}
</script>
2. _________ keyword is used to declare variables in javascript.
3. In Javascript, Which of the following method is used to evaluate the regular expression?
4. <script language="javascript">
function x()
{
var s= "quality 100%";
var pattern = /\d/g;
var output= s.match(pattern);
document.write(output);
}
</script>
5. <script type="text/javascript" language="javascript">

qpt=((45%2)==0)? "hello" : "bye";
document.write(qpt);

</script>
6. <script language="javascript">
function x()
{
var qpt = "QualityPointTechnologies";
var pattern = new RegExp("POIiNT","i");
document.write(qpt.match(pattern));
}
</script>
7. In Javascript, What does isNaN function do ?
8. If x=103 & y=9 then x%=y , what is the value of x after executing x%=y?
9. Choose the external object:
10. How do you create a new object in JavaScript?

[Total: 0    Average: 0/5]

Leave a Reply

Your email address will not be published. Required fields are marked *