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: 26 Aug, 2026
Question 1

You are writing an application that uses the sqrt function.

The program must reference the function using the name squareRoot

You need to import the function.

Which code segment should you use?

Options :
Answer: C

Question 2

What is true about Object-Oriented Programming in Python? (Select two answers)

Options :
Answer: B,D

Question 3

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

Options :
Answer: A

Question 4

What would you insert instead of ???

so that the program prints TRUE to the monitor?

1. w = 7

2. x = 3

3. y = 4

4. z = True

5. a = w + x * y

6. b = w + x / z

7.  

8. if ???:

9.     print('TRUE')

10. else:

11.     print('FALSE')

Options :
Answer: C

Question 5

Which of the following lines contain valid Python code?

(Select two answers.)

Options :
Answer: B,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.