Site MapHelpFeedbackMultiple Choice
Multiple Choice
(See related pages)

Click on the correct response for each question below.



1

DHTML can be considered as _________________?
A)client-side processing
B)server-side processing
C)both client-side and server-side processing
D)a technology that was developed for processing XML files
E)none of the above
2

A block-level container object can be used to _____________.
A)enclose text and HTML tags in order to treat the collection as a unit
B)embed a number of event handlers together as a unit so that many events can share it.
C)create an array objects in JavaScript code
D)embed a table of many images
E)accomplish none of the above
3

The value of the _________ is a positive or negative integer that indicates a layer above or below other positioned elements.
A)z-index
B)z-index
C)<DIV>
D)<SPAN>
E)<LAYER>value</LAYER>
4

Which of the following statements is true of absolute positioning?
A)The absolute property setting places an element at an exact location in the document.
B)The absolute position can be the natural location of the element in the flow of page elements, or it can be relative to its container element.
C)The absolute positioning style not only affects the location of the positioned element; it also affects the location of surrounding elements.
D)Both A and C are true.
E)A, B and C are all true.
5

Which of the following <DIV> entries will make the contents of the division invisible?
A)<DIV id="story" visible='false'>The story of my life…</DIV>.
B)<DIV id="story" hidden='true'>The story of my life…</DIV>.
C)<DIV name="divStory" visibility='false'>The story of my life…</DIV>
D)<DIV id="story" style="visibility:hidden">The story of my life…</DIV>
E)<DIV id="story" style="visibility:true">The story of my life…</DIV>
6

Consider the following HTML code:

<form name="frmGetHobby">
Enter your hobby: <input name="txtHobby" type="text">
</form>

In DOM, the element named txtHobby (as defined above) can be referenced as ________________.

A)frame.ALL.textbox.txtHobby
B)navigator.forms.frmGetHobbyt(0)
C)windows.document.form("frmGetHobby").(0)
D)document.all.forms(0)(0)
E)document.frmGetHobby.txtHobby
7

Which of the following is not a method of a SPAN object?
A)click()
B)getAttribute(attributeName)
C)blur()
D)insertAdjacentHTML(where, string)
E)onSelectStart()
8

Which of the following is not an event handler?
A)onMouseOver
B)onMouseOut
C)onMouseMove
D)onMouseIn
E)onMouseDown
9

The JavaScript statement theImage.style.left += 50 will __________
A)move the object the image horizontally at the 50% of the windows width
B)add 50 pixels to the current value of the left, and then move the image accordingly
C)move the image 50 pixel toward right
D)move the image 50 pixel toward left.
E)do none of the above
10

An eventHandler ___________________.
A)is a JavaScript function that performs certain actions;
B)is an ActiveX control that is triggered by certain events
C)is a VBScript function that performs certain actions on specified objects.
D)can execute one or more JavaScript statements separated by semicolon, or can call a JavaScript function.
E)none of the above.







Sosinsky Programming The WebOnline Learning Center

Home > Chapter 9 > Multiple Choice Quiz