EMT Practice Test

1. Question Content...


Question List

Question1: Press the Exhibit button to view the XML document "a. xml", and apply XSLT stylesheet "b. xsl" to "a. xml". Select which of the following correctly belongs in (1) of the stylesheet when you wish to output "SMTP" in the content of the service element as the transformation result.

Question2: Press the Exhibit button to view the XML document "a. xml", and apply XSLT stylesheet "b. xsl" to "a. xml". Select which of the following correctly describes the transformation results.

Question3: Select which of the following statements is correct.

Question4: Choose the specification that is recommended by the W3C, and defines the features and syntax to describe two-dimensional vector graphics in XML.

Question5: Select which of the following statements is correct.

Question6: Press the Exhibit button to view and transform "Transformation Source XML Document". Select the answer that correctly describes what belongs in (1) in the "XSLT Stylesheet" to derive "Post-Transformation XML Document".
[XSLT Stylesheet]
<xsl:stylesheet version="1. 0" xmlns:xsl="http://www. w3. org/1999/xsl/Transform"> <xsl:template match="/">
<product>
<xsl:apply-templates select="(1)__________"/>
</product>
</xsl:template>
<xsl:template match="name">
<xsl:value-of select=". "/>
</xsl:template>
</xsl:stylesheet>

Question7: Assume that a Product element has a Price Per Unit attribute, and the content model includes one Price element. Select which of the following correctly describes the XML Schema definition content. Assume the Schema namespace prefix is "xs".

Question8: Choose the specification that stipulates that XPath be used to access or refer to any part of an XML document.

Question9: Select which of the following results in a date attribute value different than the other XML documents after being read by an XML processor.

Question10: Select which of the following correctly describes an element type declaration that includes either the "home" element or the "mobile" element as a child element of the "telephone_number" element.

Question11: Select which statement correctly describes the XML document below.
<!DOCTYPE element1 [
<!ELEMENT element1 (#PCDATA)>
]>
<element1><![CDATA[<element2/><![CDATA[<element3/>]]></element1>

Question12: With respect to XML 1. 0 specifications, select which of the following is correct.

Question13: Select the answer that correctly describes a namespace to which the type attribute of the Name element in the XML document below belongs.
<data xmlns="urn:sample">
<ContactInformation>
<Name type="Man">Taro_Yamada</Name>
<eMail>Yamada@abc. co. jp</eMail>
<Tel>03-xxxx-xxx1</Tel>
</ContactInformation>
</data>

Question14: Press the Exhibit button to view "XML Schema Document". Select which of the following correctly describes the "Last_Date_Updated" attribute.

Question15: Press the Exhibit button to view the XML document "a. xml", and apply XSLT stylesheet "b. xsl" to "a. xml". Select which of the following correctly describes the transformation results. Assume that the input XML document and transformation results ignore meaningless whitespace.

Question16: Press the Exhibit button to view "DTD". Select which of the following is a valid XML document with respect to "DTD".

Question17: Select which of the following correctly describes a namespace to which the "Telephone_Number" element in the XML document below belongs.
<?xml version="1. 0"?>
<message xmlns="urn:sample:personal"
xmlns:application="urn:sample:Application"
xmlns:NameCard="urn:sample:NameCard">
<data>
<application:Application Date="2005/09/30">Address_Change</application:Application> <application:Change_Address>Bunkyo-ku_Tokyo_XXXX</application:Change_Address> <application:Applicant>Ichiro_Yamamoto</application:Applicant> <Department_Name>Sales_Department</Department_Name>
<Telephone_Number usage="Official" xmlns="">03-1111-1111</Telephone_Number>
</data>
</message>

Question18: Select which of the following statements about CDATA sections is correct.

Question19: Assume that you want to change XML document A into XML document B, as shown below. Choose the specification that is the best suited for this purpose.
[XML document A]
<?xml version="1. 0"?>
<book>
<author>Charley</author>
<title>FLOWERS</title>
</book>
[XML document B]
<?xml version="1. 0"?>
<book> <title author="Charley">FLOWERS</title>
</book>

Question20: Select the description about XML parsers that is correct.

Question21: Select which of the following schema structures is different from all others amongst the XML schema documents listed below.

Question22: Select which of the following is coded using XML syntax:

Question23: Company B has decided to manage product information using XML data. Press the Exhibit button to view "Requirements". Select which of the following DTD definitions best satisfies "Requirements".

Question24: Select which of the following XML documents is not a well-formed XML document.

Question25: Select which answers are correct with respect to the relationship between "x", as expressed in the DTD element type declaration below, and its child element. Assume child elements "a" "b" "c" are all empty elements, expressed as like <a/>.
[DTD]
<!ELEMENT x (a, (b|c)*)>

Question26: Press the Exhibit button to view "XML Schema Document". Select which of the following correctly describes a valid XML document with respect to "XML Schema Document".

Question27: Select the answer that correctly describes a namespace to which the eMail element in the XML document below belongs.
<data>
<master:ContactInformation xmlns:master="urn:sample">
<Name>Taro_Yamada</Name>
<eMail>Yamada@abc. co. jp</eMail>
<Tel>03-xxxx-xxx1</Tel>
</master:ContactInformation> </data>

Question28: Press the Exhibit button to view "XML Document". Select which of the following is a valid XMLSchema document with respect to "XML Document".

Question29: Select which of the following describes an XML document with correct comment coding.

Question30: Select which of the following correctly describes an XML Schema definition when the Market Price element must be a positive integer. Assume the Schema namespace prefix is "xs".

Question31: Press the Exhibit button to view "XML Document". Select which of the following correctly describes the resulting document after applying "XSLT Stylesheet" to "XML Document". Assume that the input XML document and transformation results ignore meaningless whitespace.

Question32: Select the value that is not allowed when applying a restriction to an XML Schema with respect to the pattern below. Assume the Schema namespace prefix is "xs".
<xs:simpleType name="No_type">
<xs:restriction base="xs:string">
<xs:pattern value="[A-Z]{2}\d{7}"/>
</xs:restriction>
</xs:simpleType>

Question33: Select which statement is correct with regards to creating an XML document based on the DTD element type declaration below.
[element type declaration]
<!ELEMENT computer (notebook|server)*>
<!ELEMENT notebook (mouse*)>
<!ELEMENT mouse (#PCDATA)>
<!ELEMENT server (#PCDATA)>

Question34: Select which of the following correctly describes the XML namespace to which the -->(1) "price" element in the "XML Document" below belongs.
[XML Documents]
<?xml version="1. 0"?>
<products xmlns="urn:sample:product">
<item:product xmlns:item="urn:sample:item">
<item:name>T-Shirt</item:name>
<price>2500</price> -->(1) </item:product>
</products>

Question35: Press the Exhibit button to view "XML Document". Select which of the following correctly describes the elements and attributes belonging to namespace http://www. medxml. net/MML/SharedComponent/CreatorInfo/1. 0 in "XML Document".

Question36: Select which of the following are not well-formed XML documents.

Question37: Select which of the following is an XSLT instruction to create a new node in a resulting XML document.

Question38: Select which of the following is correct with regard to using a multiple number of character encoding types in a single XML document that contains no external references.

Question39: Choose the statement about style sheets that is correct.

Question40: Select which of the following methods can be used when using a single quote (') in an attribute value.

Question41: The content of the Product Quantity element is an integer restricted to a value of between 1 and 100. Select which of the following is correct when the prefix to specify XML Schema namespace is xs.

Question42: Press the Exhibit button to view the XML document "a. xml", and apply XSLT stylesheet "b. xsl" to "a. xml". The content of the administrator element with a state attribute of "Auto_Logon" is output in the transformation results. Select which of the following correctly belongs in (1) of the stylesheet.

Question43: Press the Exhibit button to view "XML Schema Document". Select which of the following correctly describes a valid XML document with respect to "XML Schema Document".

Question44: Choose the statement about a problem with DTDs that is incorrect.

Question45: Press the Exhibit button to view the external DTD subset "prod. dtd". Select which of the following correctly describes a valid XML document when the external DTD subset "prod. dtd" file is generated.