microsoft 98-375 practice test

HTML5 Application Development Fundamentals

Last exam update: Nov 16 ,2024
Page 1 out of 10. Viewing questions 1-15 out of 146

Question 1

In HTML5, the autofocus attribute:

  • A. defines the cursor location when a form is first accessed. Most Votes
  • 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:

A

User Votes:
A 11 votes
50%
B 2 votes
50%
C 2 votes
50%
D 1 votes
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000
drjones2
7 months, 2 weeks ago

a defines


Question 2

You work as a developer at ABC.com. The ABC.com network consists of a single domain named ABC.com. ABC.com
makes use of HTML5 and CSS3 in their development process.
You have been instructed to make sure that multiple handlers are registered for a touch event by making use of a JavaScript
method.
Which of the following actions should you take?

  • A. You should consider making use of the addEventName method.
  • B. You should consider making use of the addEventID method.
  • C. You should consider making use of the addEventListener method.
  • D. You should consider making use of the addEvent method.
Answer:

C

User Votes:
A 3 votes
50%
B
50%
C 8 votes
50%
D 3 votes
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 3

You work as a senior developer at ABC.com. The ABC.com network consists of a single domain named ABC.com. ABC.com
makes use of HTML5 and CSS3 in their development process.
You are running a training exercise for junior developers. You are currently discussing an object of the Web Storage
specification that is designed for scenarios where the user is carrying out a single transaction.
Which of the following is the object being discussed?

  • A. foreignStorage
  • B. externalStorage
  • C. localStorage
  • D. sessionStorage
Answer:

D

User Votes:
A
50%
B 1 votes
50%
C 2 votes
50%
D 9 votes
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 4

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 property associated with various
Document Object Model (DOM) objects and methods. This property recovers the parent object in the document hierarchy.
Which of the following is the property being discussed?

  • A. The nodeName property.
  • B. The nodeType property.
  • C. The parent property.
  • D. The parentNode property.
Answer:

D


Explanation:
http://msdn.microsoft.com/en-us/library/ie/hh772281(v=vs.85).aspx

User Votes:
A
50%
B 4 votes
50%
C 1 votes
50%
D 7 votes
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 5

You work as a senior developer at ABC.com. The ABC.com network consists of a single domain named ABC.com. ABC.com
makes use of HTML5 and CSS3 in their development process.
You are running a training exercise for junior developers. You are currently discussing Scalable Vector Graphics (SVG). You
have reached the section that deals with presentation elements and their corresponding attributes and DOM interfaces.
Which of the following is included in this section?

  • A. Barriers.
  • B. One dimensional graphics.
  • C. Basic shapes.
  • D. Code
Answer:

C

User Votes:
A 4 votes
50%
B 2 votes
50%
C 6 votes
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 6

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

User Votes:
A 2 votes
50%
B 7 votes
50%
C 7 votes
50%
D 6 votes
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 7

Which two terms represent interfaces in the File API? (Choose two.)

  • A. Font
  • B. Blob
  • C. Keygen
  • D. FileList
Answer:

B D


Explanation:
The File Interface
This interface describes a single file in a FileList and exposes its name. It inherits from Blob.
IDL
[Constructor(Blob fileBits, [EnsureUTF16] DOMStringfileName)] interface File : Blob {
readonly attribute DOMString name; readonly attribute Date lastModifiedDate;
};

User Votes:
A 4 votes
50%
B 7 votes
50%
C 2 votes
50%
D 6 votes
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 8

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

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

A

User Votes:
A 6 votes
50%
B 2 votes
50%
C 2 votes
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 9

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

  • A. scroll
  • B. mouseup
  • C. blur
  • D. datareceived
  • E. hover
Answer:

A B E


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.

User Votes:
A 5 votes
50%
B 4 votes
50%
C 2 votes
50%
D 3 votes
50%
E 6 votes
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

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 technology that is described as a
language used to save configuration settings and information.
Which of the following is the technology being discussed?

  • A. CSS
  • B. XML
  • C. XAML
  • D. C++
Answer:

B

User Votes:
A 3 votes
50%
B 5 votes
50%
C 1 votes
50%
D 2 votes
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 11

You work as a senior developer at ABC.com. The ABC.com network consists of a single domain named ABC.com. ABC.com
makes use of HTML5 and CSS3 in their development process.
You are currently creating a page for ABC.com. You would like to place many HTML elements adjacent to one another.
You have to identify the CSS properties that could be used to achieve your goal.
Which of the following are suitable properties?

  • A. The position and background-position properties.
  • B. The position and float properties.
  • C. The float and list-style properties.
  • D. The background-position and list-style properties.
Answer:

B

User Votes:
A
50%
B 6 votes
50%
C 2 votes
50%
D 3 votes
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 12

Which HTML5 tag is used to display text with a fixed-width font and preserves both spaces and line breaks?

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

C

User Votes:
A 3 votes
50%
B
50%
C 6 votes
50%
D 1 votes
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 13

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 input attribute that
provides a way to set default text until focus is placed in an element.
Which of the following is the input attribute being discussed?

  • A. The pattern HTML5 input attribute.
  • B. The required HTML5 input attribute.
  • C. The placeholder HTML5 input attribute.
  • D. The draft HTML5 input attribute.
Answer:

C

User Votes:
A
50%
B
50%
C 7 votes
50%
D 1 votes
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 14

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

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

B

User Votes:
A
50%
B 7 votes
50%
C 1 votes
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 15

Which code fragment will display an image file while the video is downloading?

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

B

User Votes:
A 1 votes
50%
B 5 votes
50%
C 2 votes
50%
D 2 votes
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000
To page 2