PCPP-32-101 PCPP1Certified Professional in Python Programming 1

Loading demo links...

Showing 7–9 of 10 questions

Question 7

In the JSON processing context, the term serialization:

Select an option, then click Submit answer.

  • names a process in which Python data is turned into a JSON string.

  • names a process in which a JSON string is turned into Python data.

  • refers to nothing, because there is no such thing as JSON serialization.

  • names a process in which a JSON string is remodeled and transformed into a new JSON string

Question 8

Which sentence about the ©property decorator is false?

Select an option, then click Submit answer.

  • The ©property decorator should be defined after the method that is responsible for setting an encapsulated attribute.

  • The @property decorator designates a method which is responsible for returning an attribute value

  • The ©property decorator marks the method whose name will be used as the name of the instance attribute

  • The ©property decorator should be defined before the methods that are responsible for setting and deleting an encapsulated attribute

Question 9

Which of the following constants will be used if you do riot define the quoting argument in the writer method provided by the csv module?

Select an option, then click Submit answer.

  • csv.QUOTE_MINIMAL

  • csv.QUOTE_NONE

  • svQUOTE_ALL

  • csv.QUOTE_NONNUMERIC