# PCPP1 PCPP-32-101 practice exams

> 5 timed PCPP-32-101 practice tests with 215 questions and a 70% pass mark. See your score in Advanced Object-Oriented Programming and every other domain.

Page: https://devopscodelab.com/exams/python-pcpp-32-101/

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

| Setting | Value |
| --- | --- |
| 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 format before you book.

## Domains and weights

| Domain | Weight | 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 |

## Price and access

- PCPP-32-101 practice exams: $14.99 for 12 months of access.
- Free mini exam: 15 questions with explanations (free account): https://devopscodelab.com/app/exams/python-pcpp-32-101/mini/
- All-Access subscription includes every exam: https://devopscodelab.com/pricing/
- 10 free questions with answers: https://devopscodelab.com/exams/python-pcpp-32-101/free-practice-questions/

## 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?

- A. ABC abc False ABCd
- B. ABC abc True ABCd
- C. ABC None True ABCd
- D. TypeError raised by __init__()

**Answer:** B

**Explanation:** 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?

- A. ['HI', 'HI', 'HI'] deco
- B. ['HI', 'HI', 'HI'] greet
- C. ['HI', 'HI', 'HI'] wrapper
- D. ['HI'] wrapper

**Answer:** C

**Explanation:** 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?

- A. ['csv', 'json'] False
- B. [] False
- C. ['csv'] False
- D. ['csv', 'json', 'plugin'] True

**Answer:** A

**Explanation:** __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.


## 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.

DevOpsCode Lab is not affiliated with Python Institute. PCPP-32-101 and related names are trademarks of their owners. We write every question ourselves; these are not real exam questions.
