Certified Associate in Python Programming (PCAP-31-03) Free Practice Exam Questions

57 real Certified Associate in Python Programming (PCAP-31-03) exam questions with answers and AI explanations. Python Institute certification prep — page 1 of 6.

  1. Question 1: What is the expected output of the following code? import sys import math b1 = type(dir(math)) is list b2 = type(sys.path) is list print(b1 and b2)
  2. Question 2: Assuming that the code below has been executed successfully, which of the following expressions will always evaluate to True? (Choose two.) import random v1 =…
  3. Question 5: Which of the following expressions evaluate to True? (Choose two.)
  4. Question 6: Which of the following invocations are valid? (Choose two.)
  5. Question 7: What is true about Python packages? (Choose two.)
  6. Question 8: Which of the following expressions evaluate to True? (Choose two.)
  7. Question 9: What is the expected behavior of the following code? x =3 % 1 y = 1 if x > 0 else 0 print(y)
  8. Question 13: Which one of the platform module functions should be used to determine the underlying platform name?
  9. Question 17: Assuming that the snippet below has been executed successfully, which of the following expressions will evaluate to True? (Choose two.) string = 'python'[::2]…
  10. Question 18: Which of the following statements are true? (Choose two.)