CET_TARDE - MTA HTML5 Application Development Fundamentals 1

Descrição

HTML5 Application Development Fundamentals Quizzes preparing to certification
Hawerth Castro
Quiz por Hawerth Castro, atualizado more than 1 year ago
Hawerth Castro
Criado por Hawerth Castro aproximadamente 7 anos atrás
75
0

Resumo de Recurso

Questão 1

Questão
What HTML5 features assist in handling various device sizes?
Responda
  • Cookies.
  • Media queries.
  • Plug-ins.

Questão 2

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

Questão 3

Questão
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?
Responda
  • Site/Import.
  • Site/Publishing Settings.
  • Site/Export Web Package.

Questão 4

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

Questão 5

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

Questão 6

Questão
What allows HTML5 applications to still work in an offline state?
Responda
  • HTTP.
  • AppCache.
  • Cookies.

Questão 7

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

Questão 8

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

Questão 9

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

Questão 10

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

Questão 11

Questão
On what platform or store can Begoña sell her Metro application?
Responda
  • Android Market.
  • Windows® 7.
  • Windows Phone SDK.

Questão 12

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

Questão 13

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

Questão 14

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

Questão 15

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

Questão 16

Questão
What is the new syntax for the canvas tag?
Responda
  • <canvas name = “directions”>
  • <canvas id = “directions” width = “400” height = “500”>
  • <canvas width = “400” height = “500”>

Questão 17

Questão
What command is used to write the drawing to the canvas?
Responda
  • context.moveTo(0,0);
  • context.lineTo(70,-70);
  • context.stroke( );

Questão 18

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

Questão 19

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

Questão 20

Questão
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?
Responda
  • Add a poster attribute to the video tag.
  • Add an image attribute to the video tag.
  • Add an src attribute.

Questão 21

Questão
What optional attribute can be added to automatically start the video?
Responda
  • play
  • autoplay
  • preload

Questão 22

Questão
Which new tag is designed to be self-contained content?
Responda
  • <section>
  • <article>
  • <header>

Questão 23

Questão
What information is generally contained in the new footer tag?
Responda
  • 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

Questão 24

Questão
Which tag is used to display multiple levels of headings and subheadings?
Responda
  • <header>
  • <hgroup>
  • <section>

Questão 25

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

Questão 26

Questão
How can Michiyo make the form more user friendly?
Responda
  • Add placeholder text.
  • Add background colors.
  • Add images.

Questão 27

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

Questão 28

Questão
What are the parts of the CSS Box Model?
Responda
  • Overflow, scrolling, visible, hidden
  • Float, absolute
  • Content, padding, margin, and border

Questão 29

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

Questão 30

Questão
What properties can be set to control overflow when using block flow?
Responda
  • Yes, no
  • Height, width
  • Scroll, visible, hidden

Questão 31

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

Questão 32

Questão
What box property is used to set the direction of the content?
Responda
  • box-direction
  • box-align
  • .box-orient

Questão 33

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

Questão 34

Questão
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?
Responda
  • newsletter
  • column-count
  • hyphenation

Questão 35

Questão
What CSS style can be used to wrap text and other content around specific elements?
Responda
  • wrap-text
  • box-align
  • positioned-floats

Questão 36

Questão
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?
Responda
  • CSS3 style for hyphens
  • CSS3 style for text-align
  • CSS3 style for padding

Questão 37

Questão
What CSS3 property creates rounded borders?
Responda
  • border-size
  • border-rounded
  • border-radius

Questão 38

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

Questão 39

Questão
What SVG filter would create the effect shown in the following image?
Responda
  • feBlur
  • feGaussianBlur
  • feBlend

Questão 40

Questão
Which variable name is valid in JavaScript?
Responda
  • todaysDate
  • 1January
  • First!Name

Questão 41

Questão
Which JavaScript built-in function tests for a numeric value?
Responda
  • isNumber()
  • isNaN()
  • isValid()

Questão 42

Questão
What is the correct syntax for defining a new variable in JavaScript?
Responda
  • new var firstName;
  • var lastName;
  • var int number;

Questão 43

Questão
What mouse event handler triggers the JavaScript code when the user presses the mouse button?
Responda
  • onmousedown
  • onmouseover
  • onmousemove

Questão 44

Questão
Which JavaScript command is used tolocate and access an element on the page?
Responda
  • getHTMLTag(tagname)
  • getElementById(idname)
  • getElement(name)

Questão 45

Questão
Which JavaScript command is used to dynamically add new elements?
Responda
  • new element(tag);
  • createElement(tag);
  • createNewTag(tag);

Questão 46

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

Questão 47

Questão
What part of the HTML code should include the statements to import existing JavaScript files such as jQuery?
Responda
  • <head>
  • <body>
  • <include>

Questão 48

Questão
What libraries should Isabel review to learn more about adding animation to the site?
Responda
  • GUI, JavaScript
  • Windows Library, jQuery
  • Animation, WYSIWYG

Questão 49

Questão
What is a benefit of using AppCache?
Responda
  • 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.

Questão 50

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

Questão 51

Questão
What new HTML5 database allows developers to store structured data on the client computer?
Responda
  • Relational database
  • Indexed database
  • Structured database

Questão 52

Questão
What can the developer use to test for the rotation of the physical device?
Responda
  • changedirection
  • onrotate
  • orientationchange

Questão 53

Questão
What gesture is used to increase the size of the screen display?
Responda
  • pinchopen
  • pinchclose
  • doubletap

Questão 54

Questão
What technique registers that the user is rotating an image on the screen?
Responda
  • 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.

Questão 55

Questão
What API can be used to provide a chat application?
Responda
  • WebSockets
  • JavaScript
  • web workers

Questão 56

Questão
What technology will enable the City Power and Light Company to identify the current location of its customers?
Responda
  • webSockets
  • geolocation
  • gpslocator

Questão 57

Questão
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?
Responda
  • JavaScript
  • WebSockets
  • web workers

Questão 58

Questão
What mobile device resource detects the force of gravity as well as any forces resulting from the movement of the device?
Responda
  • Gyroscope
  • Accelerometer
  • Calibrator

Questão 59

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

Questão 60

Questão
What information is held in the memory resources of mobile devices?
Responda
  • Photos
  • Application Cache
  • Contact lists and calendars

Semelhante

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