C. A Web design technique that emphasizes layering functionality on top of a basic foundation
Which of these is a difference between Web apps and native apps?
D. Web apps run in a Web browser, while native apps don't
What is JavaScript?
C. A programming language that adds interactivity to Web apps
Which language would you use to add style information to Web apps?
D. CSS
Which of these is not one of the four principles of app design?
D. Design for maximum number of features
What is markup language?
A. A system of annotating text using special characters that a markup interpreter can read
What are HTML attributes?
C. Ways to modify or add information to HTML elements using name=value pairs
What HTML5 element can you use to embed video in a webpage?
B. <video></video>
What are browser default styles?
A. Styles that apply to every element in an HTML document
B. Styles that are available with CSS3 only
C. Styles included with the browser that determine how webpages look with no CSS applied
D. CSS styles that you write in an external stylesheet
What's a user agent?
D. A program that employs Web content in some way
Which symbol indicates an ID selector?
A. The pound sign or hash mark (#)
Which HTML element can you use to hold JavaScript code?
C. <script></script>
How does JavaScript access and manipulate HTML elements?
A. Using the HTML DOM
Why should you use function?
D. To save effort, make your programs more maintainable, and reduce download time
In app development, what's a framework?
D. A collection of libraries that programmers can access or interface with from within other software (or application) using a standard method
How can you tell jQuery Mobile how to format different parts of an HTML page for mobiles devices?
C. Using JQM attributes
What is a benefit of using JavaScript libraries and frameworks?
B. They reduce the amount of work you need to do
What are the purposes of the HTML5 Device Access APIs?
D. To standardize languages for accessing native device hardware from HTML5 apps
What method of detecting a user's location, when available, is the most accurate? (Hint: This method can also provide altitude and real-time data about movement.)
C. GPS
Which section of the cache manifest specifies alternate files for uncached resources?
B. The Fallback section
What two languages are most often used to format the data output of a RESTful Web service?
D. XML and JSON
Which of these difference between XML and HTML5?
D. XML is case sensitive
What's a consumer mashup?
C. An API-based combination of data or functions from multiple sources; for example, a site that combines music files and photographs
What are the ways to reduce the file size of a photograph?
B. Reduce the dimensions and use lossy compression
What happens to a raster graphic when you zoom in on it or enlarge it?
D. Image resolution decreases
Which type of image compression should you use for images that have large blocks of solid color?
A. Lossless compression
What type of pixel is always the same size on a mobile device?
A. Device pixel
What's the correct name for the graphic that displays while an app is loading?
D. Splash screen
What event happens when a user's finger moves on a touch screen?
A. touchmove
You decide to store data in the user's browser in order to reduce the amount of data that must be downloaded. What is this process called?
A. Caching
How does compression reduce latency?
A. By reducing the amount of data that must be transferred over the Internet
What effect does splitting a single JavaScript file into multiple files have?
C. It increases latency
What does a bridging framework do?
A. It converts Web apps into native apps
What is the difference between the PhoneGap wrapper and a mobile Web browser?