1D0-735 Dumps

1D0-735 Braindumps 1D0-735 Real Questions 1D0-735 Practice Test

1D0-735 Actual Questions


killexams.com


CIW


1D0-735


CIW JavaScript Specialist


https://killexams.com/pass4sure/exam-detail/1D0-735

Question: 103


What is the expected result of executing the following code block in a Web browser?



  1. A pop-up alert box will display lunch tune

  2. A pop-up alert box will display Work time.

  3. There is an error in the code, no pop-up alert box will appear

  4. Two pop-up alert boxes will appear, one will display Lunch time and one will display work time.


Answer: D Question: 104

Consider the following code:



Which of the following is true based on the above code?


  1. fever = (temp > 98.7) ? "a fever": "no fever"; is not a valid statement

  2. Entering 98.7 results in the statement. "You have no fever "

  3. The default value of 0 will be displayed when the page loads

  4. The checktemp function will not run because it was called upon before it was defined


Answer: A Question: 105

Consider the following code:


Ginger needs to write a script to display a pop-up alert box with the type of credit card the user selected Which of the following code blocks should she use?


A)



B)



C)



D)



  1. Option A

  2. Option B

  3. Option C

  4. Option D


Answer: C Question: 106

Consider the following code:



What does line 9 do?


  1. Nothing it must written as supportTicket. prototype, this, resolve = resolve; to add the properly resolved to the custom supportTicket object

  2. it add the property resolved to the original instantiated custom supportTicket object ticket1.

  3. it add the property resolved to the newly instantiated custom supportTicket object ticket1.

  4. it add the property resolved to all instances instantiated custom supportTicket object ticket1 and ticket2.


Answer: B Question: 107

Juan is testing his JavaScript application, which includes the following code:



Assuming Juan enters August for his birth month and his name for firstname, what is the value of birthMonth after executing this code?


  1. August

  2. Juan was born in August

  3. Juan was born in August

  4. What month were you born? What is your first name?


Answer: A Question: 108

What is the expected result when executing the following scripts in a web browser?


  1. A pop-up alert box will display Fair followed by a pop-up alert box displaying Bad

  2. A pop-up alert box will display Poor

  3. There is an error in the code, no pop-up alert box will appear

  4. Two pop-up alert boxes will appear one will display Fair and one will display Poor


Answer: A Question: 109

Which script will display Configurations, you won! In the browser when the script is run? A)


B)



C)



D)



  1. Option A

  2. Option B

  3. Option C

  4. Option D


Answer: B Question: 110

Kirken needs to write a script to construct custom objects that store user account information such as a username. password and e-mail address for a Web site.


What should he add to the following code to set these properties?



A)



B)



C)



D)



  1. Option A

  2. Option B

  3. Option C

  4. Option D


Answer: C Question: 111

Consider the following code:



What is the expected result of this script?


  1. The word "Welcome" will be displayed in a prompt when the page loads

  2. A welcome message will appear when the page loads

  3. When you click the alert a welcome message will appear

  4. When you click the welcome message a welcome alert will load


Answer: C Question: 112

Jaime needs to write a script to remove all the non-digit characters from a phone number so that all that remains are the numbers She knows that she will need to use a regular expression to search for non-digit characters and can use a method to remove all the non-digit characters.


Which code should she use? A)


B)



C)



D)


  1. Option A

  2. Option B

  3. Option C

  4. Option D


Answer: B Question: 113

Consider the following code:



What change should be made to ensure that it correctly displays the value of name in all uppercase letters?


  1. Line 2 should be changed to name = name . toUpperCase () ;

  2. Line 2 should be changed to name .prototype . toUpperCase () ;

  3. Line 3 should be changed to document. write (NAME) :

  4. Line 1 should be changed to var name = new sting("Jaccb");


Answer: C Question: 114

Consider the following code:



What text will display in the alert dialog box?


  1. Ear J

  2. Ar Jo

  3. Ear Jo

  4. Ar J


Answer: A Question: 115

What basis code is needed to define the JavaScript function avgGrades?


  1. Function avgGrades () {}

  2. avgGrades function ()

  3. avgGrades (){ }

  4. var = function avgGrades () {}