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

Q2. You are developing an HTML5 web page. 

The appearance of the text box must change when a user moves the focus to another element on the page. 

You need to develop the page to respond to user action. 

Which line of code should you use? 

A. <input type="text" onblur="resetStyle(this);" /> 

B. <input type="text" onfocus="resetStyle(this);" /> 

C. <input type="text" onreset="resetStyle(this);" /> 

D. <input type="text" onselect="resetStyle(this);" /> 

Answer:

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

You need to use the text-transform CSS property. 

Which values are valid for the text-transform property? 

A. hidden 

B. blink 

C. capitalize 

D. line-through 

Answer:

Q4. You implement an application by using HTML5 and JavaScript. You create a webpage that contains the following HTML: 

The application must place a border on only the first UL element that is contained in the DIV element. 

You need to update the webpage. 

What should you do? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Q5. You are creating a JavaScript object that represents a customer. 

You need to extend the Customer object by adding the GetCommission method. 

You need to ensure that all future instances of the Customer object implement the GetCommission method. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: D

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

Q7. You are developing an application that consumes an external web service that returns the latest stock rate. 

The application has two methods: 

. The getResults() method makes an AJAX web service request 

. The ShowRate() method displays the stock rate from the web service response You need to ensure that the ShowRate() method always displays the latest stock rate. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

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

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

Users must enter a valid integer value into the text box. 

You need to validate the data type that is received from the input element. 

Which two code segments should you include on the webpage? (Each correct answer presents a complete solution. Choose two.) 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

E. Option E 

Answer: AB

Q9. You are creating a blog site by using HTML5 and JavaScript. An inline frame enables users to post comments. It is possible for users to inject malicious scripts into their comments. 

You need to minimize the ability for malicious scripts to execute on the site. 

Which line of code should you use? 

A. <iframe sandbox src="frame1.htmlnX/iframe> 

B. <iframe seamless="allowscripts" src="frame1.html"<>/iframe> 

C. <iframe seamless src="frame1.html"></iframe> 

D. <iframe sandbox="allowscripts" src"frame1.html"x/iframe> 

Answer: A

Q10. You are creating an HTML5 application that allows users to play video on a page by using the VIDEO element. 

You need to enable the user to start, stop, and pause the video. 

Which line of code should you add to the page? 

A. <video id= "myVideo" height="320" width="400" src="myVideo.vtt" contextmenu="pauseplay"> </video> 

B. <video id="myVideon heigh"="320" width="400" src="myVideo.vtt" controls> </video> 

C. <video _d="myVideon height="320" width="400" src="myVideo.vtt" autoplay> </video> 

D. <video id="myVideo" height="320" width="400" src="myVideo.vtt" contextinenu="Startstopn> </video> 

Answer: B