🧪 Jquery MCQ Quiz Hub

Jquery Mcq Set 2

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

1. Which of the following is not the feature of jQuery?




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




3. Which of the following is a factory function?




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




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




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




7. Which of the following is a heavily overloaded function?




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




9. Which of the following is a utility function in jQuery?




10. Which of the following is used for parsing JSON text?




11. 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>




12. 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>




13. 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>




14. 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>




15. 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>




16. Which of the following is not a method of AJAX?




17. Correct syntax for $.post() method is ______




18. The method releases jQuery’s control of $ is ______




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




20. Which one is not regular expression object method?




21. Which is not a JavaScript global function?




22. Which of the following is not window object property?




23. Which of the following is not window object method?




24. Which of the following is not navigator object property?




25. Which of the following is the Navigator object method?




26. Which of the following is not screen object property?




27. Which is not the method of History object?




28. Which is not the location object method?




29. Which is not the property of location object?




30. jQuery does not contain the _____________ feature.




31. What is the correct syntax of jQuery?




32. In jQuery all the elements are selected by writing ______




33. Which of the following is not event method in jQuery?




34. hover() method is the combination of _____




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




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




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




38. The method not used to add new content is _____




39. Which method is not used for CSS manipulation?




40. Which of the following is not a jQuery dimension method?




41. Which method is not used for traversing DOM tree?




42. Which method is not for traversing DOM tree sideways?




43. Which method is not used for filtering in jQuery?




44. AJAX is not used in ______




45. External scripts can’t take the tag ____




46. typeof “null” in JavaScript is _______




47. Arrays in JavaScript are written within _____




48. Negative positions for string do not work in ______




49. For converting string to array we can use ______ method.




50. The integers in JavaScript are precise up to ______