XML mock tests
Test yourself on the whole course, against the clock: questions from every module, then coding problems you solve and run right here. Your score comes at the end, with every answer explained.
Each mock test has 12 questions drawn from the lessons, and 45 minutes on the clock, which keeps running if you reload. Questions are worth a point each. Score 60% or more to pass; your best score is kept.
- 01Mock test 112 questions · 45 minutes · 12 points
Part A · 12 questions
- Two elements use different prefixes bound to the same namespace URI. Are they in the same namespace?
- A document declares xmlns="https://example.com/books" on its root. What does the XPath //book match?
- What is the main purpose of XML?
- Which expression selects the first book?
- How are repeated items usually represented in JSON?
- A book has three authors. How should they be stored?
- Is <Name>Asha</name> well-formed?
- Which is the best fit for an attribute?
- In XML without a schema, what type is the value of <qty>2</qty>?
- How do you select the id attribute of each book?
- What does xmlns:f="https://example.com/furniture" do?
- Which axis selects later elements that share the same parent?