exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 40 discussion

Actual exam question from Cisco's 200-901
Question #: 40
Topic #: 1
[All 200-901 Questions]

Into which type of Python data structure should common data formats be parsed?

  • A. sequence
  • B. set
  • C. dictionary
  • D. list
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
chris_edwards
10 months ago
Selected Answer: C
JSON: JSON data can be parsed into a Python dictionary using the json.loads() function from the built-in json module. This function takes a JSON string as input and returns a dictionary representing the data.
upvoted 2 times
...
tony554556
10 months ago
both C and D are correct
upvoted 1 times
...
tony554556
10 months ago
"common data formats" are JSON and XML, and the they are in a nested python dictionary.
upvoted 3 times
...
mellohello
10 months, 2 weeks ago
Selected Answer: D
Option A, "sequence," is incorrect because a sequence is a general term that refers to any ordered collection of items, and does not specify a specific data structure. Option B, "set," is incorrect because a set is an unordered collection of unique items, and may not be suitable for storing parsed data that needs to be ordered. Option C, "dictionary," is incorrect because a dictionary is an unordered collection of key-value pairs, and may not be suitable for storing parsed data that needs to be ordered.
upvoted 1 times
...
macxsz
1 year, 5 months ago
Selected Answer: C
I would say C, as dictionaries are the most precise for data
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago