PCPP-32-101 Python Institute PCPP1 – Certified Professional in Python Programming 1 Free Practice Exam Questions (2026 Updated)
Prepare effectively for your Python Institute PCPP-32-101 PCPP1 – Certified Professional in Python Programming 1 certification with our extensive collection of free, high-quality practice questions. Each question is designed to mirror the actual exam format and objectives, complete with comprehensive answers and detailed explanations. Our materials are regularly updated for 2026, ensuring you have the most current resources to build confidence and succeed on your first attempt.
Select the true statements related to PEP 257. (Select two answers.)
If w is a correctly created main application window, which method would you use to foe both of the main window's dimensions?
What is the result of the following code?
import configparser
config = configparser.ConfigParser()
config['DEFAULT'] = {}
config['mysql'] = {}
config['postgresql'] = {}
config['redis'] = config['postgresql']
print(config.sections())
To get an answer (True or False) to the question of whether two objects hold the same values, you should use:
Select the true statement about composition
Analyze the following snippet and decide whether the code is correct and/or which method should be distinguished as a class method.

The following JSON string:
{ 1 }
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.)
Select the true statement about the___name___attribute.
What is true about the following snippet of code?
class Cat:
def __init__(self, weight, sex):
self.height = height
self.weight = weight
self.sex = sex
def say(self):
print('meows')
kitty = Cat(1, 'male')
kitty.say()
Which function or operator should you use to obtain the answer True or False to the question: "Do two variables refer to the same object?"
What is true about the invocation of the cget () method?
Select the true statements related to PEP 8 naming conventions. (Select two answers.)
Select the true statements about the following invocation:

(Select two answers.)
What is wrong with the following snippet?
class A:
def run(self):
print("A is running")
class B(A):
def run(self):
print("B is running")
class C(A, B):
def fly(self):
print("C is flying")
c = C()
Which of the following types cannot be pickled?
Select the true statements related to PEP 8 naming conventions. (Select two answers.)
Select the true statements about the json.-dumps () function. (Select two answers.)
Which of the following examples using line breaks and different indentation methods are compliant with PEP 8 recommendations? (Select two answers.)
A)

B)

C)

D)

Which of the following examples using line breaks and different indentation methods are compliant with PEP 8 recommendations? (Select two answers.)