100% Guarantee of 98-375 free exam materials and keys for Microsoft certification for IT specialist, Real Success Guaranteed with Updated 98-375 pdf dumps vce Materials. 100% PASS HTML5 Application Development Fundamentals exam Today!

Q35. Which two semantic tags are used to define layouts in HTML5? (Choose two.) 

A. <footer> 

B. <head> 

C. <progress: 

D. <section> 

Answer: A,D 

Explanation: New Semantic Elements in HTML5 Many of existing web sites today contains HTML code like this: <div id="nav">, <div class="header">, or <div id="footer">, to indicate navigation links, header, and footer. 

HTML5 offers new semantic elements to clearly define different parts of a web page: 

<header> 

<nav> 

<section> 

<article> 

<aside> 

<figcaption> 

<figure> 

<footer> 

Note: A semantic element clearly describes its meaning to both the browser and the developer. 

Examples of non-semantic elements: <div> and <span> - Tells nothing about its content. 

Examples of semantic elements: <form>, <table>, and <img> - Clearly defines its content. 


Q36. Which element should you use to rotate an SVG square? 

A. path 

B. ANIMATETRANSFORM 

C. ANIMATEMOTION 

D. AREA SHAPE 

Answer:


Q37. Which CSS3 code segment styles the text color of EM elements to be red and semi-transparent? 

blob.png

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Q38. Which CSS3 code fragment styles an H2 element only if it is a direct child of a DIV element? 

blob.png

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Q39. You add script tags to an HTML page. You need to update the text value within a specific HTML element. You access the HTML element by id. What should you do next? 

A. Use the createTextNode method. 

B. Use the appendChild method. 

C. Set the new text value with the setAttribute method. 

D. Use the firstChild property and set the new text value with the nodeValue property. 

Answer:


Q40. When you are working with the path API, what is the purpose of the clip method? 

A. pastes a shape object in from the system clipboard 

B. constrains the rendered output of the shape object 

C. copies the shape object to the system clipboard 

D. stores the shape object for later reference in script 

Answer:


Q41. Which item specifies resources for an offline HTML5 application? 

A. a CSS style sheet 

B. an HTML5 file 

C. a JavaScript file 

D. a cache manifest file 

Answer:


Q42. DRAG DROP 

Match the JavaScript code fragments with the HTML5 local storage functions. (To answer, drag the appropriate code fragment from the column on the left to its local storage function on the right. Each code fragment may be used once, more than once, or not at all. Each correct match is worth one point.) 

blob.png

Answer: 

blob.png


Q43. When you are using the GeoLocation API, which two arguments does the getCurrentPosition function utilize? (Choose two.) 

A. success callback 

B. MAC address 

C. browser type 

D. ip address 

E. failure callback 

Answer: D,E 

Explanation: The getCurrentPosition() method returns an object if it is successful. The latitude, longitude and accuracy properties are always returned.The second parameter of the getCurrentPosition() method is used to handle errors. It specifies a function to run if it fails to get the user's location. 

Note: 

* The HTML5 Geolocation API is used to get the geographical position of a user. 

* The getCurrentPosition() method returns an object if it is successful. The latitude, longitude and accuracy properties are always returned. 


Q44. Which code fragment prepares the HTML5 application to be used offline? 

blob.png

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Q45. In CSS, the flow-into property deposits: 

A. the flow into the content. 

B. the regions into a flow. 

C. the flow into the regions. 

D. content into the flow. 

Answer:


Q46. You need to retrieve a value from local storage by using the key "aardvark." Which code fragment should you use? 

blob.png

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Q47. Which two code segments declare JavaScript functions? (Choose two.) 

A. varfunct= (a); 

B. function Foo(a){ 

… 

C. var a=new Foo(); 

D. Foo=function(a){ 

...} 

Answer: C,D 

Explanation: Example: 

function add(x, y) { 

return x + y; 

var t = add(1, 2); 

alert(t); //3 

Example: 

//x,y is the argument. 'returnx+y' is the function body, which is the last in the argument list. 

var add = new Function('x', 'y', 'return x+y'); 

var t = add(1, 2); 

alert(t); //3 

Incorrect: 

Not A: funct keyword not used in JavaScript 


Q48. The variable named "ctx" is the context of an HTML5 canvas object. What does the following code fragment draw? ctx.arc(x, y, r, 0, Math.PI, true); 

A. a circle at the given point 

B. a square at the given point 

C. a semi-circle at the given point 

D. a line from one point to another 

Answer:


Q49. Which are two features of SVG? (Choose two.) 

A. uses high performance pixel-based graphics 

B. can be modified by using CSS 

C. uses high performance raster-based graphics 

D. can be modified by using JavaScript 

Answer: C,D 

Explanation: 

Note: 

SVG stands for Scalable Vector Graphics 

SVG defines the graphics in XML format 

SVG graphics do NOT lose any quality if they are zoomed or resized 

Every element and every attribute in SVG files can be animated 

SVG is a W3C recommendation 


Q50. You create an interface for a touch-enabled application. 

During testing you discover that some touches trigger multiple input areas. 

Which situation will cause this problem? 

A. The touch screen is not calibrated. 

B. The input areas are too close together. 

C. The defined input areas are too small. 

D. The input areas are semi-transparent. 

Answer:


Q51. What is the default value of the CSS position property? 

A. fixed 

B. absolute 

C. static 

D. relative 

Answer: