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. An HTML page contains no embedded JavaScript or CSS code. The body of the page contains only the following line of code. 

<p id="test">test</p> A CSS style sheet must be applied dynamically. The style must visibly change the appearance of the paragraph on the page. 

You need to apply a style the paragraph. 

Which line of code should you use? 

A. document.getElementById("test").style.border = "0"; 

B. document.getElementById("test").style.position = "static"; 

C. document.getElementById ("test").style.padding = "15px"; 

D. document.getElementById("test").style.top = "5px"; 

Answer:

Q2. You are developing an application that processes order information. Thousands of orders are processed daily. The application includes the following code segment. (Line numbers are included for reference only.) 

The application must: 

. Display the number of orders processed and the number of orders remaining . Update the display for every 25th record processed 

You need to develop the application to meet these requirements. 

Which line of code should you insert at line 04? 

A. if (!(counter % 25)) 

B. if (counter == 25) 

C. if (counter >> 25 == 0) 

D. if (counter >> 25 == 0) 

Answer: A

Q3. You develop a webpage. 

The webpage must display a grid that contains one row and five columns. Columns one, three, and five are the same width. Columns two and four are the same width, but much wider than columns one, three, and five. The grid resembles the following image: 

The grid must meet the following requirements: 

Each row must be tall enough to ensure that images are not cut off. 

Each row must contain five columns. 

The width of the columns must not change when the screen is resized or rotated. 

You need to define the style for the grid. Which CSS3 style should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Q4. You develop an HTML application that is located at www.adventure-works.com. The application must load JSON data from www.fabrikam.com. 

You need to choose an approach for loading the data. 

What should you do? 

A. Add a crossdomain.xml file to the second server. 

B. Configure Cross-Origin Resource Sharing (CORS) on the servers. 

C. Load the data in a JavaScript timeout callback. 

D. Reference the remote data as an XML resource. 

Answer: B

Q5. You are styling a box object on a page by using CSS3. You need to set the transparency of the object to 50%. Which two CSS3 styles will achieve the goal? (Each correct answer presents a complete solution. Choose two.) 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: BC 

Q6. 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. <span> 

B. <nav> 

C. <cable> 

D. <section> 

Answer:

Q7. You are developing a web page that will be divided into three vertical sections. The main content of the site will be placed in the center section. The two outer sections will contain advertisements. 

You have the following requirements: 

. The main content section must be set to two times the width of the advertising sections. 

. The layout must be specified by using the CSS3 flexible box model. 

You need to ensure that the visual layout of the page meets the requirements. 

Which CSS3 property should you use? 

A. box-orient 

B. box-flex-group 

C. box-flex 

D. box-direction 

Answer:

Q8. You develop an HTML5 application for a company. Employees must enter a personal identification number (PIN) in an INPUT element named SecurityCode to access their employee records. 

The SecurityCode element must meet the following requirements: 

Allow up to 6 digits. 

Do not display numbers as they are entered. 

Display the text Enter PIN Code before the user enters any data. 

You need to implement the SecurityCode element. 

Which HTML markup should you add to the application? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

E. Option E 

Answer: D

Q9. You are developing an HTML5 web application that displays stock information. 

The application loads information from a web service by using AJAX. 

The following code defines a Stock object and loads stock data. 

You need to implement the loadStock function. Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: A

Q10. You develop an HTML5 application that allows users to upload files from their local computers. 

The user interface must remain responsive during the upload. 

You need to implement the file upload functionality for the application. 

Which two actions should you perform? (Each correct answer presents a complete solution. Choose two.) 

A. Use an HTML form with a file type INPUT element that targets a hidden IFRAME element. 

B. Use a file type INPUT element, and then use the Web Storage API to upload the file. 

C. Use a FormData object and upload the file by using XMLHttpRequest. 

D. Register the file protocol by using protocol handler registration API and then upload the file by using XMLHttpRequest. 

E. Use the FileSystem API to load the file, and then use the jQuery post method to upload the file to the server. 

Answer: BD