Thursday, January 2, 2014

Tutorial 9 Questions 1 through 50



  1. _____ DTDs are most commonly associated with XHTML 1.0.
    1. three - correct answer
    2. two
    3. four
    4. six
  2. _____ is a language like SGML used to create markup languages bu wiothout SGML's complexity and size.
    1. XML - correct answer
    2. XHTML
    3. HTML
    4. XSL
  3. _____ is a meta-language used to create markup languages.
    1. SGML - correct answer
    2. HTML
    3. CML
    4. XHTML
  4. _____ is used for documents containing mathematical content, symbols, equations, and operations.
    1. XHTML
    2. CML
    3. MathML - correct answer
    4. Equex
  5. _____ should be used for encoding unless you are using special international characters.
    1. UTF-6
    2. UTF-32
    3. UTF-8 - correct answer
    4. UTF-60
  6. A _____ namespace only applies to select elements.
    1. selected
    2. default
    3. local - correct answer
    4. global
  7. A namespace id can be any string of characters so long as it uniquely identifies the document namespace.
    1. true - correct answer
    2. false
  8. According to the rules for well-formed XML, empty elements must be terminated.
    1. true - correct answer
    2. false
  9. All browsers recognize and understand CDATA sections.
    1. true
    2. false - correct answer
  10. An XML author can create a collection of elements and attributes for special types of data.
    1. true - correct answer
    2. false

  11. An XML document that employs the correct syntax is known as a well-made document.
    1. true
    2. false - correct answer
  12. Any XHTML document that omits the _____ element is rejected.
    1. sub
    2. p
    3. title - correct answer
    4. none of the above
  13. As the Web has branched out in recent years, it has grown to include smaller, handheld devices, which limit the size of the software that can be run on them.
    1. true - correct answer
    2. false
  14. By browsers making allowances for inconsistently applied HTML, source code for the browser becomes _____.
    1. simple
    2. easier
    3. complex - correct answer
    4. extreme
  15. Case 9-1:  Frank's custom carpentry has a Web site that is designed to appeal to all sorts of customers.  Frank wants his site to be compatible even with users who might even still use dialup and older browsers.  For his browser compatibility, which encoding should he use.
    1. UTF-64
    2. UTF-8 - correct answer
    3. UTF-10
    4. UTF-50
  16. Case 9-1:  Frank's custom carpentry has a Web site that is designed to appeal to all sorts of customers.  Frank wants his site to be compatible even with users who might even still use dialup and older browsers.  If Frank wanted to add definitions to his page, which XHTML 1.1 module would he use?
    1. Metainformation
    2. List - correct answer
    3. Object
    4. Hypertext
  17. Case 9-1:  Frank's custom carpentry has a Web site that is designed to appeal to all sorts of customers.  Frank wants his site to be compatible even with users who might even still use dialup and older browsers. In Frank's case, he should probably use which XHTML DTD to cover the most browsers?
    1. strict
    2. frameset
    3. transitional - correct answer
    4. none of the above
  18. Case 9-2:  Under the Sea is a scuba shop that sells new wave scuba gear to hip urban teens and young adults.  The Web developer, Mary, wants the pages to be designed for use on cell phones and other hand-held devices their young audiences carry.  On her online order form, how should she build the attribute for the checkbox that will be selected by default when the page is viewed?
    1. check="checked" - correct answer
    2. checked="ok"
    3. selected="selected"
    4. selected="ok"
  19. Case 9-2:  Under the Sea is a scuba shop that sells new wave scuba gear to hip urban teens and young adults.  The Web developer, Mary, wants the pages to be designed for use on cell phones and other hand-held devices their young audiences carry.  The Web developer wants to make the pages conform to the latest standard, so she should make the pages follow the _____ DTD.
    1. strict - correct answer
    2. frameset
    3. transitional
    4. none of the above
  20. Case 9-2:  Under the Sea is a scuba shop that sells new wave scuba gear to hip urban teens and young adults.  The Web developer, Mary, wants the pages to be designed for use on cell phones and other hand-held devices their young audiences carry.  Which element should Mary not use in her Web pages to avoid violating the strict DTD rules?
    1. body
    2. img
    3. font - correct answer
    4. span

  21. Case 9-3:  Pintsized Playmates is a Web site where parents can find approved toys for toddlers.  They are looking to make a set of pages where people can navigate through the products.  Steve is currently thinking about using frames, as he has heard that they will meet what he wants to do.  In addition to supporting documents containing frames, the frameset DTD also supports _____ elements and attributes.
    1. parsed
    2. minimized
    3. deprecated - correct answer
    4. CML
  22. Case 9-3:  Pintsized Playmates is a Web site where parents can find approved toys for toddlers.  They are looking to make a set of pages where people can navigate through the products.  Steve is currently thinking about using frames, as he has heard that they will meet what he wants to do. In XHTML, which DTD should Steve add to his pages?
    1. strict
    2. frameset - correct answer
    3. transitional
    4. none of the above
  23. Deprecated attributes are allowed under the strict DTD.
    1. true
    2. false - correct answer
  24. Documents written in MathML and CML are _____ documents.
    1. XHTML
    2. HTML
    3. XSL
    4. XML - correct answer
  25. Each of the elements in the _____ namespace is marked by a prefix attached to the element name.
    1. local - correct answer
    2. default
    3. global
    4. value
  26. HTML cannot be applied inconsistently, because of strict DTDs required by the language.
    1. true
    2. false - correct answer
  27. HTML has been used to create several markup languages, including MathML and CML.
    1. true
    2. false - correct answer
  28. HTML is limited to those organizations that can afford the cost and overhead of maintaining the complex environments for programming in that language.
    1. true
    2. false - correct answer
  29. If you get an OMITTAG error from the validator for a hr tag, you should add _____ before the > of the tag.
    1. *
    2. @
    3. / - correct answer
    4. !
  30. If you want to display a < symbol in your document, you have to use the special character symbol _____.
    1. &lt; - correct answer
    2. &gt;
    3. &>;
    4. >>;
  31. If you want to test code from international documents, you will need to select a different option from the validator _____ list box.
    1. File
    2. XML builder
    3. DTD
    4. Encoding - correct answer
  32. In HTML, which of the following are examples of attribute minimization?
    1. disabled
    2. multiple
    3. noresize
    4. all of the above - correct answer
  33. In HTML, which of the following is not an example of attribute minimization?
    1. checked
    2. value - correct answer
    3. noresize
    4. selected
  34. In PCDATA, the _____ symbol is used to mark the beginning of an element tag.
    1. >
    2. < - correct answer
    3. &
    4. ;
  35. In PCDATA, you cannot enter _____ into a document as text because it is used to process information.
    1. @
    2. & - correct answer
    3. .
    4. all of the above
  36. In the figure above, the item numbered 1 indicates the _____.
    1. XML parser
    2. DTD - correct answer
    3. XML prolog
    4. XML application
  37. In the figure above, what do you need to add to fix the tag pointed at by item 2 under the strict DTD?
    1. alt=""
    2. map="" /
    3. map=""
    4. alt=""/ - correct answer
  38. In the figure above, the item numbered 2 indicates the _____.
    1. XML parser - correct answer
    2. DTD declaration
    3. DTD id
    4. XML prolog
  39. In the syntax of the DOCTYPE declaration for a general XML document, the type attribute identifies the type of _____.
    1. schema
    2. root
    3. DTD - correct answer
    4. index
  40. Individual users cannot create their own XML documents.
    1. true
    2. false - correct answer
  41. Microsoft introduced the _____ element into its browser when it saw a need for internal frames.
    1. frame
    2. frameset
    3. iframe - correct answer
    4. exframe
  42. Once you have a document that passes the validation test, you may want to make a note of this on your Web page.
    1. true - correct answer
    2. false
  43. SGML can be used on _____.
    1. Windows
    2. Linux
    3. MacOS X
    4. all of the above - correct answer
  44. SGML is device-independent and system-independent.
    1. true - correct answer
    2. false
  45. The _____ DTD does not allow any presentational features or deprecated HTML elements and attributes.
    1. transitional
    2. frameset
    3. strict - correct answer
    4. basic
  46. The _____ DTD does not support frames or inline frames.
    1. frameset
    2. basic
    3. strict - correct answer
    4. main
  47. The _____ DTD includes the deprecated elements and attributes of HTML.
    1. presentational
    2. transitional - correct answer
    3. deprecated
    4. strict
  48. The _____ DTD supports many of the presentational features of HTML.
    1. presentational
    2. strict
    3. transitional - correct answer
    4. deprecated
  49. The action attribute is a required attribute of the _____ element.
    1. bdo
    2. form - correct answer
    3. area
    4. textarea
  50. The alt attribute is a required attribute of the _____ element.
    1. style
    2. param
    3. base
    4. img - correct answer

No comments:

Post a Comment