Skip to content

令和4年度 ITパスポート試験 問88

This question's explanation and your answers so far.

問88
頻出度★☆☆

IoT デバイスで収集した情報を IoT サーバに送信するときに利用されるデータ形式に関する次の記述中の a,b に入れる字句の適切な組合せはどれか。 [ a ] 形式は,コンマなどの区切り文字で,データの区切りを示すデータ形式であり,[ b ] 形式は,マークアップ言語であり,データの論理構造を,タグを用いて記述できるデータ形式である。

出典 令和4年度 ITパスポート試験 問88
解説

問 88

  • Incorrectア

    a=CSV is correct, but b=JSON is wrong. JSON is a lightweight data-interchange format that expresses key-value pairs using braces {} and brackets [], and it is not a markup language that uses tags. It does not match the description in b of “a markup language that describes data using tags.”

  • イ

    正解 The description for blank a, “a data format that uses a delimiter such as a comma to indicate the separation of data,” is exactly the definition of CSV (Comma-Separated Values). The description for blank b, “a data format that is a markup language and can describe the logical structure of data using tags,” matches the definition of XML (Extensible Markup Language). XML encloses elements with start tags and end tags and can express the logical structure of data through a nested structure. Therefore the combination a=CSV / b=XML, which is “イ,” is correct.

  • Incorrectウ

    a=RSS is wrong. RSS is an XML-based feed format for distributing update information of websites, not a format that indicates data by separating it with commas. b=JSON is also not a markup language, so it is wrong too. Both blanks are inappropriate.

  • Incorrectエ

    b=XML is correct, but a=RSS is wrong. RSS is not a comma-delimited format; it is an XML-based feed format that distributes update information. It does not match the description in blank a of “using a delimiter such as a comma to indicate the separation of data.”

ここがポイント
  • CSV is a simple text data format that separates values with a delimiter such as a comma. XML is a markup language that can describe the logical structure of data hierarchically using tags (start tags and end tags).
  • JSON is a lightweight data-interchange format based on key-value pairs and does not use tags; RSS is an XML-based feed format that distributes update information. Remember both as distinct from the descriptions of comma separation and a markup language that uses tags.
用語

Your answers