1D0-635 Exam: Thank You For Downloading 1D0-635 Exam PDF Demo
1D0-635 Exam: Thank You For Downloading 1D0-635 Exam PDF Demo
CIW
1D0-635 Exam
CIW JavaScript Specialist
https://www.certkillers.net/Exam/1D0-635
https://www.certkillers.net
Questions & Answers PDF Page 2
Question: 1
Assuming the function <body onload="DisplayName()"> is called, which script block will display Hello
Joe in the document window after you enter the name Joe?
A. <script type="text/javascript">
function DisplayName(void){
var YourName = window.prompt("What is your name?","Please enter your name");
document.write("Hello " + YourName);
}
</script>
B. <script type="text/javascript">
function DisplayName(){
var YourName = window.prompt("What is your name?","Please enter your name");
document.write("Hello " + YourName);
}
</script>
C. <script type="text/javascript">
function DisplayName(void){
var YourName = document.prompt("What is your name?",Please enter your name);
document.write("Hello " + YourName);
}
</script>
D. <script type="text/javascript">
function DisplayName(){
var YourName = document.prompt("What is your name?","Please enter your name");
document.write("Hello " + yourname);
}
</script>
Answer: B
Question: 2
Consider the following code fragment, which sets up the retrieval of an XML document named
fish.xml and calls a function named showFish(): var xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET", "fish.xml", true); xmlhttp.onreadystatechange = showFish(); xmlhttp.send();
Which line of code initializes the XMLHttpRequest object?
A. xmlhttp.send();
B. var xmlhttp = new XMLHttpRequest();
C. xmlhttp.open("GET", "fish.xml", true);
D. xmlhttp.onreadystatechange = showFish();
Answer: C
https://www.certkillers.net
Questions & Answers PDF Page 3
Question: 3
Which of the following demonstrate the correct syntax for the switch statement?
Answer: A
https://www.certkillers.net
Questions & Answers PDF Page 4
Question: 4
Consider the following code: <script type="text/javascript"> var v1 = "alpha"; function f () { var v2 =
"bravo"; alert (v1 + ", " + v2); } f(); v1="charlie"; alert (v1 + ", " + v2); </script> What is the expected
result when you run this script in the browser?
Answer: B
Question: 5
A. this
B. that
C. 2that
D. 2this
Answer: B
https://www.certkillers.net
Questions & Answers PDF Page 5
https://www.certkillers.net/Exam/1D0-635
https://www.certkillers.net