nerdexam
CompTIA

DA0-001 · Question #427

An analyst wrote the following code: Which of the following formats did the analyst use?

The correct answer is C. XML. XML (Extensible Markup Language) uses a hierarchical tag-based syntax where data is wrapped in opening and closing tags (e.g., <field>value</field>). It is commonly used for data interchange and configuration. HTML also uses tags but is for web presentation. JSON uses key-value…

Data Concepts and Environments

Question

An analyst wrote the following code:

Which of the following formats did the analyst use?

Options

  • AHTML
  • BXLS
  • CXML
  • DJSON

How the community answered

(16 responses)
  • A
    6% (1)
  • B
    6% (1)
  • C
    88% (14)

Explanation

XML (Extensible Markup Language) uses a hierarchical tag-based syntax where data is wrapped in opening and closing tags (e.g., <field>value</field>). It is commonly used for data interchange and configuration. HTML also uses tags but is for web presentation. JSON uses key-value pairs with curly braces and brackets, while XLS is a binary spreadsheet format with no visible markup. The code shown in the question uses XML's characteristic nested tag structure, making C the correct answer.

Topics

#Data Formats#XML#Data Representation

Community Discussion

No community discussion yet for this question.

Full DA0-001 Practice