Python Institute PCAP — Certified Associate in Python Programming (PCAP-31-03) - 340 Questions
Practice exam for the Python Institute PCAP – Certified Associate in Python Programming certification. Covers modules, exceptions, OOP fundamentals, OOP advanced, and generators/iterators/closures.
Sample Questions — Python Institute PCAP — Certified Associate in Python Programming (PCAP-31-03) - 340 Questions
5 free sample questions from this practice exam. Correct answers are highlighted.
1. What is the output of the following code? import math print(math.floor(3.7))
2. Which statement correctly imports only the sqrt function from the math module?
3. What does the following code print? import sys print(type(sys.path))
4. A developer runs a Python script directly with `python my_script.py`. What is the value of `__name__` inside my_script.py?
5. What is the output of the following code? import math as m print(m.pi)
Want to test yourself for real?
Create a free account and run our exam simulation engine.
- Simulation engine
- Up to 10 questions per attempt
- Score & basic stats
- All 340 questions
- Detailed explanations
- Smart Practice + Focus Mode