T4-MC-All
4 Pages

T4-MC-All

Course: CS 178, Spring 2010

School: Ohlone

Word Count: 1139

Rating:

Document Preview

T4-MC-All Multiple Choice Identify the letter of the choice that best completes the statement or answers the question. ____ 1. DTDs employ a syntax called ____, which is different from the syntax used for XML. a. SQL c. PHP b. EBNF d. Perl 2. The idea of using XML to create a markup language that can validate other XML documents is the idea behind ____. a. DTDs c. namespaces b. schemas d. All of the above 3. ____...

Unformatted Document Excerpt
Coursehero >> California >> Ohlone >> CS 178

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Choice T4-MC-All Multiple Identify the letter of the choice that best completes the statement or answers the question. ____ 1. DTDs employ a syntax called ____, which is different from the syntax used for XML. a. SQL c. PHP b. EBNF d. Perl 2. The idea of using XML to create a markup language that can validate other XML documents is the idea behind ____. a. DTDs c. namespaces b. schemas d. All of the above 3. ____ is the most widely adopted schema standard. a. DDML c. TREX b. RELAX d. XML Schema 4. A file written in XML Schema typically ends with the ____ file extension. a. .xsd c. .xsl b. .xst d. .xs 5. By convention, the namespace prefix ____ is assigned to the XML Schema namespace in order to identify elements and attributes that belong to the XML Schema vocabulary. a. xsl c. xsm b. xst d. xsd 6. XML Schema supports ____ types of content. a. two c. four b. three d. six 7. Examples of a(n) ____ type of content are the value of an attribute or the textual content of an element. a. aggregated c. simple b. integrated d. complex 8. Examples of a(n) ____ type of content are empty elements that contain attributes or elements that contain child elements. a. simple c. complex b. aggregated d. integrated 9. Perhaps the most commonly used data type in XML Schema is ____. a. sequence c. empty b. choice d. string 10. The ____ data type allows an element to contain any text string. a. pcdata c. alpha b. text d. string 11. An attribute is an example of a(n) ____ type. a. simple c. integrated b. complex d. aggregated 12. If am element contains attributes, you have to extend the simple content model to include attributes through the use of the <____> tag. a. extension c. additive b. extensible d. integrated 13. The ____ and extension elements are important tools used by XML Schema to derive new data types and design complex content models. a. additive c. integrated ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ 14. ____ 15. ____ 16. ____ 17. ____ 18. ____ 19. ____ 20. ____ 21. ____ 22. ____ 23. ____ 24. ____ 25. ____ 26. ____ 27. ____ 28. b. simpleContent d. extensible To indicate whether an attribute is required, you add the ____ attribute to the element declaration or reference. a. optional c. use b. require d. attach The ____ value of the use attribute means that the attribute cannot be used with the element. a. forbid c. prohibited b. preclude d. excluded Declarations with ____ scope can be referenced throughout the schema file. a. global c. wide b. local d. full Declarations with ____ scope are available only to a given complex type. a. local c. minor b. global d. limited The ____ compositor defines a specific order for the child elements. a. choice c. target b. all d. sequence The ____ compositor allows any one of the child elements to appear in the instance document. a. choice c. target b. sequence d. all The ____ compositor allows any of the child elements to appear in any order in the instance document. a. target c. all b. sequence d. choice Any time the minOccurs attribute is set to ____ the declared item is optional. a. 0 c. -1 b. 1 d. null The maxOccurs attribute can have a value of ____ for unlimited occurrences of the child element. a. unlimited c. 100 b. max d. unbounded If both the maxOccurs and minOccurs attributes are missing, their values are assumed to be ____. a. 0 c. 1 b. -1 d. unbounded To specify that an element contains both text and child elements, add the ____ attribute the to <complexType> of an element. a. double c. aggregate b. multiple d. mixed Which of the following is a category of data type in XML Schema? a. common c. static b. built-in d. dynamic Which of the following is a class of built-in data type? a. simple c. dynamic b. complex d. primitive A primitive data type is also known as a ____ type. a. main c. key b. base d. indexed A base type is one of ____ fundamental data types not defined in terms of other types. a. 1 5 c. 2 4 b. 19 d. 29 ____ 29. A derived data type is a collection of ____ data types that the XML Schema developers created based on the primitive types. a. 1 9 c. 2 5 b. 23 d. 27 ____ 30. The ____ data type is a text string containing valid XML names with no white space. a. xs:string c. xs:NMTOKEN b. xs:token d. xs:IDREFS ____ 31. The ____ data type is a text string similar to the NMTOKEN data type except that names must begin with a letter or the character : or -. a. xs:token c. xs:Name b. xs:ENTITY d. xs:NCName ____ 32. Which of the following is NOT a primitive data type? a. decimal c. unary b. double d. float ____ 33. With the xs:float data type, non-numeric values can be represented by ____. a. INF c. BIN b. NaN d. 0 ____ 34. Date values must be entered in the format ____. a. yyyymmdd c. yyyy-mm-dd b. yymmdd d. yy/mm/dd ____ 35. A list data type uses ____ as the delimiter. a. commas c. white space b. tabs d. Any of the above ____ 36. The ____ facet constrains the data type to a specified list of values. a. length c. member b. enumeration d. pattern ____ 37. The ____ facet specifies the length of the data type in characters or items. a. length c. class b. list d. pattern ____ 38. The ____ facet constrains the lexical space of the data type to follow a specific character pattern. a. whiteSpace c. length b. pattern d. totalDigits ____ 39. The ____ facet has three values: preserve, replace, and collapse. a. whiteSpace c. maxExclusive b. length d. pattern ____ 40. The ____ facet constrains the data type to be less than a maximum value. a. fractionDigits c. maxExclusive b. minInclusive d. totalDigits ____ 41. The ____ facet specifies the maximum number of decimal places to the right of the decimal point in the data types value. a. pattern c. fractionDigits b. enumeration d. length ____ 42. The ____ facet specifies the maximum number of decimals in the data types value. a. fractionDigits c. whiteSpace b. totalDigits d. pattern ____ 43. A ____ expression is a text string that defines a character pattern. a. stated c. regular b. defined d. base ____ 44. The ____ character type is a boundary around a word. a. \B c. \b b. \d d. \c ____ 45. The ____ character type is a white space character. a. \S c. \ w b. \s d. \W ____ 46. The ____ character set matches any lowercase letter. a. [A-Z] c. [a-z] b. [a-zA-Z] d. [chars] ____ 47. A(n) ____ complex type has no name attribute used in the opening <complexType> tag. a. empty c. anonymous b. named d. global scope ____ 48. In a(n) ____ design, all declarations are made globally. a. Russian doll c. flat catalog b. Venetian blind d. aggregated ____ 49. A(n) ____ design has only one global element with everything else nested inside of it. a. Venetian blind c. Russian doll b. flat catalog d. aggregated ____ 50. A(n) ____ design does not declare elements and attributes globally but instead creates named types and references those types within a single global element. a. Russian doll c. Venetian blind b. aggregated d. flat catalog

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Ohlone - CS - 178
CS 178 - XML Midterm 1 is on Saturday, 3/27/10, 10:30 am 12:30 pm in Room HH113. All online students are required to attend the exam in person. The midterm consists of two parts. The first part (100 points) is 25 questions of Multi choice type, covering T
Ohlone - CS - 178
/*New Perspectives on XML Tutorial 1 Case Problem 2 Filename: plays.css This file contains styles used in the hamlet.xml file.*/ Play Summary Title Act Act_Number s serif S Scene cfw_display: block; width: 680px; font-family: Times New Roman; font-size:
Ohlone - CS - 178
/*New Perspectives on XML Tutorial 1 Case Problem 3 Filename: staff.css This file contains styles used in the staff2.xml file.*/ S Staff cfw_margin: 15px Notes cfw_display:block; width: 500px; color:red; padding: 10px; font-size: 10pt; border: 2px solid
Ohlone - CS - 178
&lt;?xml version=&quot;1.0&quot; &gt; &lt;!- Personnel Records for QTemps -&gt; &lt;!-Author: Date: -&gt; &lt;Staff&gt; &lt;Notes&gt; &lt;![CData[ There are over 85 employees at Biotech. This document contains data on each employee's status, department affiliation, years employed, social security
Ohlone - CS - 178
/*New Perspectives on XML Tutorial 1 Case Problem 4 Filename: delton.css This file contains styles used in the accounts.xml file.*/ body cfw_font-family:Arial, Helvetica, sans-serif Client cfw_display:block; margin-bottom:20px Name, Address, Street, Pho
Ohlone - CS - 178
/*New Perspectives on XML Tutorial 1 Review Assignment Filename: jw2.css This file contains styles used in the rare.xml file.*/ rare_items cfw_display: block; border: 3px solid black; width: 550px; margin: 5px; padding-bottom: 10px title cfw_display: bl
Ohlone - CS - 178
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot; ?&gt; &lt;!-New Perspectives on XML Tutorial 2 Case Problem 1 EPAC-MO List of Agents Filename: agents.xml Supporting Files: -&gt; &lt;agents&gt; &lt;agent id=&quot;a01&quot; list=&quot;c001,c002,c004&quot;&gt; &lt;first&gt;Beverly&lt;/first&gt; &lt;last&gt;Kau
Ohlone - CS - 178
/*New Perspectives on XML Tutorial 2 Case Problem 1 Filename: agents.css Author: Date: This file contains styles used in the EPAC contribution report for agent names*/ agentcfw_display: block; font-family: Arial, Helvetica, sans-serif; font-size: 12pt;
Ohlone - CS - 178
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot; ?&gt; &lt;!-New Perspectives on XML Tutorial 2 Case Problem 1 EPAC-MO List of Contributors Filename: contrib.xml Supporting Files: -&gt; &lt;contributions&gt; &lt;contributor id=&quot;c001&quot; agent=&quot;a01&quot;&gt; &lt;first&gt;David&lt;/first&gt;
Ohlone - CS - 178
/*New Perspectives on XML Tutorial 2 Case Problem 1 Filename: agents.css Author: Date: This file contains styles used in the EPAC contribution report for agent names*/ contributor cfw_display: block; margin: 10px 0px 10px 30px; width: 600px; border: 1px
Ohlone - CS - 178
/*New Perspectives on XML Tutorial 2 Case Problem 1 Filename: epac.css This file contains styles used in the EPAC contribution report*/ b body cfw_margin: 0px#logo cfw_width: 100%; background-color: white; border-bottom: 1px solid rgb(0,128,0) h1 cfw_
Ohlone - CS - 178
Ohlone - CS - 178
Daily Contribution ReportEPAC-MO 312 University Ave. Cutler, MO 31288
American Intl. University - EC - 1923
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381
American Intl. University - ECON - 0381