Extended Markup Language Xml Set 1
On This Page
This set of eXtended Markup Language (XML) Multiple Choice Questions & Answers (MCQs) focuses on Extended Markup Language Xml Set 1
Q1 | What does XML stand for?
- extra modern link
- extensible markup language
- example markup language
- x-markup language
Q2 | What is the correct syntax of the declaration which defines the XML version?:
- none of the above
Q3 | 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
Q4 | Is it easier to process XML than HTML?
- yes
- no
- somtimes
- cant say
Q5 | Which of the following programs support XML or XML applications?:
- internet explorer 5.5
- netscape d.7
- realplayer.
- both a and b
Q6 | Kind of Parsers are
- well-formed
- well-documented
- non-validating and validating
- none of the above
Q7 | 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
Q8 | Comment in XML document is given by
- -- -->
- -- -- >
Q9 | When processing an output XML, "new line" symbols
- are copied into output "as is", i.e. "cr+lf" for windows, cr for macintosh, lf for unix.
- are converted to single lf symbol
- are converted to single cr symbol
- are discarded
Q10 | Which of the following strings are a correct XML name?
- _myelement
- my element
- #myelement
- none of the above
Q11 | Which of the following strings are a correct XML name?
- xmlextension
- xslnewelement
- xmlelement#123
- all
Q12 | Which of the following XML fragments are well-formed?
Q13 | What are the predefined attributes
- xml:lang
- xml:space
- both
- none.
Q14 | Kind of Parsers are
- well-formed
- validating
- non-validating
- both b & c
Q15 | Valid XML document means (most appropriate)
- the document has root element
- the document contains atleast one or more root element
- the xml document has dtd associated with it & it complies with that dtd
- each element must nest inside any enclosing element property
Q16 | XML uses the features of
- html
- xhtml
- vml
- sgml
Q17 | XML document can be viewed in
- ie c.0
- ie b.0
- ie 6.0
- ie x.0
Q18 | There is a way of describing XML data, how?
- xml uses a dtd to describe the data
- xml uses xsl to describe data
- xml uses a description node to describe data
- both a and c
Q19 | What does DTD stand for?
- direct type definition
- document type definition
- do the dance
- dynamic type definition
Q20 | 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
Q21 | Which of the following XML fragments are well-formed?
Answer:
Q22 | How can we make attributes have multiple values:
- attributes cannot have multiple values
Q23 | Which of the following XML fragments are well-formed?
- none of the above
Q24 | 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
Q25 | Parameter entities can appear in
- xml file
- dtd file
- xsl file
- both 1 and 2