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 are developing a customer web form that includes the following HTML. 

<input id="txtValue" type="text" /> 

A customer must enter a valid age in the text box prior to submitting the form. 

You need to add validation to the control. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Q2. You are developing an application that consumes a Windows Communication Foundation (WCF) service. 

The application interacts with the service by using the following code. (Line numbers are included for reference only.) 

You need to authenticate to the WCF service. 

What should you do? 

A. At line 11, add the following lines of code. ,username: yourusername ,password: yourpassword 

B. At line 11, add the following line of code. ,credentials: prompt 

C. At line 06, replace the code with the following line of code. url: "http://contoso.com/Service.svc/GetCountry? Username=username&password=psssword", 

D. At line 11, add the following line of code. The username and password will be stored in an XML file. ,credentials: credentials.xml 

Answer:

Q3. You are developing application web form by using HTML5 and JavaScript. You need to prevent users from submitting form data more than once. Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Q4. 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. Capitalize 

B. Red 

C. 20px 

D. Italic 

Answer:

Q5. You are developing an application that analyzes population data for major cities in the United States. The application retrieves population statistics for a city by using a web service. 

You need to request data from the web service by using jQuery. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Q6. You are developing a web page that performs CPU-intensive calculations. A web worker processes these calculations on a separate background thread. The process is instantiated from the web page. 

You need to stop the web worker process after the calculations are completed. 

Which two actions can you perform to achieve this goal? (Each correct answer presents a complete solution. Choose two.) 

A. From the web page, call the close() method. 

B. From the web worker process, call the terminate() method. 

C. From the web page, call the terminate() method. 

D. From the web worker process, call the close() method. 

Answer: CD

Q7. 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

Q8. You develop an HTML application that contains a table that displays a list of products. The table is defined with the following HTML markup: 

You need to implement the CSS selectors to select the rows that must have a blue background. 

Which CSS selector should you use? 

A. thead:only-child, tbody:after, table:before 

B. tr [line |-0, 1, 3] 

C. tr:first-of-type, tr:last-of-type 

D. tr:first-line, tr:last-child 

Answer:

Q9. 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

Q10. You develop an HTML5 webpage that contains the following HTML markup: 

Users must receive a message after they click the Submit button if the text entered into the 

favoriteColor text box is fewer than 2 characters or greater than 10 characters. 

You need to implement the testLength() function. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: D