XML Quiz
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 82% Most missed: “XML is a markup language, not a programming language. What makes XML not qualify…”

XML MCQs For LinkedIn Skill Assessments.

XML Quiz
Time left 00:00
25 Questions

1. The purpose of an XML schema is to define the building blocks of an XML document. Which option best describes the building blocks of an XML document?
2. The '' element defines the value of a parameter to be passed into a template. It can be used within which elements?
3. You want to convert a large XML file into CSV format. You did not create the XML file, so you are not familiar with all of the syntax. What will help you get the best insight into the file contents?
4. You are working with the following XML code snippet. What do you need to include in your XSLT code to display 'Mercedes, Cadillac, Ford'?
xml

CadillacEscalade
20000

FordMustang
17000

MercedesC-Class
24000


5. XML provides a framework for specifying markup languages, while HTML is a predefined markup language. What is applicable to XML and not HTML?
6. What is this code an example of?
xml

7. You need to display the list of cars in the code snippet below in a column format, with a counter column for each row. Which XPath function do you use for the counter?
xml

Cadillac Escalade 2007
Ford Mustang 1968
Mercedes C-Class 1999

8. How does the XML DOM present an XML document?
9. What is this code an example of?
xml

10. XHTML modules can be extended by adding elements, attributes, modifying content models, or some combination of these. What does a proper implementation of an XHTML module require?
11. You are working with this XML code snippet from the XML document cars.xml. You need to return the information about the cars built after the year 2000. What does your XQuery look like?
xml

CadillacEscalade2007
CadillacEscalade2011
FordMustang1968
FordMustang1998
MercedesC-Class1999
MercedesC-Class2009

12. Asynchronous Javascript and XML (Ajax) is technique for creating better, faster, and more interactive web applications. In addition to JavaScript and XML on the back end, which technologies are commonly used to craft AJAX experiences on the front end?
13. The '' element is used to replace a namespace in the style sheet with a different namespace in the output. Which XSLT element needs to be its parent node?
14. In an XML DTD ATTLIST declaration, which default value is used to indicate that the attribute does not have to be included?
15. Which Ajax method is used to exchange data with a server, using a modern browser?
16. In an XML DTD, attributes are declared with an ATTLIST declaration. You need to validate the color attribute for element '' against a fixed list of values. Which is the correct declaration?
17. Which statement is not true about XML?
18. Which DOM node type may NOT have the EntityReference node type as one of its child nodes?
19. You are working with an XML document that uses an XML schema. How do you specify that an element can appear multiple times inside its parent element?
20. What is the last step in extending XHTML modules?
21. What is true about these elements in XQuery?
xml

CadillacEscalade2007
CadillacEscalade2011
FordMustang1968
FordMustang1998
MercedesC-Class1999
MercedesC-Class2009

22. The main ways to control the display of XML documents are with Cascading Style Sheets (CSS) and Extensible Styles Language (XSL). What is an advantage of CSS over XSL?
23. You are checking someone else's XML document for errors. You notice that the prolog does not have a closing tag. What do you do?
24. An XHTML document type definition (DTD) describes the allowed syntax and grammar of XHTML markup. Which is not one of the formal DTDs used in XHTML 1.0?
25. A markup language is a '\_' -readable language that '\_' text so that the computer can '\_' that text.

⚡ Recently practiced quizzes in this topic
Live quiz activity