wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Manage the Application Life Cycle Lesson 1

Total questions: 56

Worksheet time: 28mins

Name
Class
Date
1.

What HTML5 features assist in handling various device sizes?

a)

Cookies

b)

Media queries

c)

Plug-ins

d)

Modernizr

2.

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

related to this concern?

a)

Reliability, scalability, technical support, security, and support for various operating systems.

b)

Plug-in support such as Microsoft® Silverlight® and Flash.

c)

The developer application used by the client.

3.

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?

a)

Site/Import

b)

Site/Publishing Settings

c)

Site/Export Web Package

4.

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

a)

Use of improved cookies.

b)

Use of localStorage and sessionStorage.

c)

Media queries.

5.

What does it mean that HTTP is a stateless protocol?

a)

HTTP does not retain data from session to session.

b)

HTTP saves information for one session only.

c)

HTTP saves only form data.

6.

What allows HTML5 applications to work in an offline state?

a)

HTTP

b)

AppCache

c)

Cookies

7.

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

prior to testing?

a)

Use MouseTouch events and an online touch-screen emulator.

b)

He or she cannot test until it is deployed to a touch-screen device.

c)

Program it to respond to voice commands.

8.

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

a)

Prevent zooming, prevent scrolling, and render carefully.

b)

Allow email and messaging.

c)

Use as many new HTML5 features as possible.

9.

How can the developer validate the new HTML5 code?

a)

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

b)

Use an online simulator.

c)

Use the W3C code validators.

10.

What steps should a developer take before publishing an application?

a)

Plan a promotion strategy for her application

b)

Configure, build, and test a release version

c)

Review her use of localStorage and sessionStorage for her application

11.

On what platform or store can a developer sell their Windows Store application?

a)

Android Market

b)

Windows Store

c)

Windows Phone SDK

12.

Why should a developer create a vector icon for an application?

a)

Because people like pictures more than text.

b)

To demonstrate her graphic art capabilities.

c)

To promote the brand and help users discover the application.

13.

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.

a)

imperative

b)

functional

c)

markup

d)

object-oriented languages.

14.

________ defines styles for HTML in a separate file, so you can easily change fonts, font sizes, and other attributes.

a)

HTML

b)

JavaScript

c)

Cascading Style Sheets

d)

Python

15.

Windows 8 users the _____user interface (UI).

a)

Metro Style

b)

Command Line

c)

Motion Tracking

d)

Natural Language

16.

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.

a)

Android Runtime (ART)

b)

Windows Runtime (WinRT)

c)

Java virtual machine (JVM)

d)

Common Language Runtime (CLR)

17.

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

a)

identity permissions

b)

application state

c)

application package

d)

appCache

18.

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.

a)

application

b)

session

c)

local

d)

http protocol

19.

Any finger move is referred to as a _____, which can involve a single finger (one-touch) or a finger and a thumb (two-touch.

a)

gesture

b)

touch event

c)

touch screen simulator

d)

touch screen emulator

20.

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.

a)

simulator

b)

Touch Screen emulator

c)

Windows App Certification Kit

d)

validator

21.

The ______ is an online global marketplace for Metro style apps.

a)

Windows Store

b)

App Store

c)

Google Play Store

d)

Market Place

22.

Which three components are the primary elements of the HTML5 family?

a)

XML

b)

HTML

c)

CSS

d)

JavaScript

23.

JavaScript is a type of:

a)

Program compiler

b)

Markup language

c)

Scripting language

d)

validator

24.

All of the following are true of HTML5 except:

a)

It requires Windows 8

b)

It can be used to create Web apps and PC and device apps

c)

It is platform-independent

d)

It is built on an open standard

25.

Which operating system environment allows a developer to access a camera or webcam?

a)

localStorage

b)

WinRT

c)

the session state

d)

Metro

26.

You are developing a Metro style app and want the app to access another app. Where do you declare the interaction?

a)

App manifest

b)

CSS

c)

At the top of the HTML file

d)

Nowhere; you do not have to declare the interaction

27.

Which of the following is used to create an app package?

a)

JavaScript

b)

CSS

c)

DOM

d)

An app development tool

28.

Which API allows programs and scripts to update content, structure, and styles on the fly?

a)

JavaScript

b)

WinRT

c)

The DOM

d)

RTE

29.

AppCache, localStorage, and sessionStorage are forms of:

a)

Web storage

b)

HTML commands

c)

Standards

d)

Namespaces

30.

Which of the following does not usually work well with multi-touch environments and should be disabled? (Choose two.)

a)

Tracking

b)

Zooming

c)

Scrolling

d)

Gesturing

31.

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?

a)

WinRT

b)

Windows 8

c)

W3C Markup Validation Service

d)

Windows App Certification Kit

32.

An application programming interface (API) is a list of instructions letting a program communicate with another program.

a)

True

b)

False

33.

A best practice is to publish your app without validation to perform live online testing.

a)

True

b)

False

34.

An emulator searches HTML and CSS documents, looking for errors.

a)

True

b)

False

35.

It’s a best practice to design touch-enabled apps for wider rather than narrower digits.

a)

True

b)

False

36.

A platform-independent app can run on different desktop and mobile device operating systems

a)

True

b)

False

37.

Which of the following HTML5 features enables older browsers to render HTML5 and CSS3 correctly?

a)

Canvas

b)

Modernizr

c)

media queries

d)

CSS2

38.

Which of the following is primarily responsible for developing and updating the HTML5 specification?

a)

Microsoft

b)

Apple

c)

W3C

d)

All of the above

39.

touchstart, touchend, and touchmove are examples of which type of touch-enabled constructs?

a)

JavaScript events

b)

CSS3 properties

c)

HTML elements

d)

JavaScript libraries

40.

What can you use to validate an HTML5 file?

a)

WinRT

b)

W3C CSS Validation Service

c)

W3C Markup Validation Service

d)

Windows App Certification Kit

41.

You are attempting to determine why your HTML5 app keeps returning an error every time you run it. What process are you performing?

a)

publishing

b)

validation

c)

packaging

d)

debugging

42.

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?

a)

touch event

b)

snap point

c)

acceleration

d)

panning

43.

Which of the following is a scripting language?

a)

the DOM

b)

JavaScript

c)

CSS

d)

HTML

44.

Which of the following is an API?

a)

the DOM

b)

JavaScript

c)

CSS

d)

HTML

45.

Which HTML5 feature detects the user’s type of screen and sizes the output accordingly?

a)

the video element

b)

geolocation

c)

Modernizr

d)

media query

46.

Which of the following technologies requires compilation?

a)

HTML5

b)

CSS

c)

JavaScript

d)

none of the above

47.

When creating a packaged app, which file describes properties of the app and what the app needs to run?

a)

AppCache

b)

JavaScript file

c)

app manifest

d)

File API

48.

Which of the following is true of app packages? (Choose all that apply.)

a)

A package may contain Web pages, code, database tables, and procedures.

b)

Because a package is in its own container, if you move a package, then everything in the package moves as a unit.

c)

When a package has a user interface, it’s referred to as an application.

d)

A package cannot contain other packages.

49.

Which of the following handles communication between installed apps?

a)

WinRT APIs

b)

app manifest

c)

AppCache

d)

Hypertext Transport Protocol (HTTP)

50.

Which of the following is a kind of credential that protects assemblies?

a)

contract

b)

persistent state information

c)

identity permission

d)

app manifest

51.

Which of the following a list of instructions for enabling a Web browser or a Web server to communicate with other programs?

a)

WinRT

b)

persistent state information

c)

API

d)

none of the above

52.

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?

a)

Identity Name

b)

Resources

c)

Applications

d)

Capabilities

53.

_______ is the process of maintaining Web page information during multiple requests for the same or different Web page.

a)

Debugging

b)

Validation

c)

State management

d)

Browsing

54.

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?

a)

localStorage

b)

sessionStorage

c)

either a or b

d)

none of the above

55.

Which of the following would you expect to see in an AppCache cache manifest file? (Choose all that apply.)

a)

index.html

b)

stylesheet.css

c)

images/dot.png

d)

scripts/main.js

56.

You are preparing to publish an app to the Windows Store. Where do you provide statements related to gathering a user’s personal data?

a)

Windows App Certification Kit

b)

app manifest

c)

privacy statement

d)

Windows Store developer account profile