University College



Final ExamName: _Rick Charles Chabert, 5/3/16___ Grade ________In object-oriented programming, a(n) __________ is a template, or blueprint, that serves as the basis for new objects. instanceobjectmethodclass “D” is my best answer Which of the following Date class constructors creates a Date object that contains the current date and time from the local computer ? Date() “A” is my best answer Date(milliseconds) Date(date,string)Date(year,month[,date,hours, minutes,seconds,milliseconds])Which is the primary reason for using any of the “to” methods of the Number class? To convert a number for use in calculationsTo format a dateTo perform calculationsTo convert a number for use in calculations**The best answer here are (a) & (d), the exact same answers. The answer in the textbook is located at pg. 480, directly underneath Table 7-4, 1st two (2) sentences.I had to clean my glasses to verify answers (a) & (d)’s identity, and conclude in final answers are exactly the same AND, this response is my best answer. Which method of the Math class rounds a value to the next lowest integer? Floor() “A” is my best answerMax()Min()Round()The built-in property that specifies the constructor from which an object was extended is called the __________ property . defaultoriginationprototype “C” is my best answer” sourceExtracting characters or substrings from a larger string is known as _______. stripping compiling rendering parsing “D” is my best answer” What is the property of the String class that returns the number of characters in a string? size length “B” is my best answer” charswidthWhich metacharacter in a regular expression represents any single characters? $^ \. “D” is my best answer” A pattern that matches the beginning or end of a line is called a(n) __________ . anchor “A” is my best answer”root metacharacterclassWhich of the following functions removes the first element from the beginning of any array? shift() “A” is my best answer” unshift() push()pop()What character is used to separate individual name-value pairs within a query string. & “A” is my best answer” $?%To concatenate names and values into a query string, you can use methods of the __________ class? ArrayString “B” is my best answer” NumberDateWhich type value for the input element creates a field that is not displayed by web browsers? Hidden “A” is my best answer”invisiblenonetextWhich method do you use to delete a specific item from Web Storage? clear()getItem()removeItem() “C” is my best answer”setItem()Your first line of defense in securing your JavaScript programs is to _________. Require a login for every userValidate all user imnput “B” is my best answer” Encode all dataRestrict access to a single subdomainWhich type of events focus on responding to finger touches on a touchscreen ? Mouse eventsTouch events “B” is my best answer” Pointer eventsDrag eventsWhich type of events aim to handle input from a mouse, finger, or stylus with each event? Mouse eventsTouch eventsPointer events “C” is my best answer” Drag eventsIn the touch events model, which of the following is an array containing the coordinates of all touches on the current element? touches targetTouches “B” is my best answer”changedTouchestouchesXY.You can access methods of the Geolocation API using the geolocation property of the __________ object . WindowScreenNavigator “C” is my best answer” DocumentConverting a physical address to a pair of latitude and longitude coordinates is known as __________ . minifying geolocationcallbackgeocoding “C” is my best answer” Which object uses HTTP to exchange data between a client computer and a web server? JSONMathXMLHttpRequest “C” is my best answer” AjaxA server that acts for or performs requests for other clients and servers is a(n) ___________. Proxy “C” is my best answer”AjaxrequestresponseA data source made available on one domain for use on other domains across the web is a(n) __________. server answer: web “SERVICE”, in textbook 1st sentenceweb server top of page 748, CH 11, Updating Web Pages with Ajax HTTP serverHTTP clientWhen a user’s browser asks a web server for a web page, the process is known as a(n) __________. header request “B” is my best answer” responsehostA web server’s reply when a user’s browser asks for a web page is known as a(n) __________. headerrequestresponse “C” is my best answer” hostWhat language is the jQuery library written in? CSSJavaScript “B” is my best answer” HTMLPHPWhat is the first step in using jQuery? Link the .js file that contains the library to your HTML document.Create a selector. Enter a method name. Enter method parameters. “A” is my best answer”Which jQuery method do you use to add a class name to one or more selected elements? clone()addClass() “B” is my best answer”html()removeClass()What action does a jQuery event method perform if it is called with empty parentheses? It does nothing. It creates an event listener on the window object.It removes any matching event listener on the selection.It fires the indicated event “D” is my best answer”Which of the following is a jQuery animation method? focus() addClass()children()show() “D” is my best answer” ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download

To fulfill the demand for quickly locating and searching documents.

It is intelligent file search solution for home and business.

Literature Lottery

Related download
Related searches