File Formats Flashcards
What does CSV stand for?
Comma Separated Values
What type of file is plain text with fields separated by commas (,) typically storing data in a tabular format with the same number of fields on each line (row) of the file?
CSV
Since the file suffix .yaml is the official file extension for YAML files, it is the only extension that is valid.
False. YML is also valid.
XML has been a W3C standard since:
1998
XML’s syntax is very similar to what other format?
HTML
What file type is used by Anaconda for its configuration files?
YAML
The ZIP file format was originally created and implemented by PKWARE via the utility:
PKZIP
What file format is often associated with Microsoft Excel and/or Google Spreadsheets?
CSV
What file type can easily be created using Python Dictionaries {key: value, key: value, …
JSON
What file type uses Python-style indention for structure?
YAML
What does XML stand for?
extensible markup language
What does YAML stand for?
YAML Ain’t Markup Language
XML is:
- typically design to carry data, not display it like HTML
- frequently used to save and share structured data, often over the internet
- designed to be self-descriptive (you define your own tags
JSON is:
- language independent, even though it is derived from JS
- lightweight, text-based format used for data interchange
- used to transmit data between a server and web apps (think about REST APIs)
- a popular alternative to XML
YAML is:
- a human readable data-serialization language
- commonly used for configuration files and data storage or transmission
- supports 3 basic data types:
- scalars (string, ints, floats)
- lists
- associative arrays (maps, dicts, hashes)