Free PCAP-31-03 Mock Exam – Practice Online Confidently

Increase your chances of passing the Python Institute PCAP-31-03 exam questions on your first try. Practice with our free online PCAP-31-03 exam mock test designed to help you prepare effectively and confidently.

Exam Code: PCAP-31-03
Exam Questions: 704
Certified Associate in Python Programming
Updated: 05 Jan, 2026
Question 1

Which of the following is the correct order of operator precedence?

Options :
Answer: C

Question 2

What is the expected output of the following code?

1. a = [1, 2, 3, 4, 5]

2. print(a[3:0:-1])

Options :
Answer: B

Question 3

Is there a way to check if a class is a subclass of another class?

Options :
Answer: A

Question 4

Consider the following code.

1. data = ['Peter', 'Paul', 'Mary', 'Jane']

2. res = 0

Which of the following code snippets will expand the code,

so that 100 will be printed to the monitor?

Choose two.

Options :
Answer: A,D

Question 5

What is the expected output of the following snippet?

1. s = 'python'

2. for i in range(len(s)):

3.     i = s[i].upper()

4. print(s, end='')

Options :
Answer: D

Viewing Page : 1 - 71
Practicing : 1 - 5 of 704 Questions

© Copyrights FreeMockExams 2026. All Rights Reserved

We use cookies to ensure that we give you the best experience on our website (FreeMockExams). If you continue without changing your settings, we'll assume that you are happy to receive all cookies on the FreeMockExams.