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

53 real Certified Associate in Python Programming (PCAP) exam questions with answers and AI explanations. Python Institute certification prep — page 4 of 6.

  1. Question 83: A Python module named pymod.py contains a variable named pyvar. Which of the following snippets will let you access the variable? (Choose two.)
  2. Question 84: Assuming that the snippet below has been executed successfully, which of the following expressions evaluate to True? (Choose two.) string = 'SKY'[::-1] string…
  3. Question 90: If you want to access an exception object's components and store them in an object called e, you have to use the following form of exception statement:
  4. Question 91: You are going to read just one character from a stream called s. Which statement would you use?
  5. Question 92: Python strings can be `glued` together using the operator:
  6. Question 93: UNICODE is:
  7. Question 98: A function called issubclass (c1, c2) is able to check if:
  8. Question 99: Which one of the platform module functions should be used to determine the underlying platform name?
  9. Question 103: What is true about Python class constructors? (Choose two.)
  10. Question 106: Which of the following lambda definitions are correct? (Choose two.)