Your browser does not support JavaScript. You will need to view non-JavaScript portions of this page.

CGS 2820: Summer Term 2004
On-Line Quizzes

In order to forward you your test results please enter your name & email address below:

Enter First Name followed by a space then your Last Name here



Enter E-mail Address here:



DHTML Tutorial One: Working with Dynamic Page Layouts

DHTML Tutorial One Quiz Masters:

Jamie Young (jams@tampabay.rr.com) [Text Input]

John Taylor (jtaylor@hcc.cc.fl.us) [Consultant]


Multiple Choice [One Answer Only]


Question 1

One way of adding animation to a page without the overhead of extra applets or large graphics is to use _____.

a) Java
b) JavaScript
c) HTML
d) DHTML

CSS-Positioning is an extension to the ______ specifications.

a) HTML
b) W3C
c) CSS1
d) CSS2

The left and top values can be defined in absolute coordinates in unites of _____.

a) pixels
b) inches
c) centimeters
d) Any of the above

An object has been placed at the (30,100) coordinate on the page; this is an example of _____ positioning.

a) relative
b) fixed
c) absolute
d) static

An object with _____ positioning will not scroll with other elements in the Web page.

a) absolute
b) relative
c) fixed
d) static

The z-index style attribute has the syntax _____.

a)z/index(value)
b)z-index=value:
c)z-index=value;
d)z-index:value;

A z-index value of _____ causes the object to be placed in its default layer.

a) 0
b)1
c)2
d)-1

You can hide an object only to unhide it later using the _____ attribute.

a) display
b)visibility
c)reveal
d)show

Inherit is the _____ visibility attribute.

a)default
b)main
c)hidden
d)show

The width and height attributes are measured _____.

a) in absolute units
b) in relative units
c) as a percentage of the width or height of the parent element
d) Any of the above

Which of the following is a valid overflow type?

a) display
b)scroll
c)invisible
d)All of the above

Using an overflow value of _____ keeps the object at the specified size and hides the extra content.

a) scroll
b)hidden
c)auto
d)visible

Using an overflow value of _____ will display scroll bars only as needed.

a) scroll
b)hidden
c)auto
d)visible

The clip attribute can be used only with _____ positioning.

a) relative
b)absolute
c)fixed
d)static

The document object model can be thuoght of as a(n) _____ elements.

a) map
b)index
c)roster
d)hierachy

In JavaScript, you can translate the elements in the DOM hierarchy into _____ names.

a) collection
b) index
c) reference
d) vector

Elements in the DOM hierarchy can be grouped into element _____.

a) maps
b)collections
c) rosters
d)scripts

The syntax for an element collection is _____.

a)document.property[i].collection
b)property.collection.id;
c) document.collection[i].property;
d) document.collection.id;

The first object in an element collection has an index number of _____.

a) 0
b)1
c)-1
d) 2

The browser type can be retrieved from the _____ property of the navigator object.

a) browName
b) browType
c) appName
d) appVersion

To determine the browser version, you use the _____ property of the navigator object.

a) browNum
b)browVersion
c)appName
d)appVersion

In internal branching, each piece of DHTML code is enclosed in a(n) _____ statement

a) For...Then
b) If...Else
c) While...Do
d) Do...Until

_____ variables contain values that are accessible from any function in the API or in the Web page.

a) Global
b) Internal
c) External
d) Relative

To control overlapping objects, JavaScript uses the _____ property.

a) z-index
b) zIndex
c) visibility
d) layer

The _____ properties indiciate an object's position in a layer relative to the current object.

a) top and bottom
b) above and below
c) layerup and layerdown
d) up and down

Which of the following is a value for an object's visibility in Internet Explorer?

a) visible and hidden
b) show and hide
c) reveal and hide
d) shown and hidden

The method for having JavaScript execute a command after a specified time delay uses the _____ command.

a) delay
b) setDelay
c) delay Time
d) setTimeout

The command to cancel a time interval command is _____.

a) setNoInterval();
b) clearTimeout();
c) clearInterval();
d) noInterval();

The interval in the setInterval command is measured in _____.

a) seconds
b) milliseconds
c) minutes
d) nanoseconds

To use path animation, you store the x and y coordinate values in _____.

a) volumes
b) constructs
c) indices
d) arrays



True/False Questions


Question 31

Animated GIF's and Java applets typically load very quickly and are a popular way of adding dynmic content to a page.

a) The statement above is TRUE.
b) The statement above is FALSE.


Since the beginning of the development of HTML, Web page authors have had the ability to create dynamic Web pages.

a) The statement above is TRUE.
b) The statement above is FALSE.


A negative left value places the object to the left of the left edge.

a) The statement above is TRUE.
b) The statement above is FALSE.


A positive top value places an object above the top edge.

a) The statement above is TRUE.
b) The statement above is FALSE.


The z-index value can only be used to layer objects within the same parent element

a) The statement above is TRUE.
b) The statement above is FALSE.


Internet Explorer supports all four overflow attribute values

a) The statement above is TRUE.
b) The statement above is FALSE.


When you use the clip attribute, anything that lies outside the boundry of the rectangle is hidden

b) The statement above is TRUE.
a) The statement above is FALSE.


The document object model is a hierachy, with the document object at the top of the tree

a) The statement above is TRUE.
b) The statement above is FALSE.


Most browsers and browser versions offer a complete DOM

a) The statement above is TRUE.
b) The statement above is FALSE.


You can only have one time-delayed command running at a time

a) The statement above is TRUE.
b) The statement above is FALSE.



Fill-in-the-Blank


Fill in the Blank with the word(s) that best fits the definition:

(hint: use vocabulary from the checkboxes below)

Question 41. DHTML stands for HTML.


Question 42. CSS-P stands for CSS-


Question 43. Absolute, relative, fixed and static are types of in CSS.


Question 44. The attribute indicates the location of an object's top edge when it is positioned.


Question 45. A(n) left value places an object to the right of the left edge of the parent window.


Question 46. To specify your own stacking order, use the style attribute.


Question 47. Visible, inherit, and hidden are all values of the attribute.


Question 48. If you want to hide an object and have it take up no space on the page, use the display attribute with the value of


Question 49. Element are arrays of all the elements of a particular type within the Web document.


Question 50. The browser type can be retrieved from the appName property of the object.





I have


Please add a comment below



The 'Muddy Water' Issues that I need help on are as follows:





I need class review on the following vocabulary words from this chapter:

word1 word2 word3 word4 word5

word6 word7 word8 word9 word10

word11 word12 word13 word14 word15


word16 word17 word18 word19 word20



When you have completed this quiz, press the ALL DONE-CHECK TEST button below to check the test! Then you may go back and change the incorrect answers before you submit the test. You may check the answers as many times as you need until you achieve a perfect grade. Sometimes the pop-up box does not appear when you click on the button after checking the test the first time. If this happens, minimize the test and the answer box will be behind the browser. close the box and maximize the test to continue checking the test and finally submitting it.



When you have finished checking the test, press the SUBMIT button to send answers to your instructor


Back to CGS 2820 Course Menu Page



Users whose browser does not support JavaScript, when you have completed this quiz click the submit button below to send answers to your instructor