Java软件工程师面试题
Circle one or more options which are correct.
1. Why would someone want to use JavaScript on a Web page? (5 scores)
A. To react to events that occur with Web page use
B. To read and write HTML
C. To validate data in a Web form
D. To pass data to a Java applet program
E. To run a clock or timer in a Web page
2. Evaluate the following String method uses by writing the value of s after the evaluation (5 scores)
(write one value on the line to the right of each evaluation)
var str="Mix and Match"
A. s = ("x") __2
B. s = ("g") ___-1
C. s = ("M") ___0
D. s = ("a") ___9
E. s = ("and") ___4
3. How can someone properly open a second Web browser window with a JavaScript statement?(5 scores)
A. ("/")
B. openWindow("/")
C. (“/”)
D. ("/")
E. ("/")
4. Given the following valid HTML form, how would you assign the value typed into the owner
control to a variable ssn in a JavaScript statement?(5 scores)
<FORM Name=SSN Action=>
<INPUT Name=owner>
</FORM>
A. ssn = ;
B. ssn = ;
C. ssn = ;
D. ssn = ;
E. ssn = ;
5. After a JavaScript function runs the following two lines of code, what value does the variable x
Java工程师全英文面试题 来自淘豆网www.taodocs.com转载请标明出处.