Deck 12: Introduction to Jquery
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
Match between columns
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/41
العب
ملء الشاشة (f)
Deck 12: Introduction to Jquery
1
Each jQuery method serves a single function, allowing you to either look up a value or set that value, but not both.
False
2
jQuery is a cross-browser library.
True
3
Both private and free, publicly available JavaScript libraries are in common use on the web today.
True
4
Every jQuery statement begins with which character?
A)$
B).
C)@
D)#
A)$
B).
C)@
D)#
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
5
The ____ method selects the child elements of each element matched by the main selector.
A) next()
B)last()
C)previous()
D) children()
A) next()
B)last()
C)previous()
D) children()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
6
Why would you link to a jQuery file on a CDN?
A)It's the only way to ensure that you're using the most current version.
B)It can provide an improved user experience.
C)It's cheaper than linking to a file on your own web server.
D)It's the only way to include the library in your web documents.
A)It's the only way to ensure that you're using the most current version.
B)It can provide an improved user experience.
C)It's cheaper than linking to a file on your own web server.
D)It's the only way to include the library in your web documents.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
7
The ____ method changes the selection to the sibling element immediately following each selected element.
A) next()
B)last()
C)previous()
D) children()
A) next()
B)last()
C)previous()
D) children()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
8
Which of the following is NOT an acceptable value for referencing the element(s)on which a jQuery statement operates?
A)a variable
B)a CSS selector
C)a JavaScript method
D)the this keyword
A)a variable
B)a CSS selector
C)a JavaScript method
D)the this keyword
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
9
jQuery 2.x supports IE 6, 7, and 8.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
10
You can include the jQuery library by specifying the location in your HTML document of a jQuery file on a publicly accessible server.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
11
To select elements in jQuery, you specify a(n)____ .
A)CSS selector
B)getElementById() method
C)array
D)JSON string
A)CSS selector
B)getElementById() method
C)array
D)JSON string
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
12
Some jQuery animation methods allow you to specify the keywords ____ to set the speed of the animation.
A) slow and fast
B) tortoise and hare
C) stop and go
D) walk and run
A) slow and fast
B) tortoise and hare
C) stop and go
D) walk and run
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
13
jQuery includes a(n)____ method that allows jQuery code to coexist with code for another library that uses the same alias.
A)alias()
B) sharedAlias()
C)conflict()
D) noConflict()
A)alias()
B) sharedAlias()
C)conflict()
D) noConflict()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
14
In a jQuery statement, a reference to the elements on which the statement operates is contained in ____.
A){ }
B)[ ]
C)< >
D)( )
A){ }
B)[ ]
C)< >
D)( )
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
15
Which character do you use to append a jQuery method to code that selects elements?
A):
B).
C)-
D)=
A):
B).
C)-
D)=
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
16
The ____ method retrieves the value of the first element in the selection, or sets the value of the selected elements.
A) height()
B)addClass()
C)width()
D) val()
A) height()
B)addClass()
C)width()
D) val()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
17
Which jQuery method narrows the group of selected elements to the first element?
A)previous()
B)next()
C)first()
D) last()
A)previous()
B)next()
C)first()
D) last()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
18
What is the extension of the file that contains the jQuery library?
A).html
B).css
C).js
D).jq
A).html
B).css
C).js
D).jq
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
19
Which jQuery method narrows the group of selected elements to the last element?
A)previous()
B)next()
C)first()
D) last()
A)previous()
B)next()
C)first()
D) last()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
20
The ____ method adds specified class name(s)to the selection.
A) height()
B)addClass()
C)width()
D) val()
A) height()
B)addClass()
C)width()
D) val()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
21
All jQuery animation methods can take a value in __________ as an argument.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
22
The jQuery __________ event specifies code to execute then the pointer enters an element, as well as code to execute when the pointer leaves the element.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
23
Match between columns
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
24
Explain why libraries are useful in JavaScript.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
25
Servers known as __________ are optimized for quick delivery of files across the globe.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
26
What action does a jQuery event method perform if it is called with empty parentheses?
A)It fires the indicated event.
B)It removes any matching event listener on the selection.
C)It creates an event listener on the window object.
D)It does nothing.
A)It fires the indicated event.
B)It removes any matching event listener on the selection.
C)It creates an event listener on the window object.
D)It does nothing.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
27
What language is the jQuery library written in?
A)PHP
B)HTML
C)JavaScript
D)CSS
A)PHP
B)HTML
C)JavaScript
D)CSS
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
28
Which is the correct syntax to create a function that uses jQuery?
A)$.function name() {}
B)$(name()).function {}
C)$(function) name() {}
D)function name() {}
A)$.function name() {}
B)$(name()).function {}
C)$(function) name() {}
D)function name() {}
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
29
Is jQuery a different language from JavaScript? Explain.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
30
In what situations might you be better off not using jQuery?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
31
Explain the relationship between the syntax for selecting an element in jQuery and the querySelectorAll()method.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
32
Explain the different roles of an event method based on whether the parentheses are empty.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
33
The jQuery __________ method changes an element's display value to its default value.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
34
Describe two differences between jQuery 1.x and jQuery 2.x?.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
35
Which is an advantage of using jQuery animation methods rather than coding animations yourself in JavaScript?
A)Coding the animations yourself might require writing and debugging many lines of JavaScript.
B)The jQuery animation effects cannot be created with plain JavaScript.
C)You cannot select certain web page elements without using jQuery.
D)There is no particular advantage to using one or the other.
A)Coding the animations yourself might require writing and debugging many lines of JavaScript.
B)The jQuery animation effects cannot be created with plain JavaScript.
C)You cannot select certain web page elements without using jQuery.
D)There is no particular advantage to using one or the other.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
36
What are the three parts of an event listener created with jQuery?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
37
Which jQuery method do you use to add a class name to one ore more selected elements?
A)html()
B)removeClass()
C) addClass()
D)clone()
A)html()
B)removeClass()
C) addClass()
D)clone()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
38
When your HTML document links to both the jQuery library and another JavaScript file, which order should the links be in? Why?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
39
The jQuery __________ method changes an element's display value to none .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
40
What is an advantage of using jQuery to create a feature such as a drop-down menu, rather than writing plain JavaScript code for this feature?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
41
Provide a jQuery statement that shows all children of h2 elements.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck