• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/76

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

76 Cards in this Set

  • Front
  • Back

Both private and free, publicly available Javascript libraries are in common use on the Web today.


True/False

J query is a cross browser library.



T/F

True

J query 2.X supports Internet Explorer 6,7 and 8.



T/F

False

You can include the J query library by specifying the location in your HTML document of A J query file on a publicly accessible server.



T/F

True

Each J query method serves a single function, allowing you to either look up a value or set the value, but not both.



T/F

False

What is the extension of the file that contains the J query library?


.html


.css


.js


.jq

.js

Why would you link a J query 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.

It can provide an improved user experience.

Every J query statement begins with which character?



A. $


B. @

$

In a J query statement, a reference to the elements in which the state and operates those contained in:



A. ()


B. <>

()

To select elements and J query, you specify a:



A. CSS selector


B. Variable

CSS selector

Which character do you use to append AJ query method to code that selects elements?



A. =


B. .(period)

. (Period)

The _____ Method changes the selection to the sibling element and mediately following each selected element.



A. Next()


B. Last()

Next()

The ___ Method selects the child elements of each element matched by the main selector.



A. Previous()


B. Children()

Children()

The _____ Method adds specified class names to the selection.



A. Val()


B. AddClass()

AddClass()

The ___ Method retrieves the value of the 1st element in the selection, or sets the value of the selected elements.



A. Height()


B. Val()

Val()

Which of the following is not an acceptable value for referencing the elements on which A J query statement operates?



A. A variable


B. A Javascript method

A Javascript method

Some J query animation methods allow you to specify the keywords ____ to set the speed of the animation.



A. Slow and fast


B. Tortoise and hare

Slow and Fast

J query includes a ______ method that allows J query code to CO-exist with code for another library that uses the same alias.



A. Alias()


B. Noconflict()

noConflict()

Which J query method narrows the group of selected elements to the 1st element?



A. Previous()


B. First()

First()

Which J query method narrows the group of selected elements to the last element?



A. Previous()


B. Last()

Last()

Which J query method do you use to add a class name to one or more selected elements?



A. Removeclass()


B. Addclass()

addClass()

What action does a J query event method perform if it is called with empty parentheses?



A. It fires the indicated event.


B. It does nothing.

It fires that indicated event.

Which is the correct syntax to create a function that uses J query?



A. $.function name() {}


B. Function name() {}

Function name() {}

Which is an advantage of using J query animation methods rather than coding animations yourself and javascript?



A. Coding the animations yourself might require writing and debugging many lines of javascript.


B. The J query animation effects cannot be created with plain javascript.

Coating the animations yourself might require writing and debugging many lines of javascript.

What language is the J query library written in?



A. PHP


B. Javascript

Javascript

The J query ______ event specifies code to execute then the pointer enters an element, as well as code to execute when the pointer leaves the element to.



A. Hover


B. Hide

Hover

The J query _____ method changes and elements display value to none.



A. Hover


B. Hide

Hide

The J query _____ method changes and elements display value to its default value.



A. Hide


B. Show

Show

All J query animation methods can take a value in ______ as an argument.



A. Minutes


B. Milliseconds

Milliseconds

Servers known as CDN are optimized for quick delivery of files across the globe.



T/F

True

The XMLHttpRequest object can be used to request and receive data without reloading a Web page.



T/F

True

You can use server side script as a proxy to access data from another demain.



T/F

True

The 1st line of an http message specifies the date.



T/F

False

An http response code of 200 indicates that the request was successful.



T/F

True

CORS is supported by all browsers in use today.



T/F

False

The XMLHttpRequest object uses ____ to exchange data between a client computer and a Web server.



A. Http


B. Ftp

Http

By combining the ______ object with DHTML techniques, you can update and modify individual portions of your Web page with data received from a Web server.



A. AjaxReques


B. XHttpRequest

XHttpRequest

You can use a server side script as a _____ to access data from another domain.



A. Proxy


B. Switch

Proxy

The purpose of the _______ policy is to prevent malicious scripts from modifying the content of other windows, tabs, and frames and prevent the theft of private browser information and information displayed on secure Web pages.



A. Privacy


B. Same-origin

Same-origin

A ______ is a data source made available on one demain for use on other domains across the Web.



A. Web service


B. Http service

Web service

Every Web pages identified by unique address called the:



A. Host


B. URL

URL

The term _____ refers to the application, usually a Web browser, that makes the request.



A. Http URL


B. Http client

Http client

The term ___ is another name for a Web server and refers to a computer that receives http requests and returns responses to http clients.



A. Http client


B. Http server

Http server

The term _____ refers to a computer system that is being accessed by remote computer.



A. Protocol


B. Host

Host

Http client request and server responses are both known as Http:



A. Messages


B. Scripts

Messages

_____ Define information about the request or response message and about the contents of the message body.



A. Tags


B. Headers

Headers

The web storage API is supported by all browsers on the web today.



T/F

False

One way to preserve information following a users visit to a web page is to append a query string to the end of a URL.



T/F

True

Cookies are stored on a users computer as plain text files.



T/F

True

You create hidden form fields with the ____ element.



A. Hidden


B. Query String

Hidden

To create a query string, you add a ____ immediately after a URL, followed by the query string.



A. ?


B. &

?

The _____ property of the location object contains a URLs query or search parameters.



A. Search


B. Cookie

Search

____ cookies remain available only for the current browser session.



A. Persistent


B. Temporary

Temporary

You use the _______ property of the document object to create cookies in name value pairs.



A. Cookie


B. Name

Cookie

You can use special characters in your cookies if you use:



A. Secure coding


B. Encoding

Encoding

The ______ attribute if the cookie property determines how long a cookie can remain in a client system before it is deleted.



A. Path


B. Expires

Expires

The ______ attribute is used for sharing cookies across multiple servers in the same domain.



A. Domain


B. Secure

Domain

_________ refers to the writing code in such a way that minimizes any intentional or accidental security issues.



A. Secure coding


B. DecodeURIComponent()

Secure coding

To delete a cookie, you change the _____ property.



A. Domain


B. Expires

Expires

To extract the contents of a query string except for the question mark, you the use the _____ method.



A. State information


B. substring()

Substring()

To use a cookie or other text string encoded with the encodeURIComponent() function, you must first decode with the _____ function.



A. Web storage


B. DecodeURIComponent()

DecodeURIComponent()

You can use a text string as a literal value or assign it to a variable.



T/F

True

The replace() method is case sensitive.



T/F

T

To concert a JSON string to a javascript object, you use the parse() method of the JSON object.



T/F

False

The from charCode() method is called a ____ method because it isnt used as a method of any string objects (which can be literal strings or variables) in your scripts.



A. Static


B. Local

Local

The ____ method converts a text string to uppercase.



A. toUpperCase()


B. toMaxCase()

toUpperCase()

The ____ method returns the position number in a string of the 1rst instance of the 1rst character in the pattern argument.



A. Slice(pattern)


B. Search(pattern)

Search(pattern)

The Javascript string class includes the ___ method, which creates a new string by combining strings that are passed as arguments.



A. Strpst()


B. Concat()

Concat()

Regular expression patterns consist of literal characters and:



A. Meta characters


B. Metadata

Metadata

Characters contained in a set of parentheses within a regular expression are referred to as a sub expression or:



A. Sub pattern


B. Substring

Sub pattern

To allow a string to contain an alternative set of sub strings, you separate the strings in a regular expression pattern with the _____ metacharacter.



A. /


B. I

I

The ____ method removes and returns the 1rst element from the beginning of an array.



A. Slice()


B. Shift()

Shift()

To sort elements of an array alphabetically, you can use the ____ method.



A. List()


B. Sort()

Sort()

To concert a javascript object to a JSON string, you use the _____ method.



A. Parse()


B. Stringify()

Stringify()

All literal strings and string variables in javascript are represented by a _____ class, which contains methods for manipulating text stings.



A. String


B. Regular expression

String

______ are patterns that are used for matching and manipulating strings according to specified rules.



A. Strings


B. Regular expressions

Regular expressions