[Free] Get all latest Microsoft 98-375 Actual Tests 81-90

Ensurepass

QUESTION 81

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

 

Correct Answer: DE

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:

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

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

 

 

 

 

QUESTION 82

You create an instance named “ac” of an accelerometer object. Which code fragment will retrieve a single update?

 

clip_image003

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: C

 

 

QUESTION 83

DRAG DROP

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

 

clip_image005

 

Correct Answer:

clip_image007

 

 

QUESTION 84

Which HTML5 tag is used to mark text that has been added to the original document?

 

A.

<q>

B.

<pre>

C.

<ins>

D.

<i>

 

Correct Answer: C

 

 

QUESTION 85

Which element should you use to rotate an SVG square?

 

A.

path

B.

ANIMATETRANSFORM

C.

ANIMATEMOTION

D.

AREA SHAPE

 

Correct Answer: B

 

 

QUESTION 86

Which three events are valid for the HTML CANVAS element? (Choose three.)

 

A.

scroll

B.

mouseup

C.

blur

D.

datareceived

E.

hover

 

Correct Answer: ABE

Explanation:

B:

You can also detect a mouse click on your canvas. Again, this is done with addEventListener. There are quite a few mouse events you can detect: mousedown, mouseup, mousemove, mouseout and mouseover.

 

E:

MouseHover Event Mouse Hover Event is a combination of two mouse events MouseOver and MouseOut so it makes easier for the developer to handle the hover event easily.

 

Note:

If you want to target a touch-enabled device like an iPad, iPhone, Android tablet or phone, etc, then you need the touch events. These events are touchstart, touchend, touchcancel, touchleave, touchmove.

 

 

QUESTION 87

Which HTML5 code fragment shows a way to validate numeric input as having a value from 1 to 100, inclusive?

 

clip_image008

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: D

 

 

QUESTION 88

Which code fragment will display the Play and Pause controls in the audio interface?

 

clip_image010

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: A

 

 

QUESTION 89

Which three code fragments define an HTML input control? (Choose three.)

 

clip_image011

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

E.

Option E

 

Correct Answer: CDE

Explanation:

HTML input types include:

button

checkbox

color

date

datetime

datetime-local

email

file

hidden

image

month

number

password

radio

range

reset

search

submit

tel

text

time

url

week

 

Note:

HTML Forms – The Input Element

The most important form element is the <input> element. The <input> element is used to select user information. An <input> element can vary in many ways, depending on the type attribute. An <input> element can be of type text field, checkbox, password, radio button, submit button, and more.

 

 

QUESTION 90

You work as a senior developer at ABC.com. The ABC.com network consists of a single domain named ABC.com. You are running a training exercise for junior developers. You are currently discussing a CSS property that specifies whether the object allows floating objects on its left side, right side, or both, so that the next text displays past the floating objects. Which of the following is the property being discussed?

 

A.

The z-index property.

B.

The vertical-align property.

C.

The position property.

D.

The clear property.

 

Correct Answer: D

 

Instant Access to Download Testing Software & PDF File for Microsoft 98-375 Real Exam

Instant Access to Try Microsoft 98-375 Free Demo