Act now and download your Microsoft 98-375 test today! Do not waste time for the worthless Microsoft 98-375 tutorials. Download Replace Microsoft HTML5 Application Development Fundamentals exam with real questions and answers and begin to learn Microsoft 98-375 with a classic professional.

Q31. Web Workers define an API for: 

A. Publishing frequently updated works for syndication. 

B. Running scripts in the background, 

C. Bi-directional, full-duplex communications over a single TCP socket. 

D. Distributing load across multiple web servers. 

Answer:


Q32. DRAG DROP 

Match the HTML5 input attributes to the corresponding descriptions. (To answer, drag the appropriate attribute from the column on the left to its description on the right. Each attribute may be used once, more than once, or not at all. Each correct match is worth one point.) 

\"blob.png\"/

Answer: 

\"blob.png\"/


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


Q34. Which CSS position value is used to position an element relative to the browser window? 

A. position: relative; 

B. position: absolute; 

C. position: static; 

D. position: fixed; 

Answer:


Q35. Which two CSS properties can be used to position multiple HTML elements next to one another? (Choose two.) 

A. display 

B. position 

C. overflow 

D. float 

Answer: B,D 

Explanation: CSS position Property 

The position property specifies the type of positioning method used for an element (static, 

relative, absolute or fixed). 

CSS float Property 

The float property specifies whether or not a box (an element) should float. 


Q36. Which term describes the canvas API? 

A. xml-based 

B. vector-based 

C. retained-mode 

D. immediate-mode 

Answer:


Q37. DRAG DROP 

Match the JavaScript objects to the corresponding characteristics or methods. (To answer, drag the appropriate JavaScript object from the column on the left to its characteristic or method on the right. Each JavaScript object may be used once, more than once, or not at all. Each correct match is worth one point.) 

\"blob.png\"/

Answer: 

\"blob.png\"/


Q38. In HTML5, the autofocus attribute: 

A. defines the cursor location when a form is first accessed. 

B. controls the movement between fields in a form. 

C. adds a default value to the field in a form. 

D. enables one field and disables all others. 

Answer:


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


Q40. Which three components define the URL used for localStorage data in HTML5? (Choose three.) 

A. scheme 

B. user credentials 

C. hostname 

D. unique port 

E. query 

Answer: A,C,D 

Explanation: localStorage is also the same as globalStorage[location.hostname], with the exception of being scoped to an HTML5 origin (scheme + hostname + non-standard port) and localStorage being an instance of Storage 

* HTML5 local storage saves data in string form as key-value pairs. If the data you wish to save is not string data, you are responsible for conversion to and from string when using LocalStorage.