Font size
WorksheetsManage the Application Life Cycle Lesson 1
Total questions: 56
Worksheet time: 28mins
What HTML5 features assist in handling various device sizes?
Cookies
Media queries
Plug-ins
Modernizr
Alfons needs to verify the hosting specifications for the HTML5 client. Which item(s) are most
related to this concern?
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.
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?
Site/Import
Site/Publishing Settings
Site/Export Web Package
What change in HTML5 has changed how data is persistent across user sessions?
Use of improved cookies.
Use of localStorage and sessionStorage.
Media queries.
What does it mean that HTTP is a stateless protocol?
HTTP does not retain data from session to session.
HTTP saves information for one session only.
HTTP saves only form data.
What allows HTML5 applications to work in an offline state?
HTTP
AppCache
Cookies
If the developer does not have a touch-screen device, how can he or she debug the application
prior to testing?
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.
What are some touch-enabled best practices to test for?
Prevent zooming, prevent scrolling, and render carefully.
Allow email and messaging.
Use as many new HTML5 features as possible.
How can the developer validate the new HTML5 code?
If the code compiles with no errors, it is validated.
Use an online simulator.
Use the W3C code validators.
What steps should a developer take before publishing an application?
Plan a promotion strategy for her application
Configure, build, and test a release version
Review her use of localStorage and sessionStorage for her application
On what platform or store can a developer sell their Windows Store application?
Android Market
Windows Store
Windows Phone SDK
Why should a developer create a vector icon for an application?
Because people like pictures more than text.
To demonstrate her graphic art capabilities.
To promote the brand and help users discover the application.
HTML is a ____ language, not a programming language, which means HTML uses markup tags such as <body> and <h1> to describe parts of a Web page.
imperative
functional
markup
object-oriented languages.
________ defines styles for HTML in a separate file, so you can easily change fonts, font sizes, and other attributes.
HTML
JavaScript
Cascading Style Sheets
Python
Windows 8 users the _____user interface (UI).
Metro Style
Command Line
Motion Tracking
Natural Language
The __ is the foundation of the Windows 8 operating system, and is made up of layers that provide functionality to Metro style apps and the Windows shell.
Android Runtime (ART)
Windows Runtime (WinRT)
Java virtual machine (JVM)
Common Language Runtime (CLR)
______ is the process of bundling an application and its various files into an app container, making it easy to distribute and deploy the app. The app package is the result of this process.
identity permissions
application state
application package
appCache
The ___ state is created when the Web browser sends the first request for a Web page to the Web server and it ends when the user closes the browser.
application
session
local
http protocol
Any finger move is referred to as a _____, which can involve a single finger (one-touch) or a finger and a thumb (two-touch.
gesture
touch event
touch screen simulator
touch screen emulator
A _______ looks for anything that could cause code to be interpreted incorrectly, such as missing or unclosed tags, an improper DOCTYPE declaration, a trailing slash, deprecated code, and so on.
simulator
Touch Screen emulator
Windows App Certification Kit
validator
The ______ is an online global marketplace for Metro style apps.
Windows Store
App Store
Google Play Store
Market Place
Which three components are the primary elements of the HTML5 family?
XML
HTML
CSS
JavaScript
JavaScript is a type of:
Program compiler
Markup language
Scripting language
validator
All of the following are true of HTML5 except:
It requires Windows 8
It can be used to create Web apps and PC and device apps
It is platform-independent
It is built on an open standard
Which operating system environment allows a developer to access a camera or webcam?
localStorage
WinRT
the session state
Metro
You are developing a Metro style app and want the app to access another app. Where do you declare the interaction?
App manifest
CSS
At the top of the HTML file
Nowhere; you do not have to declare the interaction
Which of the following is used to create an app package?
JavaScript
CSS
DOM
An app development tool
Which API allows programs and scripts to update content, structure, and styles on the fly?
JavaScript
WinRT
The DOM
RTE
AppCache, localStorage, and sessionStorage are forms of:
Web storage
HTML commands
Standards
Namespaces
Which of the following does not usually work well with multi-touch environments and should be disabled? (Choose two.)
Tracking
Zooming
Scrolling
Gesturing
Which tool is a type of validator that tests your app on your computer before you attempt to package and publish it to the Windows Store?
WinRT
Windows 8
W3C Markup Validation Service
Windows App Certification Kit
An application programming interface (API) is a list of instructions letting a program communicate with another program.
True
False
A best practice is to publish your app without validation to perform live online testing.
True
False
An emulator searches HTML and CSS documents, looking for errors.
True
False
It’s a best practice to design touch-enabled apps for wider rather than narrower digits.
True
False
A platform-independent app can run on different desktop and mobile device operating systems
True
False
Which of the following HTML5 features enables older browsers to render HTML5 and CSS3 correctly?
Canvas
Modernizr
media queries
CSS2
Which of the following is primarily responsible for developing and updating the HTML5 specification?
Microsoft
Apple
W3C
All of the above
touchstart, touchend, and touchmove are examples of which type of touch-enabled constructs?
JavaScript events
CSS3 properties
HTML elements
JavaScript libraries
What can you use to validate an HTML5 file?
WinRT
W3C CSS Validation Service
W3C Markup Validation Service
Windows App Certification Kit
You are attempting to determine why your HTML5 app keeps returning an error every time you run it. What process are you performing?
publishing
validation
packaging
debugging
Which of the following helps a user stop at a location within a touch-enabled interface where intended, even if a gesture is a little off the mark?
touch event
snap point
acceleration
panning
Which of the following is a scripting language?
the DOM
JavaScript
CSS
HTML
Which of the following is an API?
the DOM
JavaScript
CSS
HTML
Which HTML5 feature detects the user’s type of screen and sizes the output accordingly?
the video element
geolocation
Modernizr
media query
Which of the following technologies requires compilation?
HTML5
CSS
JavaScript
none of the above
When creating a packaged app, which file describes properties of the app and what the app needs to run?
AppCache
JavaScript file
app manifest
File API
Which of the following is true of app packages? (Choose all that apply.)
A package may contain Web pages, code, database tables, and procedures.
Because a package is in its own container, if you move a package, then everything in the package moves as a unit.
When a package has a user interface, it’s referred to as an application.
A package cannot contain other packages.
Which of the following handles communication between installed apps?
WinRT APIs
app manifest
AppCache
Hypertext Transport Protocol (HTTP)
Which of the following is a kind of credential that protects assemblies?
contract
persistent state information
identity permission
app manifest
Which of the following a list of instructions for enabling a Web browser or a Web server to communicate with other programs?
WinRT
persistent state information
API
none of the above
If you want your app to access a device, another app, the Internet, or anything outside of itself, you must declare the interaction in the app manifest. Which section of the app manifest are these declarations located?
Identity Name
Resources
Applications
Capabilities
_______ is the process of maintaining Web page information during multiple requests for the same or different Web page.
Debugging
Validation
State management
Browsing
You are developing a Web app that uses a shopping cart. When a user completes a purchase, all information is saved on the Web server, but you do not want any information to persist in the user’s Web browser. Which of the following JavaScript methods should you use?
localStorage
sessionStorage
either a or b
none of the above
Which of the following would you expect to see in an AppCache cache manifest file? (Choose all that apply.)
index.html
stylesheet.css
images/dot.png
scripts/main.js
You are preparing to publish an app to the Windows Store. Where do you provide statements related to gathering a user’s personal data?
Windows App Certification Kit
app manifest
privacy statement
Windows Store developer account profile
