CET_TARDE - MTA HTML5 Application Development Fundamentals 1

Description

HTML5 Application Development Fundamentals Quizzes preparing to certification
Hawerth Castro
Quiz by Hawerth Castro, updated more than 1 year ago
Hawerth Castro
Created by Hawerth Castro over 6 years ago
72
0

Resource summary

Question 1

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

Question 2

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

Question 3

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

Question 4

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

Question 5

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

Question 6

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

Question 7

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

Question 8

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

Question 9

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

Question 10

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

Question 11

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

Question 12

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

Question 13

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

Question 14

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

Question 15

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

Question 16

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

Question 17

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

Question 18

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

Question 19

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

Question 20

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

Question 21

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

Question 22

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

Question 23

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

Question 24

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

Question 25

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

Question 26

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

Question 27

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

Question 28

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

Question 29

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

Question 30

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

Question 31

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

Question 32

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

Question 33

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

Question 34

Question
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?
Answer
  • newsletter
  • column-count
  • hyphenation

Question 35

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

Question 36

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

Question 37

Question
What CSS3 property creates rounded borders?
Answer
  • border-size
  • border-rounded
  • border-radius

Question 38

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

Question 39

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

Question 40

Question
Which variable name is valid in JavaScript?
Answer
  • todaysDate
  • 1January
  • First!Name

Question 41

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

Question 42

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

Question 43

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

Question 44

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

Question 45

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

Question 46

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

Question 47

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

Question 48

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

Question 49

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

Question 50

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

Question 51

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

Question 52

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

Question 53

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

Question 54

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

Question 55

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

Question 56

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

Question 57

Question
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?
Answer
  • JavaScript
  • WebSockets
  • web workers

Question 58

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

Question 59

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

Question 60

Question
What information is held in the memory resources of mobile devices?
Answer
  • Photos
  • Application Cache
  • Contact lists and calendars
Show full summary Hide full summary

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