Free Exam Questions
PCAP-31-03 Exam Questions & Answers
Certified Associate in Python Programming Exam • Python Institute
147 Questions
65 min
Updated Sep 2026
99% Pass Rate
Get Full Access
100% money-back guarantee
Sample PCAP-31-03 Questions
Practice with real exam-style questions, each with the verified correct answer and explanation.
Q1
MultipleChoice
A two-parameter lambda function raising its first parameter to the power of the second parameter should be declared as:
Correct Answer: D
Q2
MultipleChoice
What is the expected output of the following code if existing_file is the name of a file located inside the working directory?

Correct Answer: C
Q3
MultipleChoice
What is the expected behavior of the following code?

Correct Answer: B
Q4
MultipleChoice
Select the valid fun () invocations:
(select two answers)
def fun (a, b=0):
return a*b
Correct Answer: B, D
Q5
MultipleChoice
Python's built-in function named open () tries to open a file and returns:
Correct Answer: C
Get access to all 147 verified questions with detailed answers.
Unlock All PCAP-31-03 QuestionsFrequently Asked Questions
The PCAP-31-03 is the Certified Associate in Python Programming exam offered by the Python Institute. It validates intermediate-level Python programming skills and is designed for developers who have some experience with Python and want to demonstrate their competency.
The exam covers object-oriented programming, working with files and exceptions, advanced object-oriented concepts, and Python best practices. It tests practical knowledge of Python syntax, built-in functions, standard library modules, and coding principles.
The PCAP-31-03 exam is 65 minutes long and consists of 40 questions in a multiple-choice format. To pass, you need to achieve a score of at least 70% (28 out of 40 correct answers).
The PCAP-31-03 is designed for individuals with intermediate Python knowledge, typically those who have completed the PCEP-30-01 (entry-level certification) or have equivalent practical experience. It's recommended that candidates have 1-2 years of Python programming experience.
Yes, the PCAP-31-03 exam can be taken remotely through Pearson OnVUE, which uses online proctoring. The exam is also available at authorized testing centers, giving candidates flexibility in how they choose to take the test.