Friday, January 3, 2014

Tutorial 11 Questions 51 through 100



  1. It is not always clear when to use attribute values rather than inserting a new _____.
    1. element - correct answer
    2. parser
    3. PCDATA
    4. CDATA
  2. Make sure to end every entity reference with a(n) _____.
    1. period
    2. comma
    3. apostrophe
    4. semicolon - correct answer
  3. Microsoft developed an XML parser called XBIT for its Internet Explorer browser.
    1. true
    2. false - correct answer
  4. One rule of thumb is that if a value is something you do not want displayed, place it in a(n) _____.
    1. attribute
    2. keyspan
    3. element - correct answer
    4. applet
  5. One rule of thumb is to place content with _____ and to place information describing or identifying that content within an attribute.
    1. keyspans
    2. applets
    3. elements - correct answer
    4. documents
  6. One SGML application used to create Web pages is _____.
    1. Unix
    2. Perl
    3. Java
    4. HTML - correct answer
  7. Only DTDs, and not schemas, contain rules for how data in one of the items shown in the accompanying figure should be structured.
    1. true
    2. false - correct answer
  8. SGML has been the chosen vehicle for creating structured documents in business and government organizations of all sizes.
    1. true - correct answer
    2. false
  9. SGML has many of the properties of HTML, but without the expensive overhead.
    1. true
    2. false - correct answer
  10. SGML hosts are markup languages based on teh SGML architecture and applied to specific types of information.
    1. true
    2. false - correct answer

  11. SGML is an easy language to learn and apply.
    1. true
    2. false - correct answer
  12. SGML is system-dependent.
    1. true
    2. false - correct answer
  13. SGML is often used in creating SGML _____.
    1. applications - correct answer
    2. indices
    3. markups
    4. elements
  14. Shown in the accompanying figure, _____ was developed to code molecular information.
    1. CML - correct answer
    2. CDF
    3. MML
    4. OFX
  15. Some argue that attributes should never be used because they add to the document's complexity.
    1. true - correct answer
    2. false
  16. Terseness in XML markup is of maximum importance.
    1. true
    2. false - correct answer
  17. The _____ symbol indicates that a child element occurs any number of times.
    1. ?
    2. * - correct answer
    3. +
    4. -
  18. The _____ symbol indicates that a child element occurs at least once.
    1. ?
    2. *
    3. -
    4. + - correct answer
  19. The _____ symbol indicates that a child elements occurs once or not at all.
    1. ? - correct answer
    2. *
    3. +
    4. -
  20. The accompanying figure shows a molecule described using _____.
    1. XML - correct answer
    2. CDF
    3. MML
    4. OFX

  21. The default encoding scheme for an XML declaration is _____.
    1. ISO-8559-1
    2. UTF-8 - correct answer
    3. Latin-1
    4. DTD 2.0
  22. The default version value for an XML declaration is _____.
    1. 1.0 - correct answer
    2. 1.1
    3. 1.2 
    4. 2.0
  23. The document body consists of the _____ to be stored in the document.
    1. elements - correct answer
    2. attributes
    3. values
    4. keys
  24. The first part of the prolog is the XML _____.
    1. index
    2. master
    3. declaration - correct answer
    4. link
  25. The ISO/IEC character set is an international numbering system for referencing characters from virtually any language.
    1. true - correct answer
    2. false
  26. The name in an element's closing tag must match the name in the opening tag.
    1. true - correct answer
    2. false
  27. The root element in the accompanying figure's tree diagram is also known as the base element.
    1. true
    2. false - correct answer
  28. The standards for XML are developed and maintained by _____.
    1. NASA
    2. the NSF
    3. the W3C - correct answer
    4. DARPA
  29. The string ' is a(n) character reference for the apostrophe.
    1. true
    2. false - correct answer
  30. The UTF-8 character set includes many characters from non-English Western European languages.
    1. true
    2. false - correct answer
  31. The version declaration in the XML declaration allows XML to be used across a range of written languages.
    1. true
    2. false - correct answer
  32. The XML _____ signals to the program reading the file that the document is written in XML.
    1. statement
    2. declaration - correct answer
    3. index
    4. link
  33. There is a significant difference between the two versions of XML declarations (1.0 and 1.1).
    1. true
    2. false - correct answer
  34. To create a DTD or a schema, you need access to a _____.
    1. word processor
    2. spreadsheet program
    3. text editor - correct answer
    4. WYSIWYG authoring program
  35. Which of the following includes an XML parser?
    1. Opera 8.0
    2. Firefox 1.0
    3. Safari
    4. all of the above - correct answer
  36. Which of the following is NOT true of a CDATA section.
    1. It cannot contain markup characters - correct answer
    2. It can be placed anywhere within a document
    3. It cannot be nested within other CDATA sections
    4. It cannot be empty
  37. Whitespace is treated the same in HTML as in XML
    1. true
    2. false - correct answer
  38. XML applications like those shown in the accompanying figure are also known as _____.
    1. elements
    2. keys
    3. vocabularies - correct answer
    4. legends
  39. XML can be used to create XML _____.
    1. applications - correct answer
    2. indices
    3. markups
    4. elements
  40. XML comments like those in the accompanying figure follow the same syntax as HTML comments.
    1. true - correct answer
    2. false
  41. XML documents should be _____ files.
    1. text - correct answer
    2. binary
    3. tab-delimited
    4. comma-separated
  42. XML has its roots in _____.
    1. HTML
    2. SGML - correct answer
    3. XHTML
    4. Perl
  43. XML has to be compatible with the major Web protocols, including _____.
    1. Java
    2. ASP
    3. HTTP - correct answer
    4. STP
  44. XML has to be compatible with the major Web protocols, including _____.
    1. Java
    2. ASP
    3. HTTP - correct answer
    4. STP
  45. XML must be effective for which of the following?
    1. financial transactions
    2. voice mail
    3. word processing
    4. all of the above - correct answer
  46. Case 11-1:  Teddy is new to the use of XML, so he has a lot of basic questions about the fundamentals, including some philosophical questions about the language.  Teddy asks how the rules for a given XML vocabulary are specified, and you explain that it is done using either a document type definition (DTD) or schema.  Which of the following is NOT a true statement about DTDs and schemas?
    1. Every XML document must have an ssociated DTD or schema.
    2. To create a DTD or schema, you only need access to a text editor.
    3. DTDs can be included within XML documents, while schema must be accessed as external files - wrong answer
    4. Both DTDs and schemas control what code and content a document may have.
  47. Element names may not contain _____.
    1. letters
    2. the string "xml"
    3. black spaces
    4. the underscore character - wrong answer
  48. The kind of XML content in red in the accompanying figure cannot contain double _____.
    1. apostrophes
    2. periods - wrong answer
    3. hyphens
    4. quotation marks - wrong answer
  49. Which of the following browsers preserves white space used within a CDATA section?
    1. Safari
    2. Internet Explorer
    3. Firefox
    4. all of the above - wrong answer
  50. XML supports entity references for all of the following EXCEPT _____.
    1. >
    2. & - wrong answer
    3. , - wrong answer
    4. *