Warning: Undefined array key "options" in /home/bapugrap/public_html/quiz/wp-content/plugins/elementor-pro/modules/theme-builder/widgets/site-logo.php on line 192
JavaScript Online Quiz Questions and Answers - Web and Graphics Quiz

share

JavaScript Online Quiz Questions and Answers

JavaScript Online Quiz Questions and Answers

JavaScript Online Quiz Questions and Answers

JavaScript Online Quiz Questions and Answers

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

Welcome to your JavaScript Online Quiz Questions and Answers

Name
Email
Mobile

1.
function x()
{
var qpt = "First come, first served";
var pattern = /first/gi;
document.write(qpt.match(pattern)[1]);
}

2. In javascript, Which of the above Comments lines are used ?

(a). // , /* ...... **/
(b). / , /** ......./ , /*
(c). /*......*/ , //
(d). \*......*\ , //

3. 
function x()
{
var s = "Give 100%!{[!!";
var pattern = /\W/g;
var output = s.match(pattern);
document.write(output);
}

4. Which best describes void?

5. 
var qpt="QualityPointTechnologies";
var result =qpt.lastIndexOf("l");
document.write(result);

6. 
function x()
{
var qpt = "First come, first served";
var pattern = /first/g;
document.write(qpt.match(pattern)[1]);
}

7. According to given script If you call the function callme(), what will happen ?


function sum(x)
{
function add(y)
{
return x+y;
}
return add;
}
function callme() { result=sum(5)(5); alert(result); }

8. Who invented the javascript programming language?

9. You can write HTML tag inside the javascript .

10. Which feature is supported in MSIE 3.x?

Leave a Reply

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