PCPP-32-101

PCPP1 PCPP-32-101 practice exams

215 questions in 5 timed practice tests. Each test has about 46 questions and a 65-minute limit. The pass mark is 70%. Results are split across the 5 exam domains.

Exam at a glance

PCPP-32-101 practice exam settings
Practice tests 5
Questions in total 215
Questions per test About 46
Time limit per test 65 minutes
Pass mark 70%
Question types Single answer and multiple answer (20 multiple-answer questions)
Level Professional
Category Programming

These are the settings of our practice tests. Check the official Python Institute exam page for the current exam format before you book.

Domains and weights

PCPP-32-101 exam domains, weights and question counts
Domain Weight Weight bar Questions in our bank
Advanced Object-Oriented Programming 35% 75
Coding Conventions, Best Practices, and Standardization 12% 26
GUI Programming 20% 43
Network Programming 18% 38
File Processing and Communicating with a Program's Environment 15% 33

Sample questions

Question 1 of 3

A subclass of str customizes object creation: class Upper(str): def __new__(cls, value): return super().__new__(cls, value.upper()) def __init__(self, value): self.original = value u = Upper('abc') print(u, u.original, isinstance(u, str), u + 'd') What is printed?

  1. A ABC abc False ABCd
  2. B ABC abc True ABCd (correct answer)
  3. C ABC None True ABCd
  4. D TypeError raised by __init__()
Why: str is immutable, so its value must be chosen in _new__, which here creates the string from value.upper(). __init_ then receives the same original argument and stores it unchanged in an instance attribute; overriding _init_ with an extra parameter is allowed because _new_ already consumed the value. Concatenation uses str.__add__, which returns a plain str built from the uppercase value and 'd', and an instance of a str subclass still passes isinstance(u, str).

Question 2 of 3

A decorator factory is applied to a function: def repeat(n): def deco(f): def wrapper(*args, **kwargs): return [f(*args, **kwargs) for _ in range(n)] return wrapper return deco @repeat(3) def greet(x): return x.upper() print(greet('hi'), greet.__name__) What is printed?

  1. A ['HI', 'HI', 'HI'] deco
  2. B ['HI', 'HI', 'HI'] greet
  3. C ['HI', 'HI', 'HI'] wrapper (correct answer)
  4. D ['HI'] wrapper
Why: repeat(3) returns deco, deco(greet) returns wrapper, so the name greet is bound to wrapper, which returns a list of three results. Because functools.wraps was not used, the _name_ of the decorated object is 'wrapper', not 'greet'. 'deco' is the name of the intermediate decorator that is discarded after decoration, and n=3 makes the list comprehension call the original function three times, not once.

Question 3 of 3

A base class registers its subclasses: class Plugin: registry = {} def __init_subclass__(cls, key=None, **kwargs): super().__init_subclass__(**kwargs) Plugin.registry[key or cls.__name__.lower()] = cls class Csv(Plugin, key='csv'): pass class Json(Plugin): pass print(sorted(Plugin.registry), 'plugin' in Plugin.registry) What is printed?

  1. A ['csv', 'json'] False (correct answer)
  2. B [] False
  3. C ['csv'] False
  4. D ['csv', 'json', 'plugin'] True
Why: _init_subclass_ runs each time a subclass is created, receiving extra keyword arguments from the class statement, so Csv registers under 'csv' and Json under its lowercased name. It does not run for the class that defines it, so Plugin itself is not registered. Json is registered too, because key defaults to None and the class name is used. Registration happens at class creation, without any instance being made.

What your score report looks like

Example attempt, PCPP-32-101 practice test 3

79%

Passed
Pass mark 70%

Score by exam domain
DomainWeightYour score%
Advanced Object-Oriented Programming 35%
88
Coding Conventions, Best Practices, and Standardization 12%
81
GUI Programming 20%
76
Network Programming 18%
58
File Processing and Communicating with a Program's Environment 15%
84

Study next: Network Programming. It is below the pass mark and carries 18% of the exam.

Domains and pass mark from our PCPP-32-101 practice tests. Scores are an example attempt.

Study plans

Two weeks

  1. Day 1: take practice test 1 in exam mode to get a baseline.
  2. Days 2 to 5: domain mode on Advanced Object-Oriented Programming and GUI Programming, the two most heavily weighted domains.
  3. Day 6: practice test 2 in exam mode, then the mistakes quiz.
  4. Days 7 to 12: practice tests 3 to 5, one every other day, each followed by its mistakes quiz.
  5. Days 13 and 14: final mode. Book the exam when your readiness stays above the pass mark.

Four weeks

  1. Week 1: one practice test in practice mode, reading every explanation. Note your two lowest domains.
  2. Week 2: domain mode on those two domains, then a second practice test in exam mode.
  3. Week 3: practice tests 3 and 4 in exam mode, with the mistakes and flagged quizzes after each.
  4. Week 4: practice test 5 and final mode until your readiness holds above the pass mark.

Questions about the PCPP-32-101 practice exams

Are these real PCPP-32-101 exam questions?
No. We write every question ourselves and map it to the published PCPP-32-101 exam objectives. We do not use leaked or recalled questions.
Do the time limit and pass mark match the official exam?
They match the settings of our practice tests. Exam providers change their format from time to time, so check the official exam page before you book.
Can I try it before I pay?
Yes. The free mini exam has 15 questions with full explanations and needs no account.
How long do I keep access?
A single-exam purchase gives you 12 months of access. All-Access includes this exam for as long as your subscription runs.
What happens after I finish a test?
You get a score, a pass or fail against the pass mark, a score per domain and every answer with its explanation.

Last updated November 2026. Written and reviewed by the DevOpsCode Lab team.

DevOpsCode Lab is not affiliated with Python Institute. PCPP-32-101 and related names are trademarks of their owners.

Related exams
Exam Vendor Level Questions Minutes Price
PCEP-30-03PCEP - Entry-Level Python Programmer (PCEP-30-03) Python Institute Foundational 200 55 $9.99
PCAP-31-04PCAP - Assoc. Python Programmer (PCAP-31-04) Python Institute Associate 300 90 $12.99
1Z0-830Java 21 Developer 1Z0-830 Oracle Associate 250 120 $12.99