
Signature ____________________ Name _____________________
cs3wb_____
Student ID ___________________ Score:
Quiz 3
CSE 3
Winter 2007
Circle the correct answer.
1. In JavaScript, the + is the string concatenation operator when:
A. both operands are strings
B. the left operand is a string
C. the right operand is a string
D. all of the above
2. Which of the following HTML escape character sequences displays a space?
A.
B. <sp>
C. &space;
D. \sp
3. These characters are used to group multiple JavaScript statements together (i.e. โ if or if-else statement):
A. { }
B. < >
C. [ ]
D. ( )
4. Which of the following is an invalid JavaScript identifier/variable name:
A. First-Ten
B. First_And_10
C. First_And_Ten
D. FirstAndTen
5. The DOS/Windows command to display network information including your computer's Physical
Address is:
A. netconfig
B. ipinfo
C. netinfo
D. ipconfig
6. In JavaScript, the || operator means:
A. assignment
B. equality (equal to)
C. logical OR
D. inequality (not equal to)
(Over)