aiotestking uk

70-480 Exam Questions - Online Test


70-480 Premium VCE File

Learn More 100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours

Q1. You need to test the value of the following variable in JavaScript. 

var length = "75"; 

A block of code must execute if the length equals 75 regardless of the data type. 

You need to use the statement that meets this requirement. 

Which lines of code should you use? (Each correct answer presents a complete solution. Choose two.) 

A. if (length = = = 75) 

B. if (length = = 75) 

C. if (length! = 75) 

D. if (length = = "75") 

Answer: BD 

Q2. You are creating a web form that users will use to enter their personal information. The form includes the following HTML. 

<body>

  <table>

<tr>

  <td>Item</td>

  <td>Input</td>

  <td>Current</td>

</tr>

<tr>

  <td>First Name</td>

<td>

  <input type=”text”/>

</td>

<td></td>

</tr>

<tr>

<td>Last Name</td>

<td>

  <input type=”text”/>

</td>

<td></td>

</tr>

</table>

</body>

You have the following requirements: 

. When a user enters an input box, the cell on the right must turn green. 

. When a user leaves an input box, the cell on the right must turn white. 

You need to create the web form to meet these requirements. Which code segment should you use? 

A. Option A B. Option B 

C. Option C 

D. Option D 

Answer:

Q3. You are modifying a blog site to improve search engine readability. 

You need to group relevant page content together to maximize search engine readability. 

Which tag should you use? 

A. <tbody> 

B. <article> 

C. <div> 

D. <span> 

Answer:

Q4. You are modifying a blog site to improve search engine readability. 

You need to group relevant page content together to maximize search engine readability. 

Which tag should you use? 

A. <article> 

B. <table> 

C. <div> 

D. <span> 

Answer:

Q5. You are creating a rotating image of a company logo. 

The logo must spin on a horizontal axis and on a vertical axis. 

You need to use the least amount of development effort to meet the requirement. 

What should you do? 

A. Create an Image Spinner object, load the image into the spinner, and set the horizontal and vertical rotation properties. 

B. Create a Canvas Globe transform and set the image as the globe object. Set the horizontal and vertical rotation properties. 

C. Create a single Canvas 3D transform and load the image into it. Set the rotation properties. 

D. Create a Canvas 2D transform and set the image to rotate horizontally and vertically. 

Answer: C

Q6. You are developing an HTML5 web application and are styling text. 

You need to use the text-transform CSS property. 

Which value is valid for the text-transform property? 

A. lowercase 

B. 20px 

C. line-through 

D. italic 

Answer:

Q7. You troubleshoot a webpage that contains the following HTML markup: (Line numbers are included for reference only.) 

The webpage also contains the following JavaScript function named someEvent() that is declared in the HEAD section of the HTML: 

Function someEvent() { Alert('someEvent fired!'); } 

The JavaScript function named someEvent() must run only when the user clicks the DIV element, not the INPUT elements. 

You need to modify the webpage to invoke the JavaScript function named someEvent(). 

What should you do? (Each correct answer presents a complete solution. Choose two.) 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: AB

Q8. You are developing a web page by using HTML5 and C5S3. The page includes a <div> tag with the ID set to validate. 

When the page is rendered, the contents of the <div> tag appear on a line separate from the content above and below it. The rendered page resembles the following graphic. 

You need to ensure that the page is rendered to meet the requirement. 

Which line of code should you use? 

A. document.getElementById("validate").style.display = "inline"; 

B. document.getElementById("validate").style.margin = "0"; 

C. document.getElementById("validate").style.padding = "0"; 

D. document.getElementSyId("validate").style.display = "block"; 

Answer:

Q9. You develop an HTML5 chat application. 

You need to provide real-time updates to the messages that users post in the chat application. 

What should you do? 

A. Use get o to obtain data updates. 

B. Use a RESTful web service. 

C. Use WebSockets. 

D. Use ajaxo to obtain data updates. 

Answer: C