Quiz4.fa05

Quiz4.fa05 - Signature _ Student ID _ Quiz 4 CSE 3 Fall...

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

View Full Document Right Arrow Icon
Signature ____________________ Name _____________________ c s 3 f _ _ _ _ _ Student ID ___________________ Score: Quiz 4 CSE 3 Fall 2005 Circle the correct answer. 1. In JavaScript, variable declarations are placed: A. inside <head> </head> tags B. in the parens ( ) of a function C. anywhere in a program D. inside <script> </script> tags 2. All of the following are illegal JavaScript identifiers (variable or function names) except : A. Nine-Inch-Nails B. 9" Nails C. 9_Inch_Nails D. N9_1nch_N8ls 3. In JavaScript, 17%5 is: A. 17 percent times 5 B . 2 C . 3 D. the same as 17/5 4. In the if statement – if ( exp ) – the exp part must be: A. an assignment statement B. a boolean statement C. a string D. an arithmetic expression (an expression using arithmetic operators like +, -, *, /) 5. Input controls like buttons using the <input> tag are usually enclosed in A. <script> </script> tags B. if or if-else statements C. <form> </form> tags D.
Background image of page 1

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

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

This note was uploaded on 04/30/2008 for the course CSE 3 taught by Professor Ord during the Fall '08 term at UCSD.

Page1 / 2

Quiz4.fa05 - Signature _ Student ID _ Quiz 4 CSE 3 Fall...

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

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