πŸ§ͺ Jquery MCQ Quiz Hub

Jquery Mcq Set 2

Choose a topic to test your knowledge and improve your Jquery skills

Which of the following is not the feature of jQuery?





βœ… Correct Answer: 4

Which of the following is a single global function defined in the jQuery library?





βœ… Correct Answer: 1

Which of the following is a factory function?





βœ… Correct Answer: 2

Which is the JavaScript code that asks for the set of all div elements in a document?





βœ… Correct Answer: 3

Which is the method that operates on the return value of $()?





βœ… Correct Answer: 2

What does the min mean in the following JavaScript code? <script src="jquery-1.4.2.min.js"></script>





βœ… Correct Answer: 1

Which of the following is a heavily overloaded function?





βœ… Correct Answer: 4

Which of the following is an equivalent replacement of $(document).ready(f)?





βœ… Correct Answer: 2

Which of the following is a utility function in jQuery?





βœ… Correct Answer: 3

Which of the following is used for parsing JSON text?





βœ… Correct Answer: 2

What will be the output of the following JavaScript code? <p id="demo"></p> <script> function myFunction() { var str = "Tables"; var patt1 = /tables/i; var result = str.match(patt1); document.getElementById("demo").innerHTML = result; } </script>





βœ… Correct Answer: 1

What will be the output of the following JavaScript code? <script> var str = "The rain in Spain"; var patt1 = /ain/g; document.write(patt1.lastIndex); </script>





βœ… Correct Answer: 2

What will be the output of the following JavaScript code? <p id="demo"></p> <script> function myFunction() { var str = " Is th is it?"; var patt1 = /^is/m; var result = str.match(patt1); document.getElementById("demo").innerHTML = result; } </script>





βœ… Correct Answer: 2

What will be the output of the following JavaScript code? <p id="demo"></p> <script> function myFunction() { var str = "Hellooo World!"; var patt1 = /o+/g; var result = str.match(patt1); var count=0; While(result[i]!=NULL) { If(result[I]==o) count++; } document.getElementById("demo").innerHTML = count; } </script>





βœ… Correct Answer: 1

What will be the output of the following JavaScript code? <p id="demo"></p> <script> function myFunction() { var str = "Is this his"; var patt1 = /is$/g; var result = str.match(patt1); if(result) result='true'; else result='false'; document.getElementById("demo").innerHTML = result; } </script>





βœ… Correct Answer: 1

Which of the following is not a method of AJAX?





βœ… Correct Answer: 4

Correct syntax for $.post() method is ______





βœ… Correct Answer: 1

The method releases jQuery’s control of $ is ______





βœ… Correct Answer: 2

In JavaScript, which one is used to finding the non-whitespace characters?





βœ… Correct Answer: 3

Which one is not regular expression object method?





βœ… Correct Answer: 4

Which is not a JavaScript global function?





βœ… Correct Answer: 1

Which of the following is not window object property?





βœ… Correct Answer: 3

Which of the following is not window object method?





βœ… Correct Answer: 4

Which of the following is not navigator object property?





βœ… Correct Answer: 3

Which of the following is the Navigator object method?





βœ… Correct Answer: 1

Which of the following is not screen object property?





βœ… Correct Answer: 4

Which is not the method of History object?





βœ… Correct Answer: 2

Which is not the location object method?





βœ… Correct Answer: 1

Which is not the property of location object?





βœ… Correct Answer: 4

jQuery does not contain the _____________ feature.





βœ… Correct Answer: 1

What is the correct syntax of jQuery?





βœ… Correct Answer: 2

In jQuery all the elements are selected by writing ______





βœ… Correct Answer: 3

Which of the following is not event method in jQuery?





βœ… Correct Answer: 4

hover() method is the combination of _____





βœ… Correct Answer: 1

Which of the following is not the fade method in jQuery?





βœ… Correct Answer: 2

Which of the following is not the sliding method in jQuery?





βœ… Correct Answer: 4

Which of the following is not the jQuery method for manipulation?





βœ… Correct Answer: 1

The method not used to add new content is _____





βœ… Correct Answer: 4

Which method is not used for CSS manipulation?





βœ… Correct Answer: 3

Which of the following is not a jQuery dimension method?





βœ… Correct Answer: 4

Which method is not used for traversing DOM tree?





βœ… Correct Answer: 4

Which method is not for traversing DOM tree sideways?





βœ… Correct Answer: 1

Which method is not used for filtering in jQuery?





βœ… Correct Answer: 1

AJAX is not used in ______





βœ… Correct Answer: 4

External scripts can’t take the tag ____





βœ… Correct Answer: 1

typeof β€œnull” in JavaScript is _______





βœ… Correct Answer: 3

Arrays in JavaScript are written within _____





βœ… Correct Answer: 2

Negative positions for string do not work in ______





βœ… Correct Answer: 1

For converting string to array we can use ______ method.





βœ… Correct Answer: 3

The integers in JavaScript are precise up to ______





βœ… Correct Answer: 4