- It is not always clear when to use attribute values rather than inserting a new _____.
- element - correct answer
- parser
- PCDATA
- CDATA
- Make sure to end every entity reference with a(n) _____.
- period
- comma
- apostrophe
- semicolon - correct answer
- Microsoft developed an XML parser called XBIT for its Internet Explorer browser.
- true
- false - correct answer
- One rule of thumb is that if a value is something you do not want displayed, place it in a(n) _____.
- attribute
- keyspan
- element - correct answer
- applet
- One rule of thumb is to place content with _____ and to place information describing or identifying that content within an attribute.
- keyspans
- applets
- elements - correct answer
- documents
- One SGML application used to create Web pages is _____.
- Unix
- Perl
- Java
- HTML - correct answer
- Only DTDs, and not schemas, contain rules for how data in one of the items shown in the accompanying figure should be structured.
- true
- false - correct answer
- SGML has been the chosen vehicle for creating structured documents in business and government organizations of all sizes.
- true - correct answer
- false
- SGML has many of the properties of HTML, but without the expensive overhead.
- true
- false - correct answer
- SGML hosts are markup languages based on teh SGML architecture and applied to specific types of information.
- true
- false - correct answer
- SGML is an easy language to learn and apply.
- true
- false - correct answer
- SGML is system-dependent.
- true
- false - correct answer
- SGML is often used in creating SGML _____.
- applications - correct answer
- indices
- markups
- elements
- Shown in the accompanying figure, _____ was developed to code molecular information.
- CML - correct answer
- CDF
- MML
- OFX
- Some argue that attributes should never be used because they add to the document's complexity.
- true - correct answer
- false
- Terseness in XML markup is of maximum importance.
- true
- false - correct answer
- The _____ symbol indicates that a child element occurs any number of times.
- ?
- * - correct answer
- +
- -
- The _____ symbol indicates that a child element occurs at least once.
- ?
- *
- -
- + - correct answer
- The _____ symbol indicates that a child elements occurs once or not at all.
- ? - correct answer
- *
- +
- -
- The accompanying figure shows a molecule described using _____.
- XML - correct answer
- CDF
- MML
- OFX
- The default encoding scheme for an XML declaration is _____.
- ISO-8559-1
- UTF-8 - correct answer
- Latin-1
- DTD 2.0
- The default version value for an XML declaration is _____.
- 1.0 - correct answer
- 1.1
- 1.2
- 2.0
- The document body consists of the _____ to be stored in the document.
- elements - correct answer
- attributes
- values
- keys
- The first part of the prolog is the XML _____.
- index
- master
- declaration - correct answer
- link
- The ISO/IEC character set is an international numbering system for referencing characters from virtually any language.
- true - correct answer
- false
- The name in an element's closing tag must match the name in the opening tag.
- true - correct answer
- false
- The root element in the accompanying figure's tree diagram is also known as the base element.
- true
- false - correct answer
- The standards for XML are developed and maintained by _____.
- NASA
- the NSF
- the W3C - correct answer
- DARPA
- The string ' is a(n) character reference for the apostrophe.
- true
- false - correct answer
- The UTF-8 character set includes many characters from non-English Western European languages.
- true
- false - correct answer
- The version declaration in the XML declaration allows XML to be used across a range of written languages.
- true
- false - correct answer
- The XML _____ signals to the program reading the file that the document is written in XML.
- statement
- declaration - correct answer
- index
- link
- There is a significant difference between the two versions of XML declarations (1.0 and 1.1).
- true
- false - correct answer
- To create a DTD or a schema, you need access to a _____.
- word processor
- spreadsheet program
- text editor - correct answer
- WYSIWYG authoring program
- Which of the following includes an XML parser?
- Opera 8.0
- Firefox 1.0
- Safari
- all of the above - correct answer
- Which of the following is NOT true of a CDATA section.
- It cannot contain markup characters - correct answer
- It can be placed anywhere within a document
- It cannot be nested within other CDATA sections
- It cannot be empty
- Whitespace is treated the same in HTML as in XML
- true
- false - correct answer
- XML applications like those shown in the accompanying figure are also known as _____.
- elements
- keys
- vocabularies - correct answer
- legends
- XML can be used to create XML _____.
- applications - correct answer
- indices
- markups
- elements
- XML comments like those in the accompanying figure follow the same syntax as HTML comments.
- true - correct answer
- false
- XML documents should be _____ files.
- text - correct answer
- binary
- tab-delimited
- comma-separated
- XML has its roots in _____.
- HTML
- SGML - correct answer
- XHTML
- Perl
- XML has to be compatible with the major Web protocols, including _____.
- Java
- ASP
- HTTP - correct answer
- STP
- XML has to be compatible with the major Web protocols, including _____.
- Java
- ASP
- HTTP - correct answer
- STP
- XML must be effective for which of the following?
- financial transactions
- voice mail
- word processing
- all of the above - correct answer
- 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?
- Every XML document must have an ssociated DTD or schema.
- To create a DTD or schema, you only need access to a text editor.
- DTDs can be included within XML documents, while schema must be accessed as external files - wrong answer
- Both DTDs and schemas control what code and content a document may have.
- Element names may not contain _____.
- letters
- the string "xml"
- black spaces
- the underscore character - wrong answer
- The kind of XML content in red in the accompanying figure cannot contain double _____.
- apostrophes
- periods - wrong answer
- hyphens
- quotation marks - wrong answer
- Which of the following browsers preserves white space used within a CDATA section?
- Safari
- Internet Explorer
- Firefox
- all of the above - wrong answer
- XML supports entity references for all of the following EXCEPT _____.
- >
- & - wrong answer
- , - wrong answer
- *
Friday, January 3, 2014
Tutorial 11 Questions 51 through 100
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment