Back to schedule page
Prev Next
Quiz Number 6

SWE 432, Fall 2011
October 13
 

Print your name on the right side of the page, above the line. Then answer the questions as concisely as you can. Please write neatly; if I can't read it I have to mark it wrong.

  1. (4 pts.) Which of the following are true about JavaScript? Answer each with either a T=true or F=false:
    1.      JavaScript is not strongly typed.
    2.      Users can use forms and submit data without running the JavaScript.
    3.      JavaScript is a subset of Java.
    4.      JavaScript is executed on the client.


  2. (3 pts.) From the users' perspective, what is the purpose of the label tags in the following form?
        <form>
          <input type="radio" name="County" id="Fairfax" value="Fairfax" />
            <label for="Fairfax">Fairfax</label>
          <input type="radio" name="County" id="Loudon" value="Loudon" />
            <label for="Loudon">Loudon</label>
          <input type="radio" name="County" id="Alexandria" value="Alexandria" />
            <label for="Alexandria">Alexandria</label>
        </form>
        


  3. (3 pts.) From the users' perspective, what does the following JavaScript function do?
          <script type="text/javascript">
            function F1 ()
            {
              document.formA.age.focus();
            }
          </script>
         



© Jeff Offutt, 2001-2011, all rights reserved. This document is made available for use by GMU students of SWE 432. Copying, distribution or other use of this document without express permission of the author is forbidden. You may create links to pages in this web site, but may not copy all or part of the text without permission of the author.