Friday, January 3, 2014

Tutorial 11 Questions 1 through 50



  1. _____ can be thought of as SGML Light
    1. HTML
    2. Perl
    3. XML - correct answer
    4. SQL
  2. _____ is a language introduced in 1980 that describes the content and structure of any machine-readable information.
    1. XML
    2. HTML
    3. XHTML
    4. SGML - correct answer
  3. _____ is a style sheet language developed specifically for XML.
    1. XSS
    2. CSS
    3. XSL - correct answer
    4. both a and b
  4. _____ is an XML vocabulary used for automatic delivery of information from Web publishers to PCs PDAs, cell phones, and other devices.
    1. RSS
    2. SMIL
    3. MML
    4. CDF - correct answer
  5. _____ is an XML vocabulary used for coding molecular information.
    1. CML - correct answer
    2. XHTML
    3. OFX
    4. MML
  6. _____ is an XML vocabulary used for creating audio dialogues that feature synthesized speech and speech recognition.
    1. OFX
    2. RSS
    3. SMIL
    4. VoiceXML - correct answer
  7. _____ is an XML vocabulary used for editing interactive audiovisual presentations involving streaming audio, video, text and any other media type.
    1. CML
    2. MML
    3. RSS
    4. SMIL - correct answer
  8. _____ is an XML vocabulary used for exchanging financial data between financial institution, for example.
    1. MathML
    2. MML
    3. OFX - correct answer
    4. CML
  9. _____ is an XML vocabulary used for presenting and evaluating equations and operations.
    1. MML
    2. CML
    3. XHTML
    4. MathML - correct answer
  10. _____ is an XML vocabulary used for writing HTML as an XML application.
    1. RSS
    2. VoiceXML
    3. XHTML - correct answer
    4. MML

  11. _____ is the style sheet standard developed for use with HTML on the Web.
    1. XSL
    2. XSM
    3. CSS - correct answer
    4. MSXML
  12. _____ was developed in response to the confusion that resulted from competing versions of RSS that made it difficult for developers to move forward with the creation of news feed sites.
    1. JavaScript
    2. Perl
    3. RML
    4. Atom - correct answer
  13. A _____ document contains no syntax errors and satisfies the general specifications for XML code.
    1. synthesized
    2. compound
    3. checked
    4. well-formed - correct answer
  14. A common mistake in XML documents is to forget that the apostrophe symbol is interpreted by the XML processor as a character reference and not as a character.
    1. true
    2. false - correct answer
  15. A(n) _____ element is an element that contains no content.
    1. null
    2. void
    3. open - correct answer
    4. rich
  16. A(n) _____ language describes the structure and content of data.
    1. device-independent
    2. markup - correct answer
    3. devicde-driven
    4. indexed
  17. An open element is also known as a(n) _____ element.
    1. null
    2. void
    3. empty - correct answer
    4. key
  18. An optional _____ occurs after the document body in an XML document and contains any final comments or processing instructions.
    1. chapter 
    2. glossary
    3. epilog - correct answer
    4. dictionary
  19. An RSS file is written in _____.
    1. SGML
    2. HTML
    3. XML - correct answer
    4. AML

  20. An XML document consists of the _____, the document body and the epilog.
    1. grammar
    2. index
    3. prolog - correct answer
    4. chapter
  21. An XML document that satisfies the rules of a DTD or schema is said to be a(n) _____ document.
    1. free
    2. indexed
    3. valid - correct answer
    4. roster
  22. As XML has grown in popularity, standard _____ like those in the accompanying figure have been developed across a wide range of disciplines.
    1. legends
    2. elements
    3. vocabularies - correct answer
    4. keys
  23. Attribute values must be enclosed within _____.
    1. ampersands
    2. carets
    3. single or double quotes - correct answer
    4. colons
  24. 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 has heard that an XML document must be well-formed.  Which of the following is NOT a characteristic of a well-formed document?
    1. It contains no syntax errors.
    2. It has a prolog, body and epilog
    3. It includes an XML declaration
    4. It satisfies the rules of its DTD or schema - correct answer
  25. 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.  You tell Teddy that XML can be used to create ML vocabularies, which are markup languages tailored to contain specific pieces of information.  Which of the following is NOT an example of a standard XML vocabulary?
    1. CML
    2. SGML - correct answer
    3. XHTML
    4. CDF
  26. 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.  You tell Teddy about an important XML vocabulary called RSS.  What is this vocabulary used for?
    1. describing recreation and sports events
    2. distributing news articles or other changing content to subscribers - correct answer
    3. describing recipes and menu items
    4. editing interactive audiovisual presentations
  27. Case 11-2:  Stephanie is tracing through her XML code to find syntax errors.  Finally, Stephanie double checks all of the entity references used in the document.  Which of the following is NOT one of the entity references that XML supports?
    1. &
    2. &attr; - correct answer
    3. >
    4. "
  28. Case 11-2:  Stephanie is tracing through her XML code to find syntax errors. Stephanie begins by looking for incorrect element names.  Which of the following is a problematic name?
    1. _recipe
    2. street address - correct answer
    3. NAME
    4. Item
  29. Case 11-2:  Stephanie is tracing through her XML code to find syntax errors. Stephanie next looks at the elements that do not use nesting, and she finds one that is formatted incorrectly.  Which of the following could it be?
    1. <name>Perry</name>
    2. <name />
    3. <name>Perry</NAME> - correct answer
    4. none of these
  30. Stephanie is tracing through her XML code to find snytax errors.  Stephanie then reviews all of the elements with nesting, and she discovers a number of problems.  Which of the following is a CORRECT use of nesting?
    1. <assignment>Homework 1<points>50<points></assignment>
    2. <assignment>Homework 1</assignment><points>50</points>
    3. <assignment>Homework 1<points>50</points></assignment> - correct answer
    4. <assignment>Homework 1<points>50</assignment></points>
  31. Character data is not processed--it is treated as pure data content.
    1. true - correct answer
    2. false
  32. Controlling what code and content a document from a given vocabulary may have can be done by attaching a _____.
    1. valid document
    2. schema - correct answer
    3. CML
    4. glossary
  33. Documents written in SGML must be used on devices running the Unix operating system.
    1. true
    2. false - correct answer
  34. Documents written in SGML must be used on specific types of devices, which is one of the languages limitations.
    1. true
    2. false - correct answer
  35. Element names are not case sensitive.
    1. true
    2. false - correct answer
  36. Element names cannot begin with the letters _____.
    1. data
    2. http
    3. xml - correct answer
    4. xsl
  37. Elements that are side-by-side in a document's hierarchy are _____ elements.
    1. extended
    2. extensible
    3. sibling - correct answer
    4. familial
  38. Empty tags are not part of pcdata.
    1. true
    2. false - correct answer
  39. Every element in an XML document can contain at most one attribute.
    1. true
    2. false - correct answer
  40. HTML can be inconsistently applied.
    1. true - correct answer
    2. false
  41. HTML was originally designed as a primary souce for information storage and retrieval.
    1. true
    2. false - correct answer
  42. If an XML document does not include a root element, it is not considered well-formed and is rejected.
    1. true - correct answer
    2. false
  43. In an XML declaration, a stand alone value of no indicates that a document is self-contained.
    1. true
    2. false - correct answer
  44. In the accompanying figure, to indicate that a recipe may have no author or multiple authors, the _____ symbol will be put in the position marked 2.
    1. ?
    2. * - correct answer
    3. +
    4. -
  45. In the accompanying figure, to indicate that a recipe may or may not have an author, the _____ symbol will be put in the position marked 1.
    1. ? - correct answer
    2. *
    3. +
    4. -
  46. In the accompanying figure, to indicate that the ingredients collection must contain at least one ingredient, the _____ symbol will be put in the position marked 3.
    1. ?
    2. *
    3. + - correct answer
    4. -
  47. In the accompanying figure's tree diagram, all of the elements in the body are children of a single element called the _____ element.
    1. base
    2. fundamental
    3. root - correct answer
    4. key
  48. In the tree diagram in the accompanying figure, the root element is the _____ element.
    1. recipes - correct answer
    2. recipe
    3. ingredient
    4. title
  49. In whitespace trimming consecutive occurrences of white space area treated as a single space.
    1. true
    2. false - correct answer
  50. In XML, white space is ignored within a document's prolog and dialog and within any element tags.
    1. true
    2. false - correct answer

No comments:

Post a Comment