PCPP1 – Certified Professional in Python Programming 1
Last Update Jul 26, 2026
Total Questions : 69
We are offering FREE PCPP-32-101 Python Institute exam questions. All you do is to just go and sign up. Give your details, prepare PCPP-32-101 free exam questions and then go for complete pool of PCPP1 – Certified Professional in Python Programming 1 test questions that will help you more.
Select the true statements related to PEP 8 naming conventions. (Select two answers.)
Look at the following code snippets and decide which ones follow PEP 8 recommendations for whitespaces in expressions and statements (Select two answers.)
A)
No whitespace immediately before the opening parenthesis that starts the list of arguments of a function call:

B)
A whitespace immediately before a comma, semicolon, and colon:

C)
No whitespace between a trailing comma and a following closing parenthesis:

D)
A whitespace immediately after the opening parenthesis that starts indexing or slicing:

What will be the content of the cars.xml file when you run the following code?
import xml.etree.ElementTree as ET
root = ET.Element('data')
car_1 = ET.SubElement(root, 'car', {'brand': 'Audi'})
car_2 = ET.SubElement(root, 'car', {'brand': 'Volkswagen'})
tree = ET.ElementTree(root)
tree.write('cars.xml', 'UTF-8', True)
Select the true statements related to PEP 8 programming recommendations for code writing. (Select two answers:)
Which of the following methods allow you to load a configuration using ConfigParser? (Select two answers.)
Select the true statements about the following invocation:

(Select two answers.)
Which of the following values can be returned by the messagebox. askquestion () method?
Select the true statements related to PEP 8 naming conventions. (Select two answers.)
Look at the following examples of comments and docstrings in Python Select the ones that are useful and compliant with PEP 8 recommendations (Select the two best answers.)
A)

B)

C)

D)

Analyze the following snippet and select the statement that best describes it.

Which one of the following methods allows you to debug an XML tree in the xml.etree ELementTree module?
Which of the following statements related to :memory: are true?
(Select two answers.)