test141xml 部分真题 (刚考的,决对真题) 请高手给出答案!
1 A group of companies that currently processes purchase orders (POs) using XML has set up a B2B trading community in order to exchange the POs. Which of the following XML technologies would provide the MOST benefits?
(Select 2)
A.
Use published DTDs to standardize the PO format.
B.
Use XML Query to retrieve POs from another company's database.
C.
Use XML Infoset to standardize field names between companies.
D.
Use XSLT to transform POs to/from internal PO formats.
2 Which of the following MUST be present in every SOAP request?
A.
SOAP Envelope, SOAP Header, SOAP Body
B.
SOAP Header, SOAP Body
C.
SOAP Envelope, SOAP Body
D.
SOAP Envelope, SOAP Header
3 Which of the following are TRUE about XML Schema datatypes?
(Select 3)
A.
A new type can be derived by extending multiple base types.
B.
A new complex type's content model includes the base type's content model.
C.
Derivation of a complex type by extension is much like inheritance in an O-O language.
D.
anyType is the default datatype for an element if no type is specified.
E.
Datatypes that are derived by extension can add and remove attributes.
4 Which of the following, if any, is the CORRECT mechanism to link an XML document to the given XML Schema?
<?xml version="1.0" encoding="UTF-8"?><xsd:schema xmlns:s1="http://www.schemaValid.com/s1ns" targetNamespace="http://www.schemaValid.com/s1ns" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" > <xsd:element name="root"> <xsd:complexType> <xsd:sequence> <xsd:element name="grade" type="s1:abc"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:simpleType name="abc"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="a"/> <xsd:enumeration value="b"/> <xsd:enumeration value="c"/> </xsd:restriction> </xsd:simpleType></xsd:schema>
A.
<!DOCTYPE root SCHEMALOCATION "http://www.schemaValid.com/s1ns.xsd">.
B.
<!DOCTYPE root SYSTEM "http://www.schemaValid.com/s1ns.xsd">
C.
<s1:root xmlns:s1="http://www.schemaValid.com/s1ns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.schemaValid.com/s1ns http://www.schemaValid.com/s1ns.xsd" > <s1:grade>a</s1:grade></s1:root>
D.
<root xmlns="http://www.schemaValid.com/s1ns s1ns.xsd" > <grade>a</grade></root>
E.
There was no global element specified in the XML Schema.
5 Given the following DTD, what is the BEST practice for modifying the conditional section?
<!-- product.dtd --><!ENTITY % useSuppliers "IGNORE" ><!ENTITY % noSuppliers "INCLUDE" ><![%useSuppliers; [<!ELEMENT CoInc (Product, Supplier*, Invoice*) ><!ELEMENT Supplier (#PCDATA) >]]><![%noSuppliers;<!ELEMENT CoInc (Product, Invoice*) >]]><!ELEMENT Product (#PCDATA) ><!ELEMENT Invoice (#PCDATA) >
A.
Edit and update the parameter entities useSuppliers and noSuppliers in the DTD.
B.
Redefine the parameter entities useSuppliers and noSuppliers in the internal subset of the XML instance.
C.
Update the parameter entities useSuppliers and noSuppliers within XSLT.
D.
Define appropriate business rules applied by the XML processor.
问题点数:0、回复次数:7Top
1 楼funlove2(<我很坏^_^>)回复于 2003-11-01 16:52:11 得分 0
帮忙的请留下email 我可以赠送711 db2真题 包过Top
2 楼funlove2(<我很坏^_^>)回复于 2003-11-01 16:57:33 得分 0
6 Which of the following statements regarding XML Schema derivation is FALSE?
A.
XML Schema types that are derived by extension can only add attributes or append child elements to the existing content model.
B.
XML Schema types that are derived by restriction can only constrain the element and/or attribute declarations of an existing type.
C.
XML Schema types that are derived by extension cannot be further extended.
D.
A complex type can be derived by either restriction or extension.
E.
A simple type can be derived by restriction, list, or union.
7 Consider the following portion of an XML document:
<x> <y> <z/> </y> </x>
Which of the following is TRUE concerning events in DOM?
A.
"x" will receive events for "z" if an EventListener is registered on "x" and has useCapture set to true.
B.
The stopPropagation() method on an Event will end processing by all listeners.
C.
Events sent to parent node(s) will not be sent to the original child target.
8 The W3C DOM Core interfaces defines a minimal set of:
A.
interfaces for accessing and manipulating document objects.
B.
Java object implementations for use with XML parsers.
C.
conventions and processes for creating live HTML pages.
D.
mutable document trees.
9 Which of the following statements concerning the use of elements and attributes in an XML document is TRUE?
A.
The use of attributes will allow for pattern matching of the content when a DTD is used with the XML document.
B.
The use of an XML Schema will allow for the use of datatypes to control the content of the attributes. ?
C.
Both elements and attributes may be declared and controlled as complex types when the document is used in conjunction with an XML Schema.
D.
When using DTDs, elements should be used for critical values, since attributes cannot be validated.
10 Which of the following XSL FO elements represent block level elements?
(Select 3)
A.
fo:block
B.
fo:flow
C.
fo:table
D.
fo:table-and-caption
E.
fo:page-sequence
11 When would extending the XSL processor be MOST appropriate?
(Select 2)
`A.
To access system services that are not available in XPath or XSL
` B.
To avoid the "no side effects" rule in XSLT, e.g., to update a counter
C.
To allow direct interaction with the xsl:template actions by the application
D.
To perform complex calculations that are cumbersome to express in XSLT or that would seriously degrade performance
Top
3 楼funlove2(<我很坏^_^>)回复于 2003-11-01 16:58:50 得分 0
12 What is meant by the term "namespace coercion" in the context of XML Schema inclusions?
A.
The targetNamespace of the included schema must be coerced into the including schema's targetNamespace by manipulating the XML Schema DOM.
B.
If no targetNamespace is declared for the schema that is included, the targetNamespace is coerced into the including schema's namespace.
C.
The two schemas will collide in the targetNamespace.
D.
The including schema's targetNamespace will be coerced into a default "empty" targetNamespace, which both schemas will populate.
E.
The parser will be forced to discontinue parsing of the included schema, unless coerced by a setTargetNamespace() function from within the XML application.
13 Which of the following approaches can be used to reduce the time needed to parse an XML document?
(Select 2)
A.
Use parameter entities to shorten DTDs.
B.
Refer to external entities over a network connection to avoid reading from a disk.
C.
Use general entities to shorten instance documents by reusing content that appears frequently.
D.
Use entities to eliminate the need for validation.
Top
4 楼fatboyslim(没着没落)回复于 2003-11-13 17:59:07 得分 0
heartbreakboy@163.net
楼主能否给份完整的题目,小弟也有意考Top
5 楼rulis(rulis)回复于 2003-12-12 15:19:39 得分 0
楼主能否给完整题目
小弟12.14考141
之后把题目也发给你
Top
6 楼rulis(rulis)回复于 2003-12-12 15:31:28 得分 0
sorry 我的邮箱c1881@sina.comTop
7 楼virnald()回复于 2003-12-18 11:34:50 得分 0
楼主你有701的题目我要一份,谢谢!
ld0061@sohu.comTop




