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 4 of 6.

  1. Question 66: Which of the following expressions evaluate to True? (Choose two.)
  2. Question 70: What is the expected output of the following code? import sys import math b1 = type(dir(math)[01]) is str b2 = type(sys.path[-1]) is str print(b1 and b2)
  3. Question 74: Which of the following lambda function definitions are correct? (Choose two.)
  4. Question 75: What is true about Object-Oriented Programming in Python? (Choose two.)
  5. Question 76: Which of the following statements are true? (Choose two.)
  6. Question 77: What is true about Python class constructors? (Choose two.)
  7. Question 78: Which of the following invocations are valid? (Choose two.)
  8. Question 79: Which of the following invocations are valid? (Choose two.)
  9. Question 80: What is the expected behavior of the following code? the_list = "1,2 3.split() the_string = ''.join(the_list) print(the_string.isdigit())
  10. Question 81: Python module named pymod.py contains a variable named pyvar. Which of the following snippets will let you access the variable? (Choose two.)