免費免註冊,彰化一整天線上測驗:http://exam.bestdaylong.com/test3414.htm
| ( | ) | 1. | Look at the following selector: $("div"). What does it select?(1)All div elements (2)The first div element (3)N/A (4)N/A | ||
| ( | ) | 2. | The jQuery animate() method can be used to animate ANY CSS property?(1)Yes (2)Only properties containing numeric values (3)All properties except the shorthand properties (4)N/A | ||
| ( | ) | 3. | Which statement is true?(1)N/A (2)To use jQuery, you do not have to do anything. Most browsers (Internet Explorer, Chrome, Firefox and Opera) have the jQuery library built in the browser (3)To use jQuery, you must buy the jQuery library at www.jquery.com (4)To use jQuery, you can refer to a hosted jQuery library at Google | ||
| ( | ) | 4. | Is jQuery a library for client scripting or server scripting?(1)Client scripting (2)N/A (3)N/A (4)Server scripting | ||
| ( | ) | 5. | Which jQuery method is used to remove selected elements?(1)N/A (2)Both methods can be used (3)remove() (4)detach() | ||
| ( | ) | 6. | Which jQuery method is used to perform an asynchronous HTTP request?(1)jQuery.ajaxAsync() (2)N/A (3)jQuery.ajaxSetup() (4)jQuery.ajax() | ||
| ( | ) | 7. | Look at the following selector: $("div p"). What does it select?(1)All p elements inside a div element (2)The first p element inside a div element (3)All div elements with a p element (4)N/A | ||
| ( | ) | 8. | Look at the following selector: $(":disabled"). What does it select?(1)All disabled input elements (2)All elements containing the text "disabled" (3)All hidden elements (4)All elements that does not contain the text "disabled" | ||
| ( | ) | 9. | Which sign does jQuery use as a shortcut for jQuery?(1)the $ sign (2)N/A (3) the ? Sign (4)the % sign | ||
| ( | ) | 10. | Which jQuery method is used to switch between adding/removing one or more classes (for CSS) from selected elements?(1)toggleClass() (2)altClass() (3)switch() (4)switchClass() | ||
| ( | ) | 11. | Is it possible to use jQuery together with AJAX?(1)Yes (2)N/A (3)N/A (4)No | ||
| ( | ) | 12. | Which jQuery method returns the direct parent element of the selected element?(1)parents() (2)ancestors() (3)ancestor() (4)parent() | ||
| ( | ) | 13. | Which jQuery method should be used to deal with name conflicts?(1)noNameConflict() (2)noConflict() (3)conflict() (4)nameConflict() | ||
| ( | ) | 14. | With jQuery, look at the following selector: $("div.intro"). What does it select?(1) The first div element with id="intro" (2)All div elements with class="intro" (3)The first div element with class="intro" (4)All div elements with id="intro" | ||
| ( | ) | 15. | What scripting language is jQuery written in?(1)VBScript (2)C++ (3)JavaScript (4)C# | ||
| ( | ) | 16. | Which jQuery method is used to hide selected elements?(1)hide() (2)hidden() (3)display(none) (4) visible(false) | ||
| ( | ) | 17. | What is the correct jQuery code to set the background color of all p elements to red?(1)$("p").style("background-color","red"); (2)$("p").css("background-color","red"); (3)$("p").manipulate("background-color","red"); (4)$("p").layout("background-color","red"); | ||
| ( | ) | 18. | jQuery uses CSS selectors to select elements?(1)N/A (2)N/A (3)TRUE (4)FALSE | ||
| ( | ) | 19. | Look at the following selector: $("p#intro"). What does it select?(1)N/A (2)N/A (3)The p element with id="intro" (4)All p elements with class="intro" | ||
| ( | ) | 20. | The jQuery html() method works for both HTML and XML documents(1)N/A (2)N/A (3) False (4)TRUE | ||
| ( | ) | 21. | Which of the following is correct?(1)jQuery is a JavaScript Library (2)jQuery is a JSON Library (3)N/A (4)N/A | ||
| ( | ) | 22. | Which jQuery function is used to prevent code from running, before the document is finished loading?(1)N/A (2)$(document).ready() (3)$(body).onload() (4)$(document).load() | ||
| ( | ) | 23. | Is jQuery a W3C standard?(1)Yes (2)N/A (3)N/A (4)No | ||
| ( | ) | 24. | Which jQuery method is used to set one or more style properties for selected elements?(1)style() (2)N/A (3)css() (4)html() | ||
| ( | ) | 25. | What is the correct jQuery code for making all div elements 100 pixels high?(1)N/A (2)$("div").height="100" (3)$("div").height(100) (4)$("div").yPos(100) |