CSC 370: The Week beginning Feb. 8
Homework:
ArrayAssignment.zip
Due: Feb. 16
Tuesday:
StopWatch.htm
uses JavaScript's
setInterval
, i.e. a timer
DiceRoll.htm
(uses images
Die1.gif
,
Die2.gif
,
Die3.gif
,
Die4.gif
,
Die5.gif
,
Die6.gif
and uses JavaScript's
Math.random
and
Math.floor
)
DiceRoll2.htm
(uses two types of timers
setInterval
and
setTimeout
as well as
clearInterval
to repeatedly simulate the roll of two dice for a scond and then stop)
Heart2.htm
(uses the canvas element from HTML5 -- may not work in IE)
StateCapital.htm
(uses JavaScript's
Array
)
QuoteQuizRedo.htm
(uses array for answers)
QuoteQuizRedo2.htm
(grades whole quiz instead of question by question)
QuoteQuizRedo3.htm
(load quotes from an array)
QuoteQuizRedo4.htm
(shuffles up quotes)
Thursday:
Cancelled due to blizzard