CET_TARDE - MTA HTML5 Application Development Fundamentals 1

Descripción

HTML5 Application Development Fundamentals Quizzes preparing to certification
Hawerth Castro
Test por Hawerth Castro, actualizado hace más de 1 año
Hawerth Castro
Creado por Hawerth Castro hace casi 7 años
74
0

Resumen del Recurso

Pregunta 1

Pregunta
What HTML5 features assist in handling various device sizes?
Respuesta
  • Cookies.
  • Media queries.
  • Plug-ins.

Pregunta 2

Pregunta
Alfons needs to verify the hosting specifications for the HTML5 client. Which item(s) are most related to this concern?
Respuesta
  • 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.

Pregunta 3

Pregunta
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?
Respuesta
  • Site/Import.
  • Site/Publishing Settings.
  • Site/Export Web Package.

Pregunta 4

Pregunta
What change in HTML5 has changed how data is persistent across user sessions?
Respuesta
  • Use of improved cookies.
  • Use of localStorage and sessionStorage.
  • Media queries.

Pregunta 5

Pregunta
What does it mean that http is a stateless protocol?
Respuesta
  • HTTP does not retain data from session to session.
  • HTTP saves information for one session only.
  • HTTP saves only form data.

Pregunta 6

Pregunta
What allows HTML5 applications to still work in an offline state?
Respuesta
  • HTTP.
  • AppCache.
  • Cookies.

Pregunta 7

Pregunta
If the developer does not have a touch-screen device, how can he or she debug the application prior to testing?
Respuesta
  • 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.

Pregunta 8

Pregunta
What are some touch-enabled best practices to test for?
Respuesta
  • Prevent zooming, prevent scrolling, and render carefully.
  • Allow email and messaging.
  • Use as many new HTML5 features as possible.

Pregunta 9

Pregunta
How can the developer validate the new HTML5 code?
Respuesta
  • If the code compiles with no errors, it is validated.
  • Use an online simulator.
  • Use the W3C code validators.

Pregunta 10

Pregunta
What steps does she need to take before publishing an application?
Respuesta
  • Plan a promotion strategy for her application.
  • Configure, build, and test a release version.
  • Review her use of localStorage and sessionStorage for her application.

Pregunta 11

Pregunta
On what platform or store can Begoña sell her Metro application?
Respuesta
  • Android Market.
  • Windows® 7.
  • Windows Phone SDK.

Pregunta 12

Pregunta
Why should Begoña create a vector icon for her application?
Respuesta
  • Because people like pictures more than text.
  • To demonstrate her graphic art capabilities.
  • To promote the brand and help users discover the application.

Pregunta 13

Pregunta
What is the new syntax for the doctype declaration?
Respuesta
  • <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/ DTD/xhtml1-transitional.dtd”>
  • <!DOCTYPE HTML>
  • <HTML DOCTYPE>

Pregunta 14

Pregunta
What does it mean when a tag has been deprecated?
Respuesta
  • It is outdated and no longer supported.
  • It has been replaced by another tag.
  • It is new to HTML5.

Pregunta 15

Pregunta
If the <font> tag is not supported in HTML5, how is the font family for text changed?
Respuesta
  • With cascading style sheets (CSS).
  • By using the <font-family> tag.
  • All text must be displayed as Times New Roman.

Pregunta 16

Pregunta
What is the new syntax for the canvas tag?
Respuesta
  • <canvas name = “directions”>
  • <canvas id = “directions” width = “400” height = “500”>
  • <canvas width = “400” height = “500”>

Pregunta 17

Pregunta
What command is used to write the drawing to the canvas?
Respuesta
  • context.moveTo(0,0);
  • context.lineTo(70,-70);
  • context.stroke( );

Pregunta 18

Pregunta
How does the developer draw on the canvas?
Respuesta
  • Using a script, such as JavaScript.
  • Using native HTML5 commands.
  • Inserting a previously created image.

Pregunta 19

Pregunta
What is the syntax for the new HTML5 video tag?
Respuesta
  • <video> </video>
  • <video source= “movie.mp4” controls = “controls”></video>
  • <video src= “movie.mp4” width = “350” height = “300” controls = “controls”> </video>

Pregunta 20

Pregunta
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?
Respuesta
  • Add a poster attribute to the video tag.
  • Add an image attribute to the video tag.
  • Add an src attribute.

Pregunta 21

Pregunta
What optional attribute can be added to automatically start the video?
Respuesta
  • play
  • autoplay
  • preload

Pregunta 22

Pregunta
Which new tag is designed to be self-contained content?
Respuesta
  • <section>
  • <article>
  • <header>

Pregunta 23

Pregunta
What information is generally contained in the new footer tag?
Respuesta
  • 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

Pregunta 24

Pregunta
Which tag is used to display multiple levels of headings and subheadings?
Respuesta
  • <header>
  • <hgroup>
  • <section>

Pregunta 25

Pregunta
What is the format for the HTML5 tag to validate an email address?
Respuesta
  • <input type = “url” name = “email”>
  • <input type = “text” id = “email”>
  • <input type = “email” name = “email”>

Pregunta 26

Pregunta
How can Michiyo make the form more user friendly?
Respuesta
  • Add placeholder text.
  • Add background colors.
  • Add images.

Pregunta 27

Pregunta
What input attribute can she use to help the user enter a Japanese Postal Code (Format: nnn-nnnn)?
Respuesta
  • pattern=“\d{3}-\d{4}”
  • mask=“\d{3}-\d{4}”
  • postalCode=“\d{3}-\d{4}”

Pregunta 28

Pregunta
What are the parts of the CSS Box Model?
Respuesta
  • Overflow, scrolling, visible, hidden
  • Float, absolute
  • Content, padding, margin, and border

Pregunta 29

Pregunta
What generic font families can be used to prevent potential viewing problems?
Respuesta
  • Monospace, serif, sans-serif
  • Arial, Helvetica, Garmond
  • Times New Roman, Comic Sans

Pregunta 30

Pregunta
What properties can be set to control overflow when using block flow?
Respuesta
  • Yes, no
  • Height, width
  • Scroll, visible, hidden

Pregunta 31

Pregunta
CSS has several vendor-specific prefixes to help accommodate the transition to CSS3. What are valid prefixes for Firefox, Internet Explorer®, and Safari?
Respuesta
  • -firefox-, –microsoft-, -safari-
  • –Ffox-, -Msoft-, -Saf-
  • –moz-, -ms-, -webkit-

Pregunta 32

Pregunta
What box property is used to set the direction of the content?
Respuesta
  • box-direction
  • box-align
  • .box-orient

Pregunta 33

Pregunta
How can Diane ensure that extra whitespace in a browser window is equally distributed to the size of multiple child elements?
Respuesta
  • box-pack
  • box-align
  • box-direction

Pregunta 34

Pregunta
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?
Respuesta
  • newsletter
  • column-count
  • hyphenation

Pregunta 35

Pregunta
What CSS style can be used to wrap text and other content around specific elements?
Respuesta
  • wrap-text
  • box-align
  • positioned-floats

Pregunta 36

Pregunta
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?
Respuesta
  • CSS3 style for hyphens
  • CSS3 style for text-align
  • CSS3 style for padding

Pregunta 37

Pregunta
What CSS3 property creates rounded borders?
Respuesta
  • border-size
  • border-rounded
  • border-radius

Pregunta 38

Pregunta
Which statement should the developer use to include a font that is not pre-installed on client machines?
Respuesta
  • @font-face
  • includeFont
  • font-family

Pregunta 39

Pregunta
What SVG filter would create the effect shown in the following image?
Respuesta
  • feBlur
  • feGaussianBlur
  • feBlend

Pregunta 40

Pregunta
Which variable name is valid in JavaScript?
Respuesta
  • todaysDate
  • 1January
  • First!Name

Pregunta 41

Pregunta
Which JavaScript built-in function tests for a numeric value?
Respuesta
  • isNumber()
  • isNaN()
  • isValid()

Pregunta 42

Pregunta
What is the correct syntax for defining a new variable in JavaScript?
Respuesta
  • new var firstName;
  • var lastName;
  • var int number;

Pregunta 43

Pregunta
What mouse event handler triggers the JavaScript code when the user presses the mouse button?
Respuesta
  • onmousedown
  • onmouseover
  • onmousemove

Pregunta 44

Pregunta
Which JavaScript command is used tolocate and access an element on the page?
Respuesta
  • getHTMLTag(tagname)
  • getElementById(idname)
  • getElement(name)

Pregunta 45

Pregunta
Which JavaScript command is used to dynamically add new elements?
Respuesta
  • new element(tag);
  • createElement(tag);
  • createNewTag(tag);

Pregunta 46

Pregunta
What is the benefit of using animation libraries to add animations to a site?
Respuesta
  • No knowledge of JavaScript is required.
  • Reduces development time by reusing existing functions.
  • Does not require any additional programming.

Pregunta 47

Pregunta
What part of the HTML code should include the statements to import existing JavaScript files such as jQuery?
Respuesta
  • <head>
  • <body>
  • <include>

Pregunta 48

Pregunta
What libraries should Isabel review to learn more about adding animation to the site?
Respuesta
  • GUI, JavaScript
  • Windows Library, jQuery
  • Animation, WYSIWYG

Pregunta 49

Pregunta
What is a benefit of using AppCache?
Respuesta
  • 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.

Pregunta 50

Pregunta
How can developers use a blob in their web design?
Respuesta
  • To access and save text files.
  • To store structured data that can be indexed and searched.
  • To open a connection to the server.

Pregunta 51

Pregunta
What new HTML5 database allows developers to store structured data on the client computer?
Respuesta
  • Relational database
  • Indexed database
  • Structured database

Pregunta 52

Pregunta
What can the developer use to test for the rotation of the physical device?
Respuesta
  • changedirection
  • onrotate
  • orientationchange

Pregunta 53

Pregunta
What gesture is used to increase the size of the screen display?
Respuesta
  • pinchopen
  • pinchclose
  • doubletap

Pregunta 54

Pregunta
What technique registers that the user is rotating an image on the screen?
Respuesta
  • 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.

Pregunta 55

Pregunta
What API can be used to provide a chat application?
Respuesta
  • WebSockets
  • JavaScript
  • web workers

Pregunta 56

Pregunta
What technology will enable the City Power and Light Company to identify the current location of its customers?
Respuesta
  • webSockets
  • geolocation
  • gpslocator

Pregunta 57

Pregunta
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?
Respuesta
  • JavaScript
  • WebSockets
  • web workers

Pregunta 58

Pregunta
What mobile device resource detects the force of gravity as well as any forces resulting from the movement of the device?
Respuesta
  • Gyroscope
  • Accelerometer
  • Calibrator

Pregunta 59

Pregunta
What operating system environment allows the developer to access new device technology such as a camera or microphone?
Respuesta
  • WinRT
  • Internet Explorer®
  • JavaScript

Pregunta 60

Pregunta
What information is held in the memory resources of mobile devices?
Respuesta
  • Photos
  • Application Cache
  • Contact lists and calendars
Mostrar resumen completo Ocultar resumen completo

Similar

CET_TARDE - MTA HTML5 Application Development Fundamentals 2
Hawerth Castro
CET_TARDE - MTA Mobility and Devices Fundamentals 1
Hawerth Castro
CET_TARDE - MTA Windows Server Administration Fundamentals 0
Hawerth Castro
CET_TARDE - MTA Windows Server Administration Fundamentals 1
Hawerth Castro
CET_TARDE - MTA Windows Server Administration Fundamentals 3
Hawerth Castro
CET_TARDE - MTA Windows Server Administration Fundamentals 4
Hawerth Castro
CET_TARDE - MTA Windows Server Administration Fundamentals 2
Hawerth Castro
CET_TARDE - MTA Software Development Fundamentals 1
Hawerth Castro
CET_TARDE - MTA Software Development Fundamentals 2
Hawerth Castro
CET_TARDE - MTA Software Development Fundamentals 4
Hawerth Castro
SALESFORCE DEV-401 Certification Evaluation 1
Hawerth Castro