Hawerth Castro
Quiz by , created more than 1 year ago

HTML5 Application Development Fundamentals Quizzes preparing to certification

74
0
0
Hawerth Castro
Created by Hawerth Castro almost 7 years ago
Close

CET_TARDE - MTA HTML5 Application Development Fundamentals 1

Question 1 of 60

1

What HTML5 features assist in handling various device sizes?

Select one of the following:

  • Cookies.

  • Media queries.

  • Plug-ins.

Explanation

Question 2 of 60

1

Alfons needs to verify the hosting specifications for the HTML5 client. Which item(s) are most related to this concern?

Select one of the following:

  • Reliability, scalability, technical support, security, and support for various operating systems.

  • Plug-in support such as Microsoft® Silverlight® and Flash.

  • The developer application used by the client.

Explanation

Question 3 of 60

1

If the client used Microsoft Expression Web to create the site, what command should he specify in his documentation to prepare the site for hosting?

Select one of the following:

  • Site/Import.

  • Site/Publishing Settings.

  • Site/Export Web Package.

Explanation

Question 4 of 60

1

What change in HTML5 has changed how data is persistent across user sessions?

Select one of the following:

  • Use of improved cookies.

  • Use of localStorage and sessionStorage.

  • Media queries.

Explanation

Question 5 of 60

1

What does it mean that http is a stateless protocol?

Select one of the following:

  • HTTP does not retain data from session to session.

  • HTTP saves information for one session only.

  • HTTP saves only form data.

Explanation

Question 6 of 60

1

What allows HTML5 applications to still work in an offline state?

Select one of the following:

  • HTTP.

  • AppCache.

  • Cookies.

Explanation

Question 7 of 60

1

If the developer does not have a touch-screen device, how can he or she debug the application prior to testing?

Select one of the following:

  • Use MouseTouch events and an online touch-screen emulator.

  • He or she cannot test until it is deployed to a touch-screen device.

  • Program it to respond to voice commands.

Explanation

Question 8 of 60

1

What are some touch-enabled best practices to test for?

Select one of the following:

  • Prevent zooming, prevent scrolling, and render carefully.

  • Allow email and messaging.

  • Use as many new HTML5 features as possible.

Explanation

Question 9 of 60

1

How can the developer validate the new HTML5 code?

Select one of the following:

  • If the code compiles with no errors, it is validated.

  • Use an online simulator.

  • Use the W3C code validators.

Explanation

Question 10 of 60

1

What steps does she need to take before publishing an application?

Select one of the following:

  • Plan a promotion strategy for her application.

  • Configure, build, and test a release version.

  • Review her use of localStorage and sessionStorage for her application.

Explanation

Question 11 of 60

1

On what platform or store can Begoña sell her Metro application?

Select one of the following:

  • Android Market.

  • Windows® 7.

  • Windows Phone SDK.

Explanation

Question 12 of 60

1

Why should Begoña create a vector icon for her application?

Select one of the following:

  • Because people like pictures more than text.

  • To demonstrate her graphic art capabilities.

  • To promote the brand and help users discover the application.

Explanation

Question 13 of 60

1

What is the new syntax for the doctype declaration?

Select one of the following:

  • <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/ DTD/xhtml1-transitional.dtd”>

  • <!DOCTYPE HTML>

  • <HTML DOCTYPE>

Explanation

Question 14 of 60

1

What does it mean when a tag has been deprecated?

Select one of the following:

  • It is outdated and no longer supported.

  • It has been replaced by another tag.

  • It is new to HTML5.

Explanation

Question 15 of 60

1

If the <font> tag is not supported in HTML5, how is the font family for text changed?

Select one of the following:

  • With cascading style sheets (CSS).

  • By using the <font-family> tag.

  • All text must be displayed as Times New Roman.

Explanation

Question 16 of 60

1

What is the new syntax for the canvas tag?

Select one of the following:

  • <canvas name = “directions”>

  • <canvas id = “directions” width = “400” height = “500”>

  • <canvas width = “400” height = “500”>

Explanation

Question 17 of 60

1

What command is used to write the drawing to the canvas?

Select one of the following:

  • context.moveTo(0,0);

  • context.lineTo(70,-70);

  • context.stroke( );

Explanation

Question 18 of 60

1

How does the developer draw on the canvas?

Select one of the following:

  • Using a script, such as JavaScript.

  • Using native HTML5 commands.

  • Inserting a previously created image.

Explanation

Question 19 of 60

1

What is the syntax for the new HTML5 video tag?

Select one of the following:

  • <video> </video>

  • <video source= “movie.mp4” controls = “controls”></video>

  • <video src= “movie.mp4” width = “350” height = “300” controls = “controls”> </video>

Explanation

Question 20 of 60

1

How can the developer display a static image in place of the video while the video is downloading and prior to the user selecting play?

Select one of the following:

  • Add a poster attribute to the video tag.

  • Add an image attribute to the video tag.

  • Add an src attribute.

Explanation

Question 21 of 60

1

What optional attribute can be added to automatically start the video?

Select one of the following:

  • play

  • autoplay

  • preload

Explanation

Question 22 of 60

1

Which new tag is designed to be self-contained content?

Select one of the following:

  • <section>

  • <article>

  • <header>

Explanation

Question 23 of 60

1

What information is generally contained in the new footer tag?

Select one of the following:

  • The author of the document, copyright information, links to terms of use, and contact information

  • Citations and footnotes

  • Headings, subheadings, version information, and navigational controls

Explanation

Question 24 of 60

1

Which tag is used to display multiple levels of headings and subheadings?

Select one of the following:

  • <header>

  • <hgroup>

  • <section>

Explanation

Question 25 of 60

1

What is the format for the HTML5 tag to validate an email address?

Select one of the following:

  • <input type = “url” name = “email”>

  • <input type = “text” id = “email”>

  • <input type = “email” name = “email”>

Explanation

Question 26 of 60

1

How can Michiyo make the form more user friendly?

Select one of the following:

  • Add placeholder text.

  • Add background colors.

  • Add images.

Explanation

Question 27 of 60

1

What input attribute can she use to help the user enter a Japanese Postal Code (Format: nnn-nnnn)?

Select one of the following:

  • pattern=“\d{3}-\d{4}”

  • mask=“\d{3}-\d{4}”

  • postalCode=“\d{3}-\d{4}”

Explanation

Question 28 of 60

1

What are the parts of the CSS Box Model?

Select one of the following:

  • Overflow, scrolling, visible, hidden

  • Float, absolute

  • Content, padding, margin, and border

Explanation

Question 29 of 60

1

What generic font families can be used to prevent potential viewing problems?

Select one of the following:

  • Monospace, serif, sans-serif

  • Arial, Helvetica, Garmond

  • Times New Roman, Comic Sans

Explanation

Question 30 of 60

1

What properties can be set to control overflow when using block flow?

Select one of the following:

  • Yes, no

  • Height, width

  • Scroll, visible, hidden

Explanation

Question 31 of 60

1

CSS has several vendor-specific prefixes to help accommodate the transition to CSS3. What are valid prefixes for Firefox, Internet Explorer®, and Safari?

Select one of the following:

  • -firefox-, –microsoft-, -safari-

  • –Ffox-, -Msoft-, -Saf-

  • –moz-, -ms-, -webkit-

Explanation

Question 32 of 60

1

What box property is used to set the direction of the content?

Select one of the following:

  • box-direction

  • box-align

  • .box-orient

Explanation

Question 33 of 60

1

How can Diane ensure that extra whitespace in a browser window is equally distributed to the size of multiple child elements?

Select one of the following:

  • box-pack

  • box-align

  • box-direction

Explanation

Question 34 of 60

1

To arrange the content in the newsletter, Michael wants the web developer to use columns that will scale based on the user’s screen size. What new CSS3 style can be used?

Select one of the following:

  • newsletter

  • column-count

  • hyphenation

Explanation

Question 35 of 60

1

What CSS style can be used to wrap text and other content around specific elements?

Select one of the following:

  • wrap-text

  • box-align

  • positioned-floats

Explanation

Question 36 of 60

1

To make the newsletter appear professional, Michael wants the text to be fully justified. However, he is concerned that longer words will cause the text to appear stretched. How can the developer correct this problem?

Select one of the following:

  • CSS3 style for hyphens

  • CSS3 style for text-align

  • CSS3 style for padding

Explanation

Question 37 of 60

1

What CSS3 property creates rounded borders?

Select one of the following:

  • border-size

  • border-rounded

  • border-radius

Explanation

Question 38 of 60

1

Which statement should the developer use to include a font that is not pre-installed on client machines?

Select one of the following:

  • @font-face

  • includeFont

  • font-family

Explanation

Question 39 of 60

1

What SVG filter would create the effect shown in the following image?

Select one of the following:

  • feBlur

  • feGaussianBlur

  • feBlend

Explanation

Question 40 of 60

1

Which variable name is valid in JavaScript?

Select one of the following:

  • todaysDate

  • 1January

  • First!Name

Explanation

Question 41 of 60

1

Which JavaScript built-in function tests for a numeric value?

Select one of the following:

  • isNumber()

  • isNaN()

  • isValid()

Explanation

Question 42 of 60

1

What is the correct syntax for defining a new variable in JavaScript?

Select one of the following:

  • new var firstName;

  • var lastName;

  • var int number;

Explanation

Question 43 of 60

1

What mouse event handler triggers the JavaScript code when the user presses the mouse button?

Select one of the following:

  • onmousedown

  • onmouseover

  • onmousemove

Explanation

Question 44 of 60

1

Which JavaScript command is used tolocate and access an element on the page?

Select one of the following:

  • getHTMLTag(tagname)

  • getElementById(idname)

  • getElement(name)

Explanation

Question 45 of 60

1

Which JavaScript command is used to dynamically add new elements?

Select one of the following:

  • new element(tag);

  • createElement(tag);

  • createNewTag(tag);

Explanation

Question 46 of 60

1

What is the benefit of using animation libraries to add animations to a site?

Select one of the following:

  • No knowledge of JavaScript is required.

  • Reduces development time by reusing existing functions.

  • Does not require any additional programming.

Explanation

Question 47 of 60

1

What part of the HTML code should include the statements to import existing JavaScript files such as jQuery?

Select one of the following:

  • <head>

  • <body>

  • <include>

Explanation

Question 48 of 60

1

What libraries should Isabel review to learn more about adding animation to the site?

Select one of the following:

  • GUI, JavaScript

  • Windows Library, jQuery

  • Animation, WYSIWYG

Explanation

Question 49 of 60

1

What is a benefit of using AppCache?

Select one of the following:

  • It allows the user to save the application to the client computer.

  • It saves a manifest of URLs in a text file available offline.

  • It provides an indexed database of information used by the client.

Explanation

Question 50 of 60

1

How can developers use a blob in their web design?

Select one of the following:

  • To access and save text files.

  • To store structured data that can be indexed and searched.

  • To open a connection to the server.

Explanation

Question 51 of 60

1

What new HTML5 database allows developers to store structured data on the client computer?

Select one of the following:

  • Relational database

  • Indexed database

  • Structured database

Explanation

Question 52 of 60

1

What can the developer use to test for the rotation of the physical device?

Select one of the following:

  • changedirection

  • onrotate

  • orientationchange

Explanation

Question 53 of 60

1

What gesture is used to increase the size of the screen display?

Select one of the following:

  • pinchopen

  • pinchclose

  • doubletap

Explanation

Question 54 of 60

1

What technique registers that the user is rotating an image on the screen?

Select one of the following:

  • A gesture, which is touching the screen with two fingers.

  • Touch events to indicate the start and stop of the rotation.

  • The user cannot rotate an image using touch-enable technology.

Explanation

Question 55 of 60

1

What API can be used to provide a chat application?

Select one of the following:

  • WebSockets

  • JavaScript

  • web workers

Explanation

Question 56 of 60

1

What technology will enable the City Power and Light Company to identify the current location of its customers?

Select one of the following:

  • webSockets

  • geolocation

  • gpslocator

Explanation

Question 57 of 60

1

The company has an application that can analyze customer power usage, but it is very slow. How can the company improve the website response time?

Select one of the following:

  • JavaScript

  • WebSockets

  • web workers

Explanation

Question 58 of 60

1

What mobile device resource detects the force of gravity as well as any forces resulting from the movement of the device?

Select one of the following:

  • Gyroscope

  • Accelerometer

  • Calibrator

Explanation

Question 59 of 60

1

What operating system environment allows the developer to access new device technology such as a camera or microphone?

Select one of the following:

  • WinRT

  • Internet Explorer®

  • JavaScript

Explanation

Question 60 of 60

1

What information is held in the memory resources of mobile devices?

Select one of the following:

  • Photos

  • Application Cache

  • Contact lists and calendars

Explanation