[go: up one dir, main page]

0% found this document useful (0 votes)
56 views6 pages

Jquery Mock Test III

This document provides a 25 question mock test on jQuery methods. It includes questions about jQuery methods for selecting elements, manipulating styles and dimensions, and positioning elements. Each question lists 4 potential answer choices and the correct answer is provided in an answer key at the end.

Uploaded by

jeeva shetty
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views6 pages

Jquery Mock Test III

This document provides a 25 question mock test on jQuery methods. It includes questions about jQuery methods for selecting elements, manipulating styles and dimensions, and positioning elements. Each question lists 4 potential answer choices and the correct answer is provided in an answer key at the end.

Uploaded by

jeeva shetty
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

JQUERY MOCK TEST

http://www.tutorialspoint.com Copyright © tutorialspoint.com

This section presents you various set of Mock Tests related to jQuery Framework. You can
download these sample mock tests at your local machine and solve offline at your convenience.
Every mock test is supplied with a mock test key to let you verify the final score and grade yourself.

JQUERY MOCK TEST III

Q 1 - Which of the following jQuery method gets a set of elements containing all of
the unique immediate children of each of the matched set of elements?

A - getChildselector

B - children[selector]

C - getChildrenselector

D - None of the above.

Q 2 - Which of the following jQuery method gets a set of elements containing the
closest parent element that matches the specified selector, the starting element
included?

A - getNearestselector

B - getClosest[selector]

C - closestselector

D - None of the above.

Q 3 - Which of the following jQuery method finds all the child nodes inside the
matched elements includingtextnodes, or the content document, if the element is an
iframe?

A - getChildrenselector

B - getContents[selector]

C - contentsselector

D - None of the above.


Q 4 - Which of the following jQuery method reverts the most recent 'destructive'
operation, changing the set of matched elements to its previous state?

A - revert

B - end

C - undo

D - None of the above.

Q 5 - Which of the following jQuery method searches for descendent elements that
match the specified selectors?

A - locateselector

B - findselector

C - searchselector

D - None of the above.

Q 6 - Which of the following jQuery method gets a set of elements containing the
unique next siblings of each of the given set of elements?

A - locateNextselector

B - getNextselector

C - nextselector

D - None of the above.

Q 7 - Which of the following jQuery method finds all sibling elements after the current
element?

A - locateNextAllselector

B - getNextAllselector

C - nextAllselector

D - None of the above.

Q 8 - Which of the following jQuery method returns a jQuery collection with the
positioned parent of the first matched element?

A - offsetParentselector

B - offsetselector

C - parentselector

D - None of the above.

Q 9 - Which of the following jQuery method gets the direct parent of an element?

A - offsetParentselector
B - offsetselector

C - parentselector

D - None of the above.

Q 10 - Which of the following jQuery method gets a set of elements containing the
unique ancestors of the matched set of elements?

A - offsetParentselector

B - offsetselector

C - parentsselector

D - None of the above.

Q 11 - Which of the following jQuery method gets a set of elements containing the
unique previous siblings of each of the matched set of elements?

A - parentsselector

B - prevselector

C - siblingsselector

D - None of the above.

Q 12 - Which of the following jQuery method finds all sibling elements in front of the
current element?

A - parentsselector

B - prevAllselector

C - siblingsselector

D - None of the above.

Q 13 - Which of the following jQuery method gets a set of elements containing all of
the unique siblings of each of the matched set of elements?

A - parentsselector

B - prevAllselector

C - siblingsselector

D - None of the above.

Q 14 - Which of the following jQuery method gets the style property of an element?

A - getClassname

B - getStylename

C - cssname

D - None of the above.


Q 15 - Which of the following jQuery method sets the style property of an element?

A - setClassname, value

B - setStylename, value

C - cssname, value

D - None of the above.

Q 16 - Which of the following jQuery method sets the height property of an element?

A - setCSSHeightvalue

B - setHeightvalue

C - heightvalue

D - None of the above.

Q 17 - Which of the following jQuery method gets the height property of an element?

A - getCSSHeight

B - getHeight

C - height

D - None of the above.

Q 18 - Which of the following jQuery method sets the width property of an element?

A - setCSSWidthvalue

B - setWidthvalue

C - widthvalue

D - None of the above.

Q 19 - Which of the following jQuery method gets the width property of an element?

A - getCSSWidth

B - getWidth

C - width

D - None of the above.

Q 20 - Which of the following jQuery method gets the inner height excludingtheborder of an
element?

A - getCSSHeight

B - innerHeight
C - getInnerHeight

D - None of the above.

Q 21 - Which of the following jQuery method gets the inner width excludingtheborder of an
element?

A - getCSSWidth

B - innerWidth

C - getInnerWidth

D - None of the above.

Q 22 - Which of the following jQuery method gets the current offset of the first
matched element, in pixels, relative to the document?

A - offset

B - offsetParent

C - position

D - None of the above.

Q 23 - Which of the following jQuery method returns a jQuery collection with the
positioned parent of the first matched element?

A - offset

B - offsetParent

C - position

D - None of the above.

Q 24 - Which of the following jQuery method returns the top and left position of an
element relative to its offset parent?

A - offset

B - offsetParent

C - position

D - None of the above.

Q 25 - Which of the following jQuery method returns the outer height includingtheborder
of an element?

A - getCSSHeight

B - getHeight

C - outerHeight[margin]

D - None of the above.


ANSWER SHEET

Question Number Answer Key

1 B

2 C

3 C

4 B

5 B

6 C

7 C

8 A

9 C

10 C

11 B

12 B

13 C

14 C

15 C

16 C

17 C

18 C

19 C

20 B

21 B

22 A

23 B

24 C

25 C

Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js

You might also like