Skip to main content

98-375 Real Exam Questions

HTML5 Application Development Fundamentals

146 questions available · Page 1 of 15

Updated Exam DumpsVerified AnswersPass Guarantee

Get Complete Exam Dumps
Question 1 Single choice

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);

  1. A

    a circle at the given point

  2. B

    a square at the given point

  3. C

    a semi-circle at the given point

  4. D

    a line from one point to another

Show answer and explanation

Correct answer: C

Question 2 Multiple choice

Which three are valid JavaScript variables? (Choose three.)

  1. A

    xyz1

  2. B

    .Int

  3. C

    int1

  4. D

    _int

  5. E

    1xyz

Show answer and explanation

Correct answers: A, C, D

Explanation

Variable names must begin with a letter or special variable with either $ or _
Variable names are case sensitive (y and Y are different variables)

Question 3 Single choice

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

  1. A

    Option A

  2. B

    Option B

  3. C

    Option C

  4. D

    Option D

Show answer and explanation

Correct answer: B

Question 4 Multiple choice

Which two outcomes will this code fragment accomplish? (Each correct answer presents a complete solution. Choose two.)

  1. A

    On pre-HTML5 browsers, the happy.wav file will not play, and instead Hello World will be displayed.

  2. B

    On an HTML5 browser that supports .wav files, the happy.wav file will be played and Hello World will be hidden.

  3. C

    On an HTML5 browser that supports .wav files, the happy.wav file will be played and Hello World will

    be displayed.

  4. D

    on pre-HTMLS browsers, the happy.wav file will play and Hello World will be hidden.

Show answer and explanation

Correct answers: A, B

Explanation

Audio on the Web Until now, there has not been a standard for playing audio files on a web page.

Today, most audio files are played through a plug-in (like flash). However, different browsers may have different plug-ins.

HTML5 defines a new element which specifies a standard way to embed an audio file on a web page: the
<audio> element.

Browser Support
Internet Explorer 9+, Firefox, Opera, Chrome, and Safari support the <audio> element.

Example:
<audio controls>
<source src="/vcedump/questions/original/horse.ogg" type="audio/ogg">
<source src="/vcedump/questions/original/horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
Question 5 Single choice

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 that controls the formatting and style of a document.

Which of the following is the technology being discussed?

  1. A

    CSS

  2. B

    HTML5

  3. C

    C#

  4. D

    C++

Show answer and explanation

Correct answer: A

Question 6 Single choice

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 HTML and CSS3 in their development process.

You have been instructed to develop an interface for a new ABC.com application that is touch-enabled.
You have been asked to make sure that multiple input areas are not triggered when a touch occurs.

Which of the following actions should you take?

  1. A

    You should consider making sure that the input areas is fully transparent.

  2. B

    You should consider making sure that the input areas is suitably spaced.

  3. C

    You should consider making sure that the size of the input areas is decreased.

  4. D

    You should consider making sure that the size of the input areas is increased.

Show answer and explanation

Correct answer: B

Question 7 Drag & drop

DRAG DROP

Match the CSS position property values to the corresponding descriptions. (To answer, drag each value from the column on the left to its description on the right. Each value may be used once, more than once, or not at all. Each correct match is worth one point.)

Question diagram
Show answer and explanation
Correct answer diagram
Question 8 Single choice

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 position property value that is used when an element is positioned relative to the first positioned ancestor.

Which of the following is the value being discussed?

  1. A

    The inherit position property value.

  2. B

    The fixed position property value.

  3. C

    The static position property value.

  4. D

    The absolute position property value.

Show answer and explanation

Correct answer: D

Question 9 Drag & drop

DRAG DROP

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

Question diagram
Show answer and explanation
Correct answer diagram
Question 10 Multiple choice

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

  1. A

    Option A

  2. B

    Option B

  3. C

    Option C

  4. D

    Option D

  5. E

    Option E

Show answer and explanation

Correct answers: C, D, E

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.