W3Schools jQuery Quiz

開始測驗時間:2025-09-28 11:02:29
最新考題: ERP規劃師測驗452題_20220901(任選80題)  [海陸腔]客語能力基礎級暨初級認證閱讀測驗257題(任選80題)  GoogleAI產生的正規表示法題庫80題 
考卷名稱.: W3Schools jQuery Quiz
android版安裝(.APK)
使用者名稱:
記住1週時間
查看考試結果密碼:
  紙本測驗
※可以直接用滑鼠點選答案選項作答
字體大小:A  A  A  將未填答自動填: 1到4亂數   1   2   3   4  
  
  考試題目
( )1.Which jQuery method is used to hide selected elements?       (10)
(1)I don't know
(2) visible(false)
(3)hide()
(4)hidden()
(5)display(none)
( )2.What is the correct jQuery code to set the background color of all p elements to red?       (8)
(1)$("p").css("background-color","red");
(2)$("p").manipulate("background-color","red");
(3)$("p").layout("background-color","red");
(4)$("p").style("background-color","red");
(5)I don't know
( )3.Which jQuery method is used to set one or more style properties for selected elements?       (11)
(1)N/A
(2)I don't know
(3)css()
(4)html()
(5)style()
( )4.Is jQuery a library for client scripting or server scripting?       (5)
(1)I don't know
(2)Server scripting
(3)Client scripting
(4)N/A
(5)N/A
( )5.The jQuery animate() method can be used to animate ANY CSS property?       (25)
(1)Only properties containing numeric values
(2)All properties except the shorthand properties
(3)N/A
(4)I don't know
(5)Yes
( )6.Which jQuery method is used to remove selected elements?       (22)
(1)remove()
(2)detach()
(3)N/A
(4)I don't know
(5)Both methods can be used
( )7.Which statement is true?       (14)
(1)I don't know
(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
(5)N/A
( )8.Which jQuery method should be used to deal with name conflicts?       (17)
(1)I don't know
(2)nameConflict()
(3)noNameConflict()
(4)noConflict()
(5)conflict()
( )9.The jQuery html() method works for both HTML and XML documents       (7)
(1)I don't know
(2) False
(3)TRUE
(4)N/A
(5)N/A
( )10.Is it possible to use jQuery together with AJAX?       (6)
(1)No
(2)Yes
(3)N/A
(4)N/A
(5)I don't know
( )11.Which jQuery method is used to perform an asynchronous HTTP request?       (12)
(1)jQuery.ajaxAsync()
(2)N/A
(3)I don't know
(4)jQuery.ajaxSetup()
(5)jQuery.ajax()
( )12.What scripting language is jQuery written in?       (15)
(1)C++
(2)JavaScript
(3)I don't know
(4)C#
(5)VBScript
( )13.Which sign does jQuery use as a shortcut for jQuery?       (3)
(1)N/A
(2)I don't know
(3) the ? Sign
(4)the % sign
(5)the $ sign
( )14.Which jQuery method is used to switch between adding/removing one or more classes (for CSS) from selected elements?       (18)
(1)toggleClass()
(2)altClass()
(3)switch()
(4)switchClass()
(5)I don't know
( )15.Look at the following selector: $("p#intro"). What does it select?       (21)
(1)N/A
(2)N/A
(3)I don't know
(4)The p element with id="intro"
(5)All p elements with class="intro"
( )16.Look at the following selector: $(":disabled"). What does it select?       (23)
(1)All elements containing the text "disabled"
(2)All hidden elements
(3)All elements that does not contain the text "disabled"
(4)I don't know
(5)All disabled input elements
( )17.Look at the following selector: $("div"). What does it select?       (4)
(1)All div elements
(2)The first div element
(3)N/A
(4)N/A
(5)I don't know
( )18.Which jQuery method returns the direct parent element of the selected element?       (24)
(1)ancestor()
(2)parent()
(3)I don't know
(4)parents()
(5)ancestors()
( )19.Which of the following is correct?       (1)
(1)I don't know
(2)jQuery is a JavaScript Library
(3)jQuery is a JSON Library
(4)N/A
(5)N/A
( )20.What is the correct jQuery code for making all div elements 100 pixels high?       (13)
(1)I don't know
(2)$("div").height="100"
(3)$("div").height(100)
(4)$("div").yPos(100)
(5)N/A
( )21.Look at the following selector: $("div p"). What does it select?       (19)
(1)N/A
(2)I don't know
(3)All p elements inside a div element
(4)The first p element inside a div element
(5)All div elements with a p element
( )22. Is jQuery a W3C standard?       (20)
(1)N/A
(2)N/A
(3)I don't know
(4)No
(5)Yes
( )23. jQuery uses CSS selectors to select elements?       (2)
(1)N/A
(2)N/A
(3)I don't know
(4)TRUE
(5)FALSE
( )24.Which jQuery function is used to prevent code from running, before the document is finished loading?       (16)
(1)$(body).onload()
(2)$(document).load()
(3)N/A
(4)I don't know
(5)$(document).ready()
( )25.With jQuery, look at the following selector: $("div.intro"). What does it select?       (9)
(1)All div elements with class="intro"
(2)The first div element with class="intro"
(3)All div elements with id="intro"
(4) The first div element with id="intro"
(5)I don't know
 
  

勵志智慧小語:【17.困難出現時,記得鎖定目標,精勤努力,直到成功。】
1小時內上線人數:148 人

您有在蝦皮購物嗎?可以透過https://s.shopee.tw/5peImifZAH 連結去購物會有分潤1%支持網站營運