<< Home



XML Multiple Choice Questions


Page 1 2 3 4  >>>
Page 1 2 3 4  >>>

1. What does XML stand for?

1. eXtra Modern Link
2. eXtensible Markup Language
3. Example Markup Language
4. X-Markup Language

See Answers

2. What is the correct syntax of the declaration which defines the XML version?:

1. <xml version="1.0" />
2. <?xml version="1.0"?>
3. <?xml version="1.0" />
4. None of the above

See Answers


3. Which statement is true?

1. All the statements are true
2. All XML elements must have a closing tag
3. All XML elements must be lower case
4. All XML documents must have a DTD

See Answers

4. Is it easier to process XML than HTML?

1. Yes
2. No
3. Somtimes
4. Cant say

See Answers

5. Which of the following programs support XML or XML applications?:

1. Internet Explorer 5.5
2. Netscape 4.7
3. RealPlayer.
4. both 1 and 2

See Answers


6. Kind of Parsers are

1. well-formed
2. well-documented
3. non-validating and validating
4. none of the above

See Answers

7. Well formed XML document means

1. it contains a root element
2. it contain an element
3. it contains one or more elements
4. must contain one or more elements and root element must contain all other elements

See Answers

8. Comment in XML document is given by

1. <?-- -->
2. <!-- --!>
3. <!-- -->
4. </-- -- >

See Answers

9. When processing an output XML, "new line" symbols

1. are copied into output "as is", i.e. "CR+LF" for Windows, CR for Macintosh, LF for Unix.
2. are converted to single LF symbol
3. are converted to single CR symbol
4. are discarded

See Answers

10. Which of the following strings are a correct XML name?

1. _myElement
2. my Element
3. #myElement
4. None of the above

See Answers

11. Which of the following strings are a correct XML name?

1. xmlExtension
2. xslNewElement
3. XMLElement#123
4. All

See Answers

12. Which of the following XML fragments are well-formed?

1. <?xml?>
2. <?xml version="1.0"?>
3. <?xml encoding="JIS"?>
4. <?xml encoding="JIS" version="1.0"?>

See Answers

13. What are the predefined attributes

1. xml:lang
2. xml:space
3. both
4. none.

See Answers

14. Kind of Parsers are

1. well-formed
2. validating
3. non-validating
4. Both 2 & 3

See Answers

15. Valid XML document means (most appropriate)

(1) the document has root element
(2) the document contains atleast one or more root element
(3) the XML document has DTD associated with it & it complies with that DTD
(4) Each element must nest inside any enclosing element property

See Answers

16. XML uses the features of

(1) HTML
(2) XHTML
(3) VML
(4) SGML

See Answers

17. XML document can be viewed in

(1) IE 3.0
(2) IE 2.0
(3) IE 6.0
(4) IE X.0

See Answers

18. There is a way of describing XML data, how?

1. XML uses a DTD to describe the data
2. XML uses XSL to describe data
3. XML uses a description node to describe data
4. Both 1 and 3

See Answers

19. What does DTD stand for?

1. Direct Type Definition
2. Document Type Definition
3. Do The Dance
4. Dynamic Type Definition

See Answers

20. DTD includes the specifications about the markup that can be used within the document, the specifications consists of all EXCEPT

1. the browser name
2. the size of element name
3. entity declarations
4. element declarations

See Answers

21. Which of the following XML documents are well-formed?

1. <firstElement>some text goes here
<secondElement>another text goes here</secondElement>
</firstElement>
2. <firstElement>some text goes here</firstElement>
<secondElement> another text goes here</secondElement>
3. <firstElement>some text goes here
<secondElement> another text goes here</firstElement>
</secondElement>
4. </firstElement>some text goes here
</secondElement>another text goes here <firstElement>

See Answers

22. Which of the following XML fragments are well-formed?

1. <myElement myAttribute="someValue"/>
2. <myElement myAttribute=someValue/>
3. <myElement myAttribute=’someValue’>
4. <myElement myAttribute="someValue’/>

See Answers

23. How can we make attributes have multiple values:

1. <myElement myAttribute="value1 value2"/>
2. <myElement myAttribute="value1" myAttribute="value2"/>
3. <myElement myAttribute="value1, value2"/>
4. attributes cannot have multiple values

See Answers

24. Which of the following XML fragments are well-formed?

1. <myElement myAttribute="value1 <= value2"/>
2. <myElement myAttribute="value1 & value2"/>
3. <myElement myAttribute="value1 > value2"/>
4. None of the above

See Answers

25. The use of a DTD in XML development is:

1. required when validating XML documents
2. no longer necessary after the XML editor has been customized
3. used to direct conversion using an XSLT processor
4. a good guide to populating a templates to be filled in when generating an XML document automatically

See Answers


ANSWERS-->
Question 1. What does XML stand for?

2. eXtensible Markup Language  <ANS>

Goto Question no. 1

Question 2. What is the correct syntax of the declaration which defines the XML version?:

2. <?xml version="1.0"?>  <ANS>

Goto Question no. 2

Question 3. Which statement is true?

2. All XML elements must have a closing tag  <ANS>

Goto Question no. 3

Question 4. Is it easier to process XML than HTML?

1. Yes  <ANS>

Goto Question no. 4

Question 5. Which of the following programs support XML or XML applications?:

4. both 1 and 2  <ANS>

Goto Question no. 5


Question 6. Kind of Parsers are

3. non-validating and validating  <ANS>

Goto Question no. 6

Question 7. Well formed XML document means

4. must contain one or more elements and root element must contain all other elements  <ANS>

Goto Question no. 7

Question 8. Comment in XML document is given by

3. <!-- -->  <ANS>

Goto Question no. 8

Question 9. When processing an output XML, "new line" symbols

2. are converted to single LF symbol  <ANS>

Goto Question no. 9

Question 10. Which of the following strings are a correct XML name?

1. _myElement  <ANS>

Goto Question no. 10

Question 11. Which of the following strings are a correct XML name?

2. xslNewElement  <ANS>

Goto Question no. 11

Question 12. Which of the following XML fragments are well-formed?

2. <?xml version="1.0"?>  <ANS>

Goto Question no. 12

Question 13. What are the predefined attributes

3. both  <ANS>

Goto Question no. 13

Question 14. Kind of Parsers are

4. Both 2 & 3  <ANS>

Goto Question no. 14

Question 15. Valid XML document means (most appropriate)

(3) the XML document has DTD associated with it & it complies with that DTD  <ANS>

Goto Question no. 15

Question 16. XML uses the features of

(4) SGML  <ANS>

Goto Question no. 16

Question 17. XML document can be viewed in

(3) IE 6.0  <ANS>

Goto Question no. 17

Question 18. There is a way of describing XML data, how?

4. Both 1 and 3  <ANS>

Goto Question no. 18

Question 19. What does DTD stand for?

2. Document Type Definition  <ANS>

Goto Question no. 19

Question 20. DTD includes the specifications about the markup that can be used within the document, the specifications consists of all EXCEPT

1. the browser name  <ANS>

Goto Question no. 20

Question 21. Which of the following XML documents are well-formed?

1. <firstElement>some text goes here
<secondElement>another text goes here</secondElement>
</firstElement>
  <ANS>

Goto Question no. 21

Question 22. Which of the following XML fragments are well-formed?

1. <myElement myAttribute="someValue"/>  <ANS>

Goto Question no. 22

Question 23. How can we make attributes have multiple values:

4. attributes cannot have multiple values  <ANS>

Goto Question no. 23
Question 24. Which of the following XML fragments are well-formed?

3. <myElement myAttribute="value1 > value2"/>  <ANS>

Goto Question no. 24

Question 25. The use of a DTD in XML development is:

1. required when validating XML documents  <ANS>

Goto Question no. 25

Page 1 2 3 4  >>>