microsoft 98-375 practice test

HTML5 Application Development Fundamentals


Question 1

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 an event of the HTML CANVAS
element that transpires when the text content of an element is altered via the user interface.
Which of the following is the event being discussed?

  • A. The input event.
  • B. The mouseup event.
  • C. The change event.
  • D. The load event.
Answer:

A

Discussions

Question 2

Which two events are supported on touch devices? (Choose two.)

  • A. click
  • B. touchstart
  • C. selection
  • D. drag
Answer:

A B

Explanation:
when the user touches the screen both touch and click events will occur.
The touchstart event
A user agent must dispatch this event type to indicate when the user places a touch point on the touch surface.
Note:
The main touch events are:
touchstart triggered when a touch is detected touchmove triggered when a touch movement is detected
touchend triggered when a touch is removed e.g. the users finger is removed from the touchscreen touchcancel triggered
when a touch is interrupted, e.g. if touch moves outside of the touch-capable area

Discussions

Question 3

An HTML5 application can run without an Internet connection if:

  • A. the application is converted to an executable.
  • B. the .NET Framework is installed on the client computer.
  • C. the application specifies the use of a client-side SQL database.
  • D. the application specifies the use of an ApplicationCache interface.
Answer:

D

Discussions

Question 4

You need to ensure the scope of a variable named j is limited to the block of a single function named foo(). Which JavaScript
code fragment will accomplish this?

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D
Answer:

A

Discussions

Question 5

You add a div object to a page.
Which CSS3 code fragment will add a scrollbar only if the content exceeds the width or height of the object?

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D
Answer:

A

Discussions

Question 6

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 method of the File API that returns a
new Blob object with bytes ranging from its optional start parameter up to but not including its optional end parameter.
Which of the following is the method being discussed?

  • A. The Item method.
  • B. The Append method.
  • C. The readAsBlob method.
  • D. The Slice method.
Answer:

D

Discussions

Question 7

Which HTML5 tag defines superscript text?

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D
Answer:

C

Discussions

Question 8

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 an HTML5 element that identifies a
header cell in a table.
Which of the following is the element being discussed?

  • A. The th element.
  • B. The form element.
  • C. The tBody element.
  • D. The fieldset element.
Answer:

A

Discussions

Question 9

On a Windows touch device, which gesture serves the same purpose as a right-click of the mouse?

  • A. swipe
  • B. pinch
  • C. tap
  • D. hold
Answer:

D

Discussions

Question 10

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 method associated with the
localStorage object. The method can be used to write data to local storage.
Which of the following is the method being discussed?

  • A. The initStorageEvent method.
  • B. The process method.
  • C. The setItem method.
  • D. The setImmediate method.
Answer:

C

Discussions
To page 2