1.0 Software Development and Design Flashcards
(187 cards)
XML, JSON, YAML - Which one is “hefty” and not very human readable?
XML
XML, JSON, YAML - Mostly used for transmitting data between server and a web page
JSON
XML, JSON, YAML - syntax uses curly braces, square brackets, and quotes for its data representation
JSON
XML, JSON, YAML - whitespaces are for human readability only, not consumed by the application or script
JSON
XML, JSON, YAML - whitespaces are used for scoping, defines a structure of the file
YAML
XML, JSON, YAML - has a mandatory top-most element
XML
XML, JSON, YAML - most powerful, but most tedious to write/read
XML
XML, JSON, YAML - used in many configuration files today.
YAML
XML, JSON, YAML - Similar indention style to Python
YAML
YAML - What denotes a list?
A Dash - similar to writing a shopping list
XML - Does XML have predefined tags like HTML?
No predefined tags like HTML. The author defines the structure and elements
T/F - APIs allow faster prototyping and development of software
True
APIs use the network for communication, what is a challenge of that?
unreliable networks
CI/CD
continuous integration and continuous deployment
YAML
YAML ain’t markup language
JSON
Javascript Object Notation
XML
eXtensible Markup Language
What are the file extensions for XML, JSON, and YAML
.xml, .json, and .yaml
T/F - In a data format (XML/JSON/YAML), a key must be a string
True
T/F - In a data format (XML/JSON/XML), a value (in a key/value) could be a string, a number, or a Boolean. Other values could be more complicated, containing an array or an entirely new object
True
XML - What is used to diferentiate two different objects that are using the same tab names?
XML Namespaces and Prefixes
What is converting a data structure or an object into a binary or textual format that can be stored and recontructred later called?
Serialization
Preserving the state of an object, by converting it into a XML, JSON, or YAML file is called what?
Serialization
Opening a file and reconstructing it to its original state with all the objects defined is called?
Deserialization