×

Special Offer! Limited-Time Offer! Get 25% Off on All Certification Exams – Prepare & Pass with Confidence! Use Code:  DC25OFF  

Free Python Institute PCAP-31-03 Exam Questions

Try our Free Demo Practice Tests for Comprehensive PCAP-31-03 Exam Preparation

  • Python Institute PCAP-31-03 Exam Questions
  • Provided By: Python Institute
  • Exam: Certified Associate in Python Programming
  • Certification: PCAP
  • Total Questions: 704
  • Updated On: Jun 06, 2025
  • Rated: 4.9 |
  • Online Users: 1408
Page No. 1 of 141
Add To Cart
  • Question 1
    • Which of the following snippets output ABC to the screen?

      (Select two answers.)


      Answer: A,D
  • Question 2
    • Assuming that the math module has been successfully imported, which of the following expressions evaluate to True? (Select two answers)

      Answer: A,B
  • Question 3
    • How many stars will the following code print to the monitor?

      1. i = 0

      2. while i < i + 2:

      3.     i += 1

      4.     print('*')

      5. else:

      6.     print('*')


      Answer: A
  • Question 4
    • What can you do to indicate that a module entity should be treated as private?

      Choose two.


      Answer: A,D
  • Question 5
    • What is the expected output of the following code?

      1. def func(x, y=2):

      2.     num = 1

      3.     for i in range(y):

      4.         num = num * x

      5.     return num

      6.  

      7.  

      8. print(func(4))

      9. print(func(4, 4))


      Answer: A
PAGE: 1 - 141
Add To Cart

© Copyrights Dumpscity 2025. All Rights Reserved

We use cookies to ensure your best experience. So we hope you are happy to receive all cookies on the Dumpscity.