Free 1D0-635 Exam Braindumps


  • Exam Code: 1D0-635
    Exam Title: 1D0-635 CIW JavaScript Specialist
  • Exam Provider: CIW
  • Exam Questions: 55
  • Updated On: 2-Feb-2025
QUESTION: 1
Assuming the function <body onload="DisplayName()"> is called, which script block wil 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(s): 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(s): C
QUESTION: 3
Which of the following demonstrate the correct syntax for the switch statement?

A. var myName= "Paul"
switch (myName){
2



Post your Comments and Discuss CIW 1D0-635 exam with other Community members:

1D0-635 Discussions & Posts