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 develop a webpage with a standard input control by using HTML5. 

The input control must display the text Enter your given name, as shown below: 

When a user selects the input control, the text must disappear. 

You need to create the input control. 

Which input control should you use? 

A. <input name="GivenName" value=" Enter your given name" /> 

B. <input name ="GivenName" default=" Enter your given name" /> 

C. <input name="GivenName" text=" Enter your given name" /> 

D. <input name="GivenName" placeholder=" Enter your given name" /> 

Answer: D

Q2. You are developing an HTML5 page. 

You need to add author and copyright information. 

Which tag should you use? 

A. <aside> 

B. <header> 

C. <footer> 

D. <section> 

Answer:

Q3. You are developing a web page that enables customers to upload documents to a web server. The page includes an HTML5 PROGRESS element named progressBar that displays information about the status of the upload. 

The page includes the following code. (Line numbers are included for reference only.) 

An event handler must be attached to the request object to update the PROGRESS element on the page. 

You need to ensure that the status of the upload is displayed in the progress bar. 

Which line of code should you insert at line 03? 

A. xhr.upload.onloadeddata = 

B. xhr.upload.onplaying = 

C. xhr.upload.onseeking = 

D. xhr.upload.onprogress = 

Answer:

Q4. You are developing an HTML5 web application. The application loads data from a web service by using AJAX. The application displays the data by calling the displayData function. The data is loaded by using the following code. 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: B

Q5. You develop an HTML5 webpage. You have the following JavaScript code: 

You need to handle the click event when a user clicks the show/Dialog button. 

Which code segment should you insert at line 02? 

A. $ (document).trigger("click", "#showDialog", function (e) { 

B. $ (document).on ("#showDialog", "click", function (e) { 

C. $(document).toggle("click", "#showDialog", function (e) { 

D. $(document).on("click", "#showDialog", function (e) { 

Answer: D

Q6. You are creating a JavaScript function that displays the name of a web application. 

You declare the following button element. 

<input type="button" id= "About" value="About" /> 

When a user clicks the button, a JavaScript function named About must be called. 

You need to create an event handler that calls the About function when the button is clicked. 

Which two code segments can you use? (Each correct answer presents a complete solution. Choose two.) 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: CD 

Q7. You are developing a web application that can function when users are not connected to the Internet. 

You need to check the Internet connectivity status of a user's browser. 

Which method should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Q8. You are troubleshooting a web page that includes the following code segment. 

You need to evaluate the value of the variable x. 

What will be displayed in the user interface? 

A. 0 

B. 1 

C. 2 

D. An error 

Answer: A

Q9. You are creating a JavaScript function to display the current version of a web application 

You declare a button as follows. 

<input type="button" id="About" value="About" /> 

You need to create an event handler for the button by using an anonymous function. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Q10. You are developing a web page that will contain an animated logo. The web page currently has a logo image on a canvas object. 

You need to spin the logo image on the canvas. 

Which method should you use? 

A. context.rotate() 

B. context.spin() 

C. context.translatePosition() 

D. context.setTransform() 

Answer: A