XML and Markup Languages
Test your knowledge of XML structure, DTD, XSD, and markup language concepts
Questions
Question 1 Multiple Choice (Multiple Answers)
Which of the following are true?
- Tags in XML cannot contain spaces in them.
- Tag Names can start with a character (A-Z) or an _(Underscore)
- Tag Names starting with Underscore cannot have another Underscore in them.
- Tag Names cannot start with an Underscore
Question 2 Multiple Choice (Multiple Answers)
Pick the true ones from the options
- All Valid SGML Documents are Valid XML Documents
- XML Can Contain HTML tags
- XML is less Complex than SGML
- XML can be extended using Optional SGML Extras
Question 3 Multiple Choice (Multiple Answers)
Stylesheets are
- A way of doing transformations in XML
- Used to change the layout of the XML
- Used to induce HTMl effects in XML
- None of the above
Question 4 Multiple Choice (Multiple Answers)
Identify the Markup Languages
- XML
- SGML
- HTTP
- DCF GML
Question 5 Multiple Choice (Multiple Answers)
DTD is used to
- Create a template of the XML hierachy
- Validate the XML
- Ensures Well Formed XML’s creation
- Format the XML
Question 6 Multiple Choice (Multiple Answers)
XSD’s are
- The ones which replacecs DTD’s
- Helps in creating wellformed XML
- Enforces Data Types in XML
- Can be inline or external
Question 7 Multiple Choice (Single Answer)
One of the Tag Names cannot hold user information(CDATA).
- <Name>
- <Element>
- <Underscore>
- <0~id>
Question 8 Multiple Choice (Single Answer)
Which of the following are true in case of XML
- XML Enforces Strict Type Checking
- XML are strictly non-extendable
- XML replaces the old HTML
- XML extends HTML
Question 9 Multiple Choice (Single Answer)
XML is a subset of ___________
- HTML
- WSDL
- JSP
- SGML
Question 10 Multiple Choice (Single Answer)
Physical Storage units are defined in XML by
- ATTLIST
- DOCTYPE
- ELEMENTS
- ENTITIES
Question 11 Multiple Choice (Single Answer)
Which statement is true?
- All the statements are true
- All XML elements must have a closing tag
- All XML elements must be lower case
- All XML documents must have a DTD
Question 12 Multiple Choice (Single Answer)
Well formed XML document means
- It contains a root element
- It contain an element
- It contains one or more elements
- Must contain one or more elements and root element must contain all other elements
Question 13 Multiple Choice (Single Answer)
DTD includes the specifications about the markup that can be used within the document, the specifications consists of all EXCEPT
- The browser name
- The size of element name
- Entity declarations
- Element declarations
Question 14 Multiple Choice (Single Answer)
The use of a DTD in XML development is
- Required when validating XML documents
- No longer necessary after the XML editor has been customized
- Used to direct conversion using an XSLT processor
- A good guide to populating a templates to be filled in when generating an XML document automatically
Question 15 Multiple Choice (Single Answer)
Where can you add the PI’s?
- In XMl Declaration
- As an Attribute of Root Element
- In the ATTLIST
- In DTD
Question 16 Multiple Choice (Single Answer)
An Empty element is a
- Complex Content
- Simpel Content
- Hybrid Content
- Pre-Defined Content
Question 17 Multiple Choice (Single Answer)
Annotations
- Are a part of XML Structure
- Are mandatory in XSD
- Are Used in Inline and External XSD
- None of the above