Chapter 2 - Common File Formats Flashcards
Know the use cases for different file formats
What file format is also known as a flat file?
Text File format
Output of machine data uses what file format?
Text file format
What two types of semi-structured files use the text file format to store data?
Comma Separated Files and Tabular Separated Files
The content of a CSV or TSV is always structured, true or false?
False, it can be semi-structured and contain both structured and unstructured data
Which common file format was designed to be easily readable by humans and easily parsed by programming languages?
JavaScript Object Notation (JSON)
Which common file formats were designed to add structure to a text files containing unstructured data? What’s the main difference between the two?
JSON and XML.
The main differences is that XML has a lot more overhead due to tags
Which file format allows documents to be displayed in a web browser?
HTML
JSON, XML, HTML, CSV and TSV are all file formats stored in what kind of file?
Text File
If you want to transfer simple structured data, what’s the best file format to use?
CSV/TSV
You have complex structured data you need to transmit between systems, which type of file format is best to transfer between machines?
JSON or XML
JSON
JSON is best remember as less overhead than XML
What is the preferred delimited file type extension for UTF-8?
.CSV
Which markup languiage lets you set customizable tags?
XML
“Pet ID”: 1,
This row format is from what data format?
Is is known as a what pair?
JSON
Key-value (or name-value) pair
What data type can store unstructured data but is itself composed of a structured data type?
Text
Considered the most basic type of unstructured data
Images