Hawerth Castro
Quiz von , erstellt am more than 1 year ago

HTML5 Application Development Fundamentals Quizzes preparing to certification

75
0
0
Hawerth Castro
Erstellt von Hawerth Castro vor fast 7 Jahre
Schließen

CET_TARDE - MTA HTML5 Application Development Fundamentals 1

Frage 1 von 60

1

What HTML5 features assist in handling various device sizes?

Wähle eine der folgenden:

  • Cookies.

  • Media queries.

  • Plug-ins.

Erklärung

Frage 2 von 60

1

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

Wähle eine der folgenden:

  • 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.

Erklärung

Frage 3 von 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?

Wähle eine der folgenden:

  • Site/Import.

  • Site/Publishing Settings.

  • Site/Export Web Package.

Erklärung

Frage 4 von 60

1

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

Wähle eine der folgenden:

  • Use of improved cookies.

  • Use of localStorage and sessionStorage.

  • Media queries.

Erklärung

Frage 5 von 60

1

What does it mean that http is a stateless protocol?

Wähle eine der folgenden:

  • HTTP does not retain data from session to session.

  • HTTP saves information for one session only.

  • HTTP saves only form data.

Erklärung

Frage 6 von 60

1

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

Wähle eine der folgenden:

  • HTTP.

  • AppCache.

  • Cookies.

Erklärung

Frage 7 von 60

1

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

Wähle eine der folgenden:

  • 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.

Erklärung

Frage 8 von 60

1

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

Wähle eine der folgenden:

  • Prevent zooming, prevent scrolling, and render carefully.

  • Allow email and messaging.

  • Use as many new HTML5 features as possible.

Erklärung

Frage 9 von 60

1

How can the developer validate the new HTML5 code?

Wähle eine der folgenden:

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

  • Use an online simulator.

  • Use the W3C code validators.

Erklärung

Frage 10 von 60

1

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

Wähle eine der folgenden:

  • Plan a promotion strategy for her application.

  • Configure, build, and test a release version.

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

Erklärung

Frage 11 von 60

1

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

Wähle eine der folgenden:

  • Android Market.

  • Windows® 7.

  • Windows Phone SDK.

Erklärung

Frage 12 von 60

1

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

Wähle eine der folgenden:

  • Because people like pictures more than text.

  • To demonstrate her graphic art capabilities.

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

Erklärung

Frage 13 von 60

1

What is the new syntax for the doctype declaration?

Wähle eine der folgenden:

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

  • <!DOCTYPE HTML>

  • <HTML DOCTYPE>

Erklärung

Frage 14 von 60

1

What does it mean when a tag has been deprecated?

Wähle eine der folgenden:

  • It is outdated and no longer supported.

  • It has been replaced by another tag.

  • It is new to HTML5.

Erklärung

Frage 15 von 60

1

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

Wähle eine der folgenden:

  • With cascading style sheets (CSS).

  • By using the <font-family> tag.

  • All text must be displayed as Times New Roman.

Erklärung

Frage 16 von 60

1

What is the new syntax for the canvas tag?

Wähle eine der folgenden:

  • <canvas name = “directions”>

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

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

Erklärung

Frage 17 von 60

1

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

Wähle eine der folgenden:

  • context.moveTo(0,0);

  • context.lineTo(70,-70);

  • context.stroke( );

Erklärung

Frage 18 von 60

1

How does the developer draw on the canvas?

Wähle eine der folgenden:

  • Using a script, such as JavaScript.

  • Using native HTML5 commands.

  • Inserting a previously created image.

Erklärung

Frage 19 von 60

1

What is the syntax for the new HTML5 video tag?

Wähle eine der folgenden:

  • <video> </video>

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

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

Erklärung

Frage 20 von 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?

Wähle eine der folgenden:

  • Add a poster attribute to the video tag.

  • Add an image attribute to the video tag.

  • Add an src attribute.

Erklärung

Frage 21 von 60

1

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

Wähle eine der folgenden:

  • play

  • autoplay

  • preload

Erklärung

Frage 22 von 60

1

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

Wähle eine der folgenden:

  • <section>

  • <article>

  • <header>

Erklärung

Frage 23 von 60

1

What information is generally contained in the new footer tag?

Wähle eine der folgenden:

  • 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

Erklärung

Frage 24 von 60

1

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

Wähle eine der folgenden:

  • <header>

  • <hgroup>

  • <section>

Erklärung

Frage 25 von 60

1

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

Wähle eine der folgenden:

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

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

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

Erklärung

Frage 26 von 60

1

How can Michiyo make the form more user friendly?

Wähle eine der folgenden:

  • Add placeholder text.

  • Add background colors.

  • Add images.

Erklärung

Frage 27 von 60

1

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

Wähle eine der folgenden:

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

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

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

Erklärung

Frage 28 von 60

1

What are the parts of the CSS Box Model?

Wähle eine der folgenden:

  • Overflow, scrolling, visible, hidden

  • Float, absolute

  • Content, padding, margin, and border

Erklärung

Frage 29 von 60

1

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

Wähle eine der folgenden:

  • Monospace, serif, sans-serif

  • Arial, Helvetica, Garmond

  • Times New Roman, Comic Sans

Erklärung

Frage 30 von 60

1

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

Wähle eine der folgenden:

  • Yes, no

  • Height, width

  • Scroll, visible, hidden

Erklärung

Frage 31 von 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?

Wähle eine der folgenden:

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

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

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

Erklärung

Frage 32 von 60

1

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

Wähle eine der folgenden:

  • box-direction

  • box-align

  • .box-orient

Erklärung

Frage 33 von 60

1

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

Wähle eine der folgenden:

  • box-pack

  • box-align

  • box-direction

Erklärung

Frage 34 von 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?

Wähle eine der folgenden:

  • newsletter

  • column-count

  • hyphenation

Erklärung

Frage 35 von 60

1

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

Wähle eine der folgenden:

  • wrap-text

  • box-align

  • positioned-floats

Erklärung

Frage 36 von 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?

Wähle eine der folgenden:

  • CSS3 style for hyphens

  • CSS3 style for text-align

  • CSS3 style for padding

Erklärung

Frage 37 von 60

1

What CSS3 property creates rounded borders?

Wähle eine der folgenden:

  • border-size

  • border-rounded

  • border-radius

Erklärung

Frage 38 von 60

1

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

Wähle eine der folgenden:

  • @font-face

  • includeFont

  • font-family

Erklärung

Frage 39 von 60

1

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

Wähle eine der folgenden:

  • feBlur

  • feGaussianBlur

  • feBlend

Erklärung

Frage 40 von 60

1

Which variable name is valid in JavaScript?

Wähle eine der folgenden:

  • todaysDate

  • 1January

  • First!Name

Erklärung

Frage 41 von 60

1

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

Wähle eine der folgenden:

  • isNumber()

  • isNaN()

  • isValid()

Erklärung

Frage 42 von 60

1

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

Wähle eine der folgenden:

  • new var firstName;

  • var lastName;

  • var int number;

Erklärung

Frage 43 von 60

1

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

Wähle eine der folgenden:

  • onmousedown

  • onmouseover

  • onmousemove

Erklärung

Frage 44 von 60

1

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

Wähle eine der folgenden:

  • getHTMLTag(tagname)

  • getElementById(idname)

  • getElement(name)

Erklärung

Frage 45 von 60

1

Which JavaScript command is used to dynamically add new elements?

Wähle eine der folgenden:

  • new element(tag);

  • createElement(tag);

  • createNewTag(tag);

Erklärung

Frage 46 von 60

1

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

Wähle eine der folgenden:

  • No knowledge of JavaScript is required.

  • Reduces development time by reusing existing functions.

  • Does not require any additional programming.

Erklärung

Frage 47 von 60

1

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

Wähle eine der folgenden:

  • <head>

  • <body>

  • <include>

Erklärung

Frage 48 von 60

1

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

Wähle eine der folgenden:

  • GUI, JavaScript

  • Windows Library, jQuery

  • Animation, WYSIWYG

Erklärung

Frage 49 von 60

1

What is a benefit of using AppCache?

Wähle eine der folgenden:

  • 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.

Erklärung

Frage 50 von 60

1

How can developers use a blob in their web design?

Wähle eine der folgenden:

  • To access and save text files.

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

  • To open a connection to the server.

Erklärung

Frage 51 von 60

1

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

Wähle eine der folgenden:

  • Relational database

  • Indexed database

  • Structured database

Erklärung

Frage 52 von 60

1

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

Wähle eine der folgenden:

  • changedirection

  • onrotate

  • orientationchange

Erklärung

Frage 53 von 60

1

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

Wähle eine der folgenden:

  • pinchopen

  • pinchclose

  • doubletap

Erklärung

Frage 54 von 60

1

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

Wähle eine der folgenden:

  • 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.

Erklärung

Frage 55 von 60

1

What API can be used to provide a chat application?

Wähle eine der folgenden:

  • WebSockets

  • JavaScript

  • web workers

Erklärung

Frage 56 von 60

1

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

Wähle eine der folgenden:

  • webSockets

  • geolocation

  • gpslocator

Erklärung

Frage 57 von 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?

Wähle eine der folgenden:

  • JavaScript

  • WebSockets

  • web workers

Erklärung

Frage 58 von 60

1

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

Wähle eine der folgenden:

  • Gyroscope

  • Accelerometer

  • Calibrator

Erklärung

Frage 59 von 60

1

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

Wähle eine der folgenden:

  • WinRT

  • Internet Explorer®

  • JavaScript

Erklärung

Frage 60 von 60

1

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

Wähle eine der folgenden:

  • Photos

  • Application Cache

  • Contact lists and calendars

Erklärung