Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
PYTHON INSTITUTE

Python Institute PCAP - Certified Associate Python Programmer

PCAP-31Certified Associate Python Programmer

The Python Institute PCAP – Certified Associate Python Programmer certification validates your ability to perform intermediate-level coding tasks in Python, with a strong focus on object-oriented programming, modules and packages, exception handling, and advanced operations on strings, files, and iterators. It is designed for aspiring programmers and career changers seeking junior-level roles as software developers, data analysts, or testers. Earning PCAP demonstrates that you are fully acquainted with Python 3's primary means to start advanced studies and opens a clear path to the professional level.

531 practice questions · Updated 2026-07-30

5Domains
21Objectives
135Concepts
531Questions

PCAP-31 Curriculum

Every domain, objective, and concept the PCAP-31 exam measures.

  1. import statement
  2. from-import statement
  3. import-as statement
  4. from-import-star statement
  5. nested module import
  6. nested module from-import
  7. dir() function
  8. sys.path variable
  1. math module overview
  2. ceil() function
  3. floor() function
  4. trunc() function
  5. factorial() function
  6. hypot() function
  7. sqrt() function
  1. random() function
  2. seed() function
  3. choice() function
  4. sample() function
  1. platform() function
  2. machine() function
  3. processor() function
  4. system() function
  5. version() function
  6. python_implementation() function
  7. python_version_tuple() function
  1. Rationale for user-defined modules
  2. Module creation and import
  3. The __pycache__ directory
  4. The __name__ variable
  5. Public and private variables in modules
  6. The __init__.py file
  7. Module and package search path
  8. Nested packages vs. directory trees

  1. try/except basics
  2. Ordering except branches
  3. except as syntax
  4. Grouped exceptions
  5. Exception hierarchy
  6. Raising exceptions with raise
  7. Raising from an exception (raise ex)
  8. Assertions with assert
  9. Exception classes and args property
  10. else clause in exception handling
  11. finally clause in exception handling
  1. Defining custom exception classes
  2. Custom exception constructors
  3. Raising custom exceptions
  4. Integrating custom exceptions into existing hierarchy
  5. Catching custom exceptions
  6. Chaining custom exceptions

  1. ASCII encoding
  2. Unicode and code points
  3. UTF-8 encoding
  4. Escape sequences in strings

PCAP-31-03 3.2 Operate on strings

10 concepts · 22 questions
  1. ord() function
  2. chr() function
  3. String indexing
  4. String slicing
  5. String immutability
  6. String iteration
  7. String concatenation
  8. String repetition
  9. String comparisons
  10. Membership operators in and not in
  1. isxxx() methods
  2. join() method
  3. split() method
  4. strip() method family
  5. index() method
  6. find() method
  7. rfind() method
  8. sorted() for strings

  1. Class and Object
  2. Properties (Attributes)
  3. Methods
  4. Encapsulation
  5. Inheritance
  6. Superclass and Subclass
  7. Identifying Class Components
  1. Instance variables
  2. Class variables
  3. Accessing instance vs. class variables
  4. The __dict__ property of objects
  5. The __dict__ property of classes
  6. Private components in instances
  7. Private components in classes
  8. Name mangling mechanism
  1. Declaring methods in a class
  2. Calling methods on instances
  3. Understanding the self parameter
  4. Using self to access instance attributes
  5. Using self to call other methods
  6. Methods vs. functions
  1. Introspection basics
  2. hasattr() for objects
  3. hasattr() for classes
  4. Class __name__ property
  5. Class __module__ property
  6. Class __bases__ property
  1. Single inheritance
  2. Multiple inheritance
  3. isinstance() function
  4. Overriding methods
  5. is / is not operators
  6. Polymorphism
  7. Overriding __str__()
  8. Diamond problem
  1. Constructor declaration
  2. Constructor invocation
  3. Self parameter
  4. Constructor arguments
  5. Default constructor

  1. List comprehension with if condition
  2. Nested list comprehensions
  1. Lambda syntax and semantics
  2. Using lambdas in assignments and calls
  3. Lambdas as arguments to user-defined functions
  4. Using map() with lambdas
  5. Using filter() with lambdas
  1. Meaning and rationale of closures
  2. Defining closures
  3. Using closures
  1. I/O modes
  2. Predefined streams
  3. Handles vs. streams
  4. Text vs. binary modes
  1. open() function
  2. errno and its values
  3. close() method
  4. .read() method
  5. .write() method
  6. .readline() method
  7. readlines() method
  8. bytearray as input/output buffer
Ready to practice?Test your knowledge with exam-style questions or take an intelligent quiz tailored to your level.

Percentages reflect share of the current practice bank, not official exam weightings — no structured per-skill weight is published for PCAP-31, so none is invented.