1. When initialize a Date object variable, you may use
a. var d = new Date(10-23-2005)
b. var d = new Date(10, 25, 2005)
c. var d = new Date(10/24/05)
d. var d = new Date(2005, 11, 2, 3, 30, 30)
2. Which of the following method is the key to a timer?
a. Window.onload()
b. Window.setTimeout()
c. Window.open()
d. Window.onclick()
3. To trigger a function repeatedly, we must use the setInterval() method.
True
False
4. How do you modify the Updating a Banner Advertisement example so it will keep updating the banner using the 3 image files repeatedly?
NormalHeading 1Heading 2Heading 3Heading 4Heading 5AddressFormatted 1234567 ArialArial BlackBook AntiquaCentury GothicComic SansCourier NewGaramondGeorgiaSymbolTahomaTimes New RomanVerdana
5. There is a Date object and a Time object in JavaScript representing date and time respectively.
True
False
Date, Time, and Timers in JavaScript?
1. d
2. b
3. False
4. Don't have the example, can't answer
5. False
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment