• الصفحة الرئيسية
  • إتصل بنا
  • سياسة الخصوصية
Logo
  • الرئيسية
  • أفكار
  • صحة
  • معلومات
  • عجائب وغرائب
  • تكنولوجيا
الصفحة الرئيسية JavaScript Multiple Choice Question (MCQ) Solved Objective Questions on jQuery Library set-1

Solved Objective Questions on jQuery Library set-1

الكاتب ahmed في 11:54 PM JavaScript Multiple Choice Question (MCQ)
1) Which of the following statements about the features of jQuery are True.

i) jQuery has an expressive syntax for referring to elements in the document.

ii) jQuery has an efficient query method for finding the set of document elements that match a CSS selector.

iii) jQuery has a useful set of methods for manipulating selected elements.

A. i, ii and iii only

B. i, ii and iv only

C. i, iii and iv only

D. All i, ii, iii and iv


2) If you are using $ in your own code, or are using another library, such as prototype, that uses $, you can call .......... to restore $ to its original value.

A. jQuery.noConflict()

B. jQuery.removeConflict()

C. jQuery.restoreDefault()

D. jQuery.restoreFunction()


3) Which of the following is/are the sources of Content Distribution Network(CDN) for jQuery.

A. jQuery CDN

B. Microsoft CDN

C. Google CDN

D. All of the above


4) Which of the following are the different ways of invoking jQuery() function.

i) invoke $() is to pass a CSS selector to it

ii) invoke $() is to pass an element or document or window object

iii) invoke $() is to pass a string of JavaScript code

iv) invoke $() is to pass a function to it

A. i, ii and iii only

B. i, ii and iv only

C. i, iii and iv only

D. All i, ii, iii and iv


5) The jQuery library defines a number of utility functions, one of them is ............ function for general purpose iteration and another is ............ function for parsing JSON text.

A. jQuery.each(), jQuery.JSONtext()

B. jQuery.iterate(), jQuery.parseJSON()

C. jQuery.each(), jQuery.parseJSON()

D. jQuery.general(), jQuery.parseJSON()


6) The value returned by $() are ......... ,they are array like, they have a length property and have numeric properties from o to length -1.

A. jQuery result

B. jQuery objects

C. jQuery array

D. jQuery length


7) In order to loop over all elements in a jQuery object, you can call the .......... method instead of writing a for loop.

A. array.map()

B. index()

C. each()

D. map()


8) ......... method expects a callback function as its sole argument, and it invokes that callback function once for each element in the jQuery object in document order.

A. array.map()

B. index()

C. each()

D. map()


9) ........... accepts a callback function as its argument and invokes that function once for each element of the jQuery object.

A. is()

B. index()

C. each()

D. map()


10) ........ takes a selector as its argument and returns true if at least one of the selected elements also matches the specified selector.

A. is()

B. index()

C. each()

D. map()



11) ........ handles browser incompatibilities and special cases and allows you to use either HTML attribute names of their JavaScript property equivalents.

A. attr()

B. removeattr()

C. handleattr()

D. useattr()


12) Match the following methods for working with the class attribute defined by jQuery with their definitions.

i) addClass()           a) tests for the presence of specified class

ii) toggleClass()      b) adds classes to elements that don't already have

iii) hasClass()          c) remove classes from selected elements

iv) removeClass()   d) adds classes from selected elements

A. i-b, ii-c, iii-d, iv-a

B. i-c, ii-d, iii-a, iv-b

C. i-d, ii-c, iii-b, iv-a

D. i-d, ii-b, iii-a, iv-c


13) ........ is a method for setting and querying the value attribute of HTML form elements and also for querying and setting the selection state of check boxes, radio buttons and <select> elements.

A. set()

B. val()

C. query()

D. attr()


14) In jQuery, .......... method measures positions relative to the document and returns them in the form of an object with left and top properties that hold the X and Y coordinates.

A. offset()

B. position()

C. offsetparent()

D. setparent()


15) The .......... method is like offset(), except that it is a getter only and it returns element positions relative to their offset parent, rather to the document as a whole.

A. width()

B. position()

C. offsetparent()

D. setparent()


Answers

1) D. All i, ii, iii and iv
2) A. jQuery.noConflict()
3) D. All of the above
4) B. i, ii and iv only
5) C. jQuery.each(), jQuery.parseJSON()
6) B. jQuery objects
7) C. each()
8) C. each()
9) D. map()
10) A. is()
11) A. attr()
12) D. i-d, ii-b, iii-a, iv-c
13) B. val()
14) A. offset()
15) B. position()

Related Posts:

  • Solved MCQ of JavaScript set-1

  • MCQ of JavaScript with Answer set-2

  • Solved MCQ on Basic Client Side JavaScript set-3

  • Solved MCQ on JavaScript Window Object set-4

  • Solved MCQ on Scripting Documents in JavaScript set-5

  • MCQ on Scripting Documents in Client Side JavaScript set-6

  • MCQ on Scripting Documents in Client Side JavaScript set-7

  • Solved MCQ on Handling Events in Client Side JavaScript set-8

For more Multiple Choice Questions (MCQs): Click Here

شارك المقال :
Tweet
✚

مقالات ذات صلة

التالي
المشاركةالتالية
السابق
المشاركة السابقة

تحويل كودإخفاء محول الأكواد الإبتساماتإخفاء

شكرا لمشاركتنا رأيك
Subscribe to: Post Comments (Atom)
  • Facebook
  • twitter
  • googleplus
  • youtube
  • linkedin

الأكثر زيارة

  • What is Information ?
    Information  can be defined as data that has been processed into a form that is meaningful to the recipient and is of real or perceived valu...
  • What is Information Technology?
    Definitions of  Information technology  ( IT ) It is a branch of engineering dealing with the use of computers and telecommunications equipm...
  • بالصور الفائزة بمسابقة ملكة جمال مصر 2017
    بالصور الفائزة بمسابقة ملكة جمال مصر 2017
    بالصور الفائزة بمسابقة ملكة جمال مصر 2017 لن تصدق من هي فرح صدقي ↓↓  لمشاهدة الصور والخبر كامل اضغط هنا  ↓↓ رابط المو...
  • Interview Questions on Stack and Queue in Data Structure set-2
    1) The queue in which the insertion takes place in the first position after of last element is a ...... A. priority B. dequeue C. circular D...
  • List of Top 65 Search Engine Submission Add URLs.
    List of Top 65 Search Engine Submission Add URLs.
    To get your site on the top ranking on the search engine results, Your site or URL must be indexed by Search Engines. For that you have to s...
  • List of Best Keyword Research Tools for Better SEO
    List of Best Keyword Research Tools for Better SEO
    Everyone needs to do keyword research work for the site before starting search engine optimization work as the first and most essential tas...
  • What are the different types of scheduling methods?
    Process scheduling is one way for a processor to handle n processes , by scheduling the execution process. Each process is executed one by ...
  • Solved MCQ on Database Backup and Recovery in DBMS set-1
    1) Which of the following is not a recovery technique? A. Deferred update B. Immediate update C. Two-phase commit D. Recovery management 2)C...
  • Solved MCQ on Distributed Database Transaction Management set-4
    1) Commit and rollback are related to .......... A. data integrity B. data consistency C. data sharing D. data security 2) The transaction w...
  • Solved MCQ on Fundamental of DBMS set-10
    1) Which of the following is not a characteristic of a relational database model? A. Table B. Tree like structure C. Complex logical relatio...

الأقسام

  • Artificial Intelligence(AI)
  • Backlinking
  • Basic IT
  • Best List
  • Blogging Tips
  • C
  • C#
  • C++
  • Computer Architecture
  • Computer Fundamental
  • Computer Security
  • Computer/IT Officer Exam
  • CSS
  • Data Mining and Warehousing
  • Data Recovery Tools
  • Data Structure
  • Database Management System
  • E-commerce
  • E-government
  • Internet & Web Designing
  • IT Law
  • IT Tips and Tricks
  • IT Tutorials
  • Java
  • JavaScript
  • Keyword Research Tools
  • MIS
  • Multiple Choice Question (MCQ)
  • Networking
  • Online Earning
  • Online IT Jobs
  • Operating System
  • Oracle Forms and Reports
  • Programming Guide
  • Programming Language
  • SEO
  • Social Networking Sites
  • Software Download
  • Software Engineering
  • System Analysis and Design
  • Top List
  • VB.Net
  • صحة
  • عجائب وغرائب

الأرشيف

  • ►  2017 (4)
    • ►  November (3)
    • ►  October (1)
  • ►  2016 (5)
    • ►  April (5)
  • ▼  2015 (87)
    • ►  August (1)
    • ►  July (8)
    • ▼  June (13)
      • Top 10 Questions that Computer Beginner may Asked
      • How to Know Your Computer Configuration Easily
      • Top 5 Free Methods to Make Your Computer Faster
      • How to Keep Computer from Sleeping
      • How to Share Printer for Computers on LAN
      • How to Share Drive Folder and File in Computer Net...
      • Solved Objective Questions on jQuery Library set-1
      • Solved MCQ on Handling Events in Client Side JavaS...
      • MCQ on Scripting Documents in Client Side JavaScri...
      • MCQ on Scripting Documents in Client Side JavaScri...
      • Solved MCQ on Scripting Documents in JavaScript set-5
      • Solved MCQ on JavaScript Window Object set-4
      • Solved MCQ on Basic Client Side JavaScript set-3
    • ►  May (2)
    • ►  April (2)
    • ►  March (4)
    • ►  February (20)
    • ►  January (37)
  • ►  2014 (77)
    • ►  December (31)
    • ►  November (4)
    • ►  September (4)
    • ►  August (11)
    • ►  July (8)
    • ►  June (2)
    • ►  May (2)
    • ►  April (2)
    • ►  March (2)
    • ►  February (7)
    • ►  January (4)
  • ►  2013 (132)
    • ►  December (11)
    • ►  November (6)
    • ►  October (4)
    • ►  September (6)
    • ►  August (16)
    • ►  July (9)
    • ►  June (9)
    • ►  May (12)
    • ►  April (13)
    • ►  March (23)
    • ►  February (6)
    • ►  January (17)
  • ►  2012 (59)
    • ►  December (15)
    • ►  November (20)
    • ►  October (21)
    • ►  September (3)

إنضم لنا

© 2017 أفكار جميع الحقوق محفوظة