help4HW3

help4HW3 - COP 3813 Internet Computing Hints for HW#3 Dr...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
COP 3813 Internet Computing Hints for HW#3 Dr. Sam Hsu Florida Atlantic University
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 Two HTML Files ± In need of two html files ± webExam.html ± For introduction part ± takeTest.html ± For exam part ± Note: This filename can be user-defined.
Background image of page 2
3 webExam.html ± To prevent “back” to introduction ± Add the following statement to <head> javascript:window.history.forward(1); ± To take a test ± Add a link similar to the following to <body> <a href = “takeTest.html”> Take Test</a>
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
4 takeTest.html (1/7) ± In need of declaring 3 arrays in <script> ± One for questions: questions[10] ± One for correct answers: cans[10] ± One for user answers: uans[10]
Background image of page 4
takeTest.html (2/7) ± Some example statements for initializing arrays: ± questions[0] = “Where is FAU Located?”; ± questions[1] = “Is FAU a state Univ?”; . . . ± cans[0] = “Boca Raton”; ± cans[1] = “Yes”; . . . ± uans
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 07/13/2011 for the course COP 3813 taught by Professor Staff during the Spring '08 term at FAU.

Page1 / 10

help4HW3 - COP 3813 Internet Computing Hints for HW#3 Dr...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online