Download CIW.1D0-635.Pass4Sure.2019-09-01.55q.tqb

Download Exam

File Info

Exam CIW JavaScript Specialist
Number 1D0-635
File Name CIW.1D0-635.Pass4Sure.2019-09-01.55q.tqb
Size 852 KB
Posted Sep 01, 2019
Download CIW.1D0-635.Pass4Sure.2019-09-01.55q.tqb


How to open VCEX & EXAM Files?

Files with VCEX & EXAM extensions can be opened by ProfExam Simulator.

Purchase

Coupon: MASTEREXAM
With discount: 20%






Demo Questions

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?


  1. <script type="text/javascript"> 
    function DisplayName(void){ 
    var YourName = window.prompt("What is your name?","Please enter your name"); 
    document.write("Hello " + YourName); 
    </script>
  2. <script type="text/javascript"> 
    function DisplayName(){ 
    var YourName = window.prompt("What is your name?","Please enter your name"); 
    document.write("Hello " + YourName); 
    </script>
  3. <script type="text/javascript"> 
    function DisplayName(void){ 
    var YourName = document.prompt("What is your name?",Please enter your name); 
    document.write("Hello " + YourName); 
    </script>
  4. <script type="text/javascript"> 
    function DisplayName(){ 
    var YourName = document.prompt("What is your name?","Please enter your name"); 
    document.write("Hello " + yourname); 
    </script>
Correct 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?


  1. xmlhttp.send();
  2. var xmlhttp = new XMLHttpRequest();
  3. xmlhttp.open("GET", "fish.xml", true);
  4. xmlhttp.onreadystatechange = showFish();
Correct answer: C



Question 3

Which of the following demonstrate the correct syntax for the switch statement?


  1. var myName= "Paul" 
    switch (myName){ 
    case "Peter" 
    document.write("My name is Peter.<br />") 
    break 
    case "Paul" 
    document.write("My name is Paul.<br />") 
    break: (default);
    document.write("I do not have a name.<br />") 
    }
  2. var myName= "Paul" 
    switch (myName){ 
    case (Peter) 
    document.write("My name is Peter.<br />") 
    break 
    case "Paul" 
    document.write("My name is Paul.<br />") 
    break: (default);
    document.write("I do not have a name.<br />") 
    }
  3. var myName= "Paul" 
    switch (myName){ 
    case “Peter” 
    document.write("My name is Peter.<br />") 
    break 
    case (Paul) 
    document.write("My name is Paul.<br />") 
    break; 
    case: (default);
    document.write("I do not have a name.<br />") 
    }
  4. var myName= "Paul" 
    switch (myName){ 
    case (Peter) 
    document.write("My name is Peter.<br />") 
    break 
    case (Paul) 
    document.write("My name is Paul.<br />") 
    break; 
    case: (default);
    document.write("I do not have a name.<br />") 
    }
Correct answer: A









PROFEXAM WITH A 20% DISCOUNT

You can buy ProfExam with a 20% discount!



HOW TO OPEN VCEX FILES

Use ProfExam Simulator to open VCEX files