Exam Code: PCPP1
Exam Questions: 564
Certified Professional in Python Programming 1
Updated: 25 Nov, 2026
Viewing Page : 1 - 57
Practicing : 1 - 5 of 564 Questions
Question 1

You’ve created the following button using Tkinter:
button = tk.Button(
    text='Login',
    width=25,
    height=5,
    bg='blue',
    fg='yellow',
)
What are the characteristics of the above button? (select 2)

Options :
Answer: C,D

Question 2

A concept of handling exceptions raised by other exception handling code...

Options :
Answer: D

Question 3

What are classes for in OOP? Select the best answer.

Options :
Answer: B

Question 4

You are building a Python application that needs to send an HTTP POST request with JSON data to a remote server. Which code snippet correctly demonstrates the usage of the requests module to accomplish this task?

Options :
Answer: D

Question 5

There are three classes: Vehicle, Car, and ElectricCar. The Vehicle class is the base class, while the Car class inherits from Vehicle using single inheritance, and the ElectricCar class inherits from both Car and Vehicle using multiple inheritance. Which of the following statements is correct regarding the attributes and methods inherited by the ElectricCar class?

Options :
Answer: A

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.