nerdexam
Cisco

200-901 · Question #467

Which process does a developer use to import a string and convert the file into a Python data structure?

The correct answer is A. parsing. Parsing is the process of reading a string (or file content) and converting it into a structured data representation - such as turning a JSON string into a Python dictionary using json.loads(), or an XML string into a tree object. Serializing (option C) is the opposite process…

Software Development and Design

Question

Which process does a developer use to import a string and convert the file into a Python data structure?

Options

  • Aparsing
  • Bexploding
  • Cserializing
  • Dtranslating

How the community answered

(35 responses)
  • A
    91% (32)
  • B
    3% (1)
  • C
    6% (2)

Explanation

Parsing is the process of reading a string (or file content) and converting it into a structured data representation - such as turning a JSON string into a Python dictionary using json.loads(), or an XML string into a tree object. Serializing (option C) is the opposite process: converting a Python data structure into a string or byte stream for storage or transmission. Exploding (option B) is not a standard data processing term. Translating (option D) typically refers to language/encoding conversion, not structural transformation.

Topics

#parsing#data structures#data processing#Python

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice