Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What does JSON stand for?
Think about a language often used with JSON.
What module do you use to parse XML in Python?
Remember, elements like trees in nature.
What is the primary use of JSON?
Think about how data is shared over networks.
True or False: XML is used strictly for web-based data.
Consider file formats and non-web usage.
Write a complete Python function that accepts a JSON string and returns a Python dictionary, then converts it back to JSON. Additionally, handle any potential exceptions.
Consider what happens when the JSON is malformed.
Given a sample XML file, write Python code to parse the XML and count the number of child elements within it.
Visualize the XML structure as a family tree.
4 more questions in this section. Enroll free to practise them all.
Enroll free