Creating Mobile Apps with HTML5

  1. What is HTML5?

    B. The latest version of the language of the Web
  2. What is progressive enhancement?

    B. A Web design technique that emphasizes layering functionality on top of a basic foundation
  3. Which of these is a difference between Web apps and native apps?

    B. Web apps run in a Web browser, while native apps don't
  4. What is JavaScript?

    C. A programming language that adds interactivity to Web apps
  5. Which language would you use to add style information to Web apps?

    A. CSS
  6. Which of these is not one of the four principles of app design?

    B. Design for maximum number of features
  7. What is markup language?

    B. A system of annotating text using special characters that a markup interpreter can read
  8. What are HTML attributes?

    C. Ways to modify or add information to HTML elements using name=value pairs
  9. What HTML5 element can you use to embed video in a webpage?

    B. <video></video>
  10. 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
  11. What's a user agent?

    D. A program that employs Web content in some way
  12. Which symbol indicates an ID selector?

    A. The pound sign or hash mark (#)
  13. Which HTML element can you use to hold JavaScript code?

    B. <script></script>
  14. How does JavaScript access and manipulate HTML elements?

    B. Using the HTML DOM
  15. Why should you use function?

    D. To save effort, make your programs more maintainable, and reduce download time
  16. In app development, what's a framework?

    A. A collection of libraries that programmers can access or interface with from within other software (or application) using a standard method
  17. How can you tell jQuery Mobile how to format different parts of an HTML page for mobiles devices?

    B. Using JQM attributes
  18. What is a benefit of using JavaScript libraries and frameworks? 

    C. They reduce the amount of work you need to do
  19. What are the purposes of the HTML5 Device Access APIs?

    C. To standardize languages for accessing native device hardware from HTML5 apps
  20. 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
  21. Which section of the cache manifest specifies alternate files for uncached resources?

    C. The Fallback section
  22. What two languages are most often used to format the data output of a RESTful Web service?

    C. XML and JSON
  23. Which of these difference between XML and HTML5?

    D. XML is case sensitive
  24. What's a consumer mashup?

    D. An API-based combination of data or functions from multiple sources; for example, a site that combines music files and photographs
  25. What are the ways to reduce the file size of a photograph?

    D. Reduce the dimensions and use lossy compression
  26. What happens to a raster graphic when you zoom in on it or enlarge it?

    C. Image resolution decreases
  27. Which type of image compression should you use for images that have large blocks of solid color?

    C. Lossless compression
  28. What type of pixel is always the same size on a mobile device?

    A. Device pixel
  29. What's the correct name for the graphic that displays while an app is loading?

    C. Splash screen
  30. What event happens when a user's finger moves on a touch screen?

    C. touchmove
  31. 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
  32. How does compression reduce latency?

    D. By reducing the amount of data that must be transferred over the Internet
  33. What effect does splitting a single JavaScript file into multiple files have?

    C. It increases latency
  34. What does a bridging framework do?

    A. It converts Web apps into native apps
  35. What is the difference between the PhoneGap wrapper and a mobile Web browser?

    D. PhoneGap supports native device APIs
  36. What type of webpages can a PhoneGap app include?

    D. Client-side only
Card Set
Creating Mobile Apps with HTML5
Final Exam