Jquery Interview Questions and answers

Source: Internet
Author: User

I. jquery Testing Questions

Which of the following is NOT the jquery selector? (Single choice)
A. Basic selector B. Descendant selector C. class selector D. Further Selector
Test site: jquery selector (c)

Which of the following is the correct function to be executed after Dom loading is complete? (Single choice)
Jquery (expression, [Context]) B, jquery (HTML, [ownerdocument]) C, jquery (callback) d, jquery (elements)
Test site: jquery core function (c)

Which of the following is used to append to the end of a specified element? (Single choice)
A, insertafter () B, append () C, appendto () d, after ()
Test site: jquery core function (c)

Which of the following is NOT a jquery object access method? (Single choice)
A, each (callback) B, size () C, index (subject) d, index ()
Test site: jquery core function object access (d)

The returned value of the size () method in the jquery access object is the same as the _______ attribute of the jquery object.
Test site: jquery core function object access (length)

In jquery, $ (this). Get (0) is equivalent.
Test site: jquery core function object access ($ (this) [0])

7. There is such a form Element
Which of the following is correct if you want to find this hidden element? (Single choice)
A, visible B, hidden C, visible () d, hidden ()
Test site: jquery selector (B)

Which of the following methods can be used to match elements containing text? (Single choice)
A, text () B, contains () C, input () d, ATTR (name)
Test site: jquery selector (B)

In the existing table, if you want to match all rows with an even number, use ________ to implement the odd number, and use _______ to implement the odd number.
Test site: jquery selector (even, odd)

If you want to find the element of the specified number of rows in a table, which of the following methods can be used to quickly find the specified element? (Single choice)
A, text () B, get () C, eq () d, contents ()
Test site: jquery selector (c)

In a form, to find the first element of a specified element, which of the following is implemented.
Test site: jquery selector (first, eq (1 ))

Which of the following does not belong to jquery screening? (Single choice)
A. Filter B, automatic C, search D, and serial
Test site: jquery filtering (B)

Which of the following are processed by jquery? (Multiple options)
A. Package B, replace C, delete D, insert internally and externally
Test site: jquery document processing (ABD)

If you want to add content after a specified element, which of the following implements this function? (Single choice)
A. append (content) B. appendto (content) C. insertafter (content) D. After (content)
Test site: jquery document processing (d)

In jquery, an expression is used to check the selected element set, which is implemented using ______. If this expression is invalid, the value ___________ is returned.
Test site: jquery filtering (is (expr), false)

In jquey, Which of the following is correct if you want to delete all matching elements from the Dom? (Single choice)
A, delete () B, empty () C, remove () d, removeall ()
Test site: jquery document processing (c)

In jquery, Which of the following is correct if you want to add a style to the first specified element? (Single choice)
A, first B, eq (1) c, CSS (name) d, CSS (name, value)
Test site: jquery CSS processing (c)

When writing a page, if you want to obtain the relative offset of the specified element in the current window, use _________ to implement this method. The return values of this method have two attributes: ________ and __________.
Test site: jquery CSS processing (offset, top, left)

In jquery, which of the following functions is used to obtain the width of the current window? (Single choice)
A, width () B, width (VAL) C, width D, innerwidth ()
Test site: jquery CSS processing ()

In a form, if you set all DIV elements to green, the implementation function is ____________________________.
Test site: jquery's CSS processing ($“div”).css ("color", "green "))

Binds an event processor function to a specified event (like click) of each specified element. Which of the following is used to implement this function? (Single choice)
A, trigger (type) B, BIND (type) C, one (type) d, bind
Test site: jquery event operations (B)

In jquery, moving the cursor over a specified element triggers a specified method. Which of the following operations is implemented ______________.
Test site: jquery event operations (hover (over, out ))

Which of the following events are not processed by jquery? (Multiple options)
A, BIND (type) B, click () C, change () d, one (type)
Test site: jquery event processing (BC)

In a form, which of the following events can be used to add an input verification to the input box? (Single choice)
A, hover (over, out) B, keypress (FN) C, change () d, change (FN)
Test site: jquery event processing (d)

When the content in a text box is selected and you want to execute the specified method, which of the following events can be used for implementation? (Single choice)
A. Click (FN) B, change (FN) C, select (FN) d, BIND (FN)
Test site: jquery event processing (c)

In jquery, to hide an element, use ________ to display hidden elements.
Test site: jquery page effect (hide (), show ())

In a form, slide a paragraph for 600 milliseconds, and use.
Test site: jquery page effect ($ ("p"). slideup ("slow "))

In jquery, if you want to customize an animation, use the _______________________ function.
Test site: jquery page effect (animate (Params, options ))

Which of the following events does jquery want to implement the function of loading information through remote http get requests? (Single choice)
A, $. Ajax () B, load (URL) C, $. Get (URL) d, $. getscript (URL)
Test site: Ajax (C) of jquery)

Which of the following events do not belong to Ajax events? (Single choice)
A. ajaxcomplete (callback) B. ajaxsuccess (callback) C. $. Post (URL) D. ajaxsend (callback)
Test site: Ajax (C) of jquery)

To completely restore the jquery variable, you can use the _______________ method.
Test site: jquery multi-database coexistence ($. noconflict (extreme ))

Computer questions:
Use jquery to dynamically add and delete table rows

In a form, we can find all the selected input elements. Which of the following statements in jquery can be used.
Test site: jquery selector (: Not ())

Which of the following are the object attributes of the Form in jquery? (Multiple options)
A,: checked B,: enabled C,: hidden D,: Selected e,: file F,: Disabled
Test site: jquery selector (abdf)

In jquery, if an object in the form of "name/value" is set to the attribute of all specified elements, which of the following can be used.
Test site: Attributes of jquery selector (ATTR (Pro ))

Specify a class in jquery and execute the delete function if it exists. If it does not exist, add the function. Which of the following functions can be directly completed? (Single choice)
A. removeclass () B, deleteclass () C, toggleclass (class) d, addclass ()
Test site: jquery attributes (c)

In jquery, which of the following can be used to find peer elements of all elements? (Single choice)
A, eq (INDEX) B, find (expr) C, siblings ([expr]) d, next ()
Test site: jquery filtering (c)

Ii. CSS Testing Questions

The CSS syntax consists of ___________, _____________, and.
Test site: CSS syntax (selector, attribute, and value)

Which of the following is not an attribute used to retrieve the positioning method of an object? (Single choice)
A, static B, absolute C, fixed d, top
Test site: CSS positioning (d)
Which of the following is used in the display layout to set the object to be displayed in blocks and add new rows? (Single choice)
A, inline B, none C, Block D, compact
Test site: CSS layout (c)

Which of the following is used to set the border style and the border color.
Test site: border of CSS (border-style, border-color)

Set the minimum width of a div to 100 pixels and the maximum height to 50 pixels. The two settings are implemented by _______ and _______,________________.
Test site: CSS size (min-width: 100px; Min-Height: 50px ;)

After a background image is set as a background image, the background image is tiled vertically and horizontally. Which of the following implements this function? (Single choice)
A, No-repeat B, repeat C, repeat-x D, repeat-y
Test site: CSS Background (Repeat)

Which of the following statements can be used to set the line outline style outside an object as a dotted border.
Test site: CSS outline (outline-style: dashed)

In CSS, if you want to prevent counter additions, use.
Test site: CSS content (counter-increment: None)

When writing CSS styles, if you want to set the whitelist between the tag container and the main container, which of the following statements is used.
Test site: CSS list (Marker-offset)

To merge rows and cell borders of a table, you can use.
Test site: CSS table (border-collapse: Collapse)

To set the flow and direction of the text in an object, use the _______________ label. The label has two values: _________________ and _____________,______________.
Test site: CSS text (text-layout-flow, horizontal, vertical-ideographic)

Which of the following values is not in text-align if you want to set text alignment when writing CSS styles? (Single choice)
A, left B, right C, top D, justify
Test site: CSS text (c)

In CSS, if you want to set the text style of the object, which of the following is NOT the value of the label? (Single choice)
A, blink B, line-through C, color d, overline
Test site: CSS font (c)

In CSS, which of the following labels is used to set the surface color of the scroll bar? (Single choice)
A. scrollbar-base-color B. scrollbar-face-color C. scrollbar-arrow-color
D. scrollbar-shadow-color
Test site: CSS scroll bar scrollbar (B)

Iii. UML test questions
1. the important content of the standard modeling language UML can be represented by five types of diagrams: ______________, ________________, _____________, and.
Test site: UML classification (use case diagram, static diagram (including class diagram), behavior diagram, InterAction diagram and implementation diagram)

2. Which of the following is NOT the basic modeling principle?
A. Carefully select the model.
B. Each model can represent the system to be developed at different precision levels.
C. The model should be associated with reality
D. Use a model to fully describe an important system.
Test site: Basic Principles of UML (d)

3. In UML, ________________ and _________________ are both manifestations of the state machine.
Test site: UML activity diagram (activity diagram and state diagram)

4. Which of the following elements are required by the sequence chart? (Multiple options)
A. Class Role B, lifeline C, activation period D, Branch E, Action flow f, message
Test site: UML Sequence Diagram (abcf)

5. Comprehensive questions: please draw a class chart for a bank customer to view the balance information on the ATM machine, and the activity diagram should be sorted in a timely manner.
Class diagram:

Activity diagram:

[Img] [/img]
Sequence diagram:

[Img] [/img]

Creating a business model with UML is the first step to understand the business process of an enterprise. The activity diagram can be used to display the steps and decision points of the workflow, as well as the roles and objects for completing each step. Which of the following is what it emphasizes? (Single choice)
A. upper and lower levels B. Time and order C. migrate between objects D. control flow between objects
Test site: function of activity diagram (d)

Which diagrams in UML indicate system behavior? (Multiple options)
A. status diagram B, use case diagram C, collaboration diagram D, class diagram E, activity diagram F, and time sequence diagram
Test site: UML (acef)

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.