Final Exam Summer 16
Final Exam Summer 16
4) The Date object bases times on a 12-hour clock, with values for AM and PM.
T or F
5) Extracting information from the userAgent string is the preferred method for
checking browser support.
T or F
6) Properties of the select object include ...
a.
selectedIndex
b.
color
c.
option
d.
family
scrollbars
imageRollovers
dynamicText
forms
8) To access the original window from a new window, you need to use the original
property of the window object.
T or F
9) Methods for resizing and moving windows include all of the following except ...
a.
moveFrom
b.
moveBy
c.
resizeTo
d.
resizeBy
10) Which of the following could be used as a separation parameter for the split()
method?
a.
b.
c.
d.
UTC time
b.
c.
d.
b. branch the code according to the browser that is displaying the page
c. use object detection techniques to determine the browser
d. all of the above
15) Ways to check to see if a plug-in is installed in Firefox include all of the following
except:
a.
b.
c.
d.
Use the name property of the Plugin object in the plugins[] array
Loop through the plugins[] array and check each name for certain keywords
Use the classid property of the Plugin object in the plugins[] array
Loop through the mimeTypes[] array and check whether the browser
supports a specific type of media
16) readyState value of 3 indicates the following state of the request:
a.
open() method called, but the request hasnt been sent
b.
response has been received from the server
c.
requested data has been received
d.
request has been sent
17) The process of using a hidden frame technique for remote scripting includes:
a. a request is sent to the server
b. the page in the hidden frame contacts the visible frame when the request is
complete
c. the server sends the response to the hidden frame
d. all of the above
18) Potential problems with remote scripting include:
a.
Same origin policy
b.
Differences in operating system support
c.
Differences in Firefox versions
d.
all of the above
19) Which jQuery method is used to perform an asynchronous HTTP request?
20) What is the correct jQuery code for making all div elements 100 pixels high?
21) Which jQuery function is used to prevent code from running, before the
document is finished loading?
22) Which jQuery method should be used to deal with name conflicts?
23) Look at the following selector: $("p#intro"). What does it select?
24) Which jQuery method returns the direct parent element of the selected
element?
25) Bootstrap 3 is mobile-first? T/F
26) Which class is used to create a big box for calling extra attention?
27) The Bootstrap grid system works across multiple devices. T/F
28) How would you close an alert in bootstrap?