Summer Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: buysanta

Exact2Pass Menu

PCPP1 – Certified Professional in Python Programming 1

Last Update 12 hours ago Total Questions : 69

The PCPP1 – Certified Professional in Python Programming 1 content is now fully updated, with all current exam questions added 12 hours ago. Deciding to include PCPP-32-101 practice exam questions in your study plan goes far beyond basic test preparation.

You'll find that our PCPP-32-101 exam questions frequently feature detailed scenarios and practical problem-solving exercises that directly mirror industry challenges. Engaging with these PCPP-32-101 sample sets allows you to effectively manage your time and pace yourself, giving you the ability to finish any PCPP1 – Certified Professional in Python Programming 1 practice test comfortably within the allotted time.

Question # 11

Analyze the following function and choose the statement that best describes it.

A.

It is an example of a decorator that accepts its own arguments.

B.

It is an example of decorator stacking.

C.

It is an example of a decorator that can trigger an infinite recursion.

D.

The function is erroneous.

Question # 12

Select the true statements related to PEP 257. (Select two answers.)

A.

The closing quotes of a one-line docstring should be put on a separate line.

B.

A docstring is a string literal that occurs anywhere in Python code, and is used to document Python functions, classes, and public methods.

C.

A docstring is a string literal that occurs as the first statement in a Python module, function, class, or method, and is used to document them.

D.

There are two types of docstrings in Python: one-line and multi-line docstrings.

Question # 13

What does the term deserialization mean? Select the best answer.

A.

It is a process of creating Python objects based on sequences of bytes.

B.

It is a process of assigning unique identifiers to every newly created Python object

C.

It is another name for the data transmission process

D.

It is a process of converting the structure of an object into a stream of bytes

Question # 14

Which of the following will set the button text's font to 12 point italics Anal? (Select two answers)

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question # 15

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?

A.

csv.QUOTE_MINIMAL

B.

csv.QUOTE_NONE

C.

svQUOTE_ALL

D.

csv.QUOTE_NONNUMERIC

Question # 16

Which of the following methods allow you to load a configuration using ConfigParser? (Select two answers.)

A.

read

B.

read_dict

C.

read_conf

D.

read_str

Question # 17

Select the true statements about the json.-dumps () function. (Select two answers.)

A.

It returns a JSON string.

B.

It returns a Python entity.

C.

It takes a JSON string as its argument

D.

It takes Python data as its argument.

Question # 18

Select the true statements about the sqlite3 module. (Select two answers.)

A.

The fetchalt method returns None when no rows are available

B.

The execute method allows you to perform several queries at once

C.

The execute method is provided by the Cursor class

D.

The fetchone method returns None when no rows are available

Question # 19

Select the correct statements about the csv module.

(Select two answers.)

A.

The DictReader method always gets the header from the first line in the file.

B.

A reader object maps each row to a list of strings.

C.

It is possible to create a DictWriter object without specifying a header.

D.

A DictReader object maps each row to a dict.

Question # 20

What is true about the unbind_all () method?

(Select two answers.)

A.

It can be invoked from any widget

B.

It can be invoked from the main window widget only

C.

It is parameterless

D.

It causes all the widgets to disappear

Go to page: