It6801 - Service Oriented Architecture Unit 1
It6801 - Service Oriented Architecture Unit 1
XML document structure – Well formed and valid documents – Namespaces – DTD – XML
Schema –X-Files.
2. What is the correct syntax of the declaration which defines the XML version?:
A. <xml version="1.0" />
B. <?xml version="1.0"?>
C. <?xml version="1.0" />
D. None of the above
13.DTD includes the specifications about the markup that can be used within the
document, the specifications consists of all EXCEPT
A. the browser name
B. the size of element name
C. entity declarations
D. element declarations
15.To add the attribute named Type to the <customer> tag the syntax will be
A. <customer attribute Type=”exelent”>
B. <customer Type attribute =”exelent”>
C. <customer Type attribute_type=”exelent”>
D. <customer Type=” exelent” >
16.You can name the schema using the name attribute like
A. <schema attribute=”schema1”>
B. <schema nameattribute=”schema1”>
C. <schema nameattri=”schema1”>
D. <schema name=”schema1”>
17.In simple type built into XML schema type flat has single precision of ________ floating
point
A. 16 bit
B. 32 bit
C. 8 bit
D. 4 bit
18.In simple Type Built into XML schema Boolean type holds
A. True, False
B. 1,0
C. both A. & B.
D. True/False and any number except 0
21.The default model for complex type, in XML schemas for element is
A. textOnly
B. elementOnly
C. no default type
D. both 1 & 2
23.You can name the schema using the name attribute like
A. <schema attribute=”schema1”>
B. <schema nameattribute=”schema1”>
C. <schema nameattri=”schema1”>
D. <schema name=”schema1”>
A. (i) is correct
B. (ii)is correct
C. both are correct
31.In XML
A. the internal DTD subset is read before the external DTD
B. the external DTD subset is read before the internal DTD
C. there is no external type of DTD
D. there is no internal type of DTD
<?xml version="1.0"?>
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
1.yes
2.no
<?xml version="1.0"?>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
1.yes
2.no
False
True
True
False
<?xml version="1.0"?>
<note>
<to age="29">Tove</to>
<from>Jani</from>
</note>
Yes
No
<?xml version="1.0"?>
<note>
<to age=29>Tove</to>
<from>Jani</from>
</note>
Yes
No
True
False
<NAME>
All 3 names are incorrect
<first name>
<age>