Exam Code: PCPP-32-101
Exam Questions: 564
Certified Professional in Python Programming 1
Updated: 04 Jan, 2026
Viewing Page : 1 - 57
Practicing : 1 - 5 of 564 Questions
Question 1

1

Options :
Answer: B

Question 2

The reason for implementing abstract classes is that...

Options :
Answer: A

Question 3

Suppose you have the following XML file called books.xml:


   

      Gambardella, Matthew

      XML Developer's Guide

      Computer

      44.95

      2000-10-01

      An in-depth look at creating applications 

      with XML.

   

   

      Ralls, Kim

      Midnight Rain

      Fantasy

      5.95

      2000-12-16

      A former architect battles corporate zombies, 

      an evil sorceress, and her own childhood to become queen 

      of the world.

   

How can you parse this document using xml.etree.ElementTree module?

Options :
Answer: D

Question 4

Assume that the following piece of code has been successfully executed:
class Vehicle:
    fleet = 0
 
    def __init__(self, category=None):
        self.category = category if category else 'vehicle'
        Vehicle.fleet += 1
 
    def __str__(self):
        return self.category
 
 
class LandVehicle(Vehicle):
    def __str__(self):
        return super().__str__() + ': land'
 
 
class AirVehicle(Vehicle):
    def __str__(self):
        return super().__str__() + ': air'
What is the expected output of the following piece of code?
veh1 = Vehicle()
veh2 = LandVehicle()
veh3 = AirVehicle()
 
print(veh1)
print(veh2)
print(veh3)

Options :
Answer: C

Question 5

Complete the text below.

When a request requires additional parameters in the URI (Uniform Resource Identifier), they are typically appended to the URI as key-value pairs. Multiple parameters are separated from each other using the _____ symbol.

Options :
Answer: B

Viewing Page : 1 - 57
Practicing : 1 - 5 of 564 Questions

© Copyrights FreePDFQuestions 2026. All Rights Reserved

We use cookies to ensure that we give you the best experience on our website (FreePDFQuestions). If you continue without changing your settings, we'll assume that you are happy to receive all cookies on the FreePDFQuestions.