When a user views a page containing a JavaScript program, which machine actually executes the script?
The User's machine running a Web browser
The Web server
A central machine deep within Netscape's corporate offices
None of these
Which operator can be used to performs a zero-fill right-shift operation on two operands and assigns the result to the first operand?
>>>=
>===
==>>
=>>>
Using _______ statement is how you test for a specific condition.
Select
If
Switch
For
What is the output of this expression? x = 2 + "2"; document.write(x);
22
4
2
Syntax Error
Javascript is a ______________
server side scripting language.
client side scripting language.
Either (A) or (B)
Neither (A) nor (B)
What is the correct JavaScript syntax to write "Hello World"?
System.out.println("Hello World")
println ("Hello World")
document.write("Hello World")
response.write("Hello World")
Which of the following is not a JavaScript datatype?
Boolean
Number
String
Function
_____ tag is an extension to HTML that can enclose any number of JavaScript statements.
< SCRIPT >
< BODY >
< HEAD >
< TITLE >
Which operator can be used to performs a bitwise exclusive OR opration on two operands and assigns the result to the first operand?
&*
=^
^=
*&
Which of the following attribute can hold the JavaScript version?
LANGUAGE
SCRIPT
VERSION