Test on Markup Languages and Data Formats

Markup Languages and Data Formats Explained for Students

Question 1 of 50%

The SVG `polyline` element allows for coordinates to be separated by semicolons.

Test: Markup languages, XML, Markdown, WYSIWYG, YAML, JSON

20 questions

Question 1: The SVG `polyline` element allows for coordinates to be separated by semicolons.

A. Ano

B. Ne

Explanation: The study materials state that for the `polyline` element, 'Coordinates separated by spaces'. There is no mention of semicolons as a valid separator for coordinates.

Question 2: Which of the following statements accurately describes a key characteristic or capability of Schematron as an XML validation language?

A. It is primarily used for defining simple data types, similar to W3C XML Schema Datatypes.

B. It is a rule-based validation language that uses XPath and XSLT for making assertions about patterns in XML documents.

C. Its main purpose is to transform XML documents into different presentation formats like HTML or PDF.

D. It exclusively supports the definition of unordered content without the need for additional data typing languages.

Explanation: Schematron is described as a 'rule-based validation language' that uses 'XPath and XSLT in Validation' to make 'assertions about the presence or absence of patterns in XML trees'. It also states that 'Constraints(rules) are specified in an xml file which is the schematron file. This is processed using an XSLT to generate another XSLT stylesheet, which is then used to process the actual input document.'

Question 3: Block quotes in Markdown are indicated by enclosing text within square brackets.

A. Ano

B. Ne

Explanation: Right angle brackets > are used for block quotes, not square brackets.

Question 4: According to the provided study materials, which of the following Markdown syntaxes can be used to create a link?

A. [Visit Site](http://website.com)

B. <http://example.org>

C. [Reference Link][id] followed by [id]: http://target.com

D. {Click Here}(http://link.com)

Explanation: The study materials show that inline links can be created with `[Link](http://a.com)` or `[Smaller](http://smallerapp.com)`, making option 0 correct. Simple inline links using only the URL within angle brackets like `<http: chenluois.com">` are also valid, making option 1 correct. Reference-style links are demonstrated with `A [reference style][id] link.` and `[id]: http://mouapp.com "Markdown editor on Mac OS X"`, making option 2 correct. Option 3 uses curly braces instead of square brackets and parentheses, which is not shown as a valid syntax for creating links in the provided materials.

Question 5: WYSIWYG is an acronym for "What You See Is What You Get."

A. Ano

B. Ne

Explanation: The study materials explicitly state that WYSIWYG stands for "What You See Is What You Get."