Official Bank 0/45

PCPP1™ – Certified Professional in Python Programming 1 (PCPP-32-101) - Python Exam Questions

Last updated on June 20, 2026

97% Exam Compliance
45 Total Questions
1
Question
What is true about the unbind () method? (Select two answers.)
Select 2
Options
A It needs a widget's object as an argument
B It needs the event name as an argument
C It is invoked from within a widget's object
D It is invoked from within the events object
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

2
Question
Select the true statements about the connection-oriented and connectionless types of
communication. (Select two answers.)
Select 2
Options
A In the context of TCP/IP networks, the communication side that initiates a connection is called the client, whereas the side that answers the client is called the server
B A phone call is an example of a connection-oriented communication
C Using walkie-talkies is an example of a connection-oriented communication
D Connectionless communications are usually built on top of TCP
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

3
Question
Analyze the code and choose the best statement that describes it.

Exhibit
Options
A The code is erroneous
B The code is responsible for the support of the inequality operator i.e. i =
C The code is responsible for the support of the negation operator e.g. a = - a.
D ___ne___() is not a built-in special method
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

4
Question
What will be the content of the co/ors.csv file when you run the following code? A) B) C) D)

Exhibit

Exhibit

Exhibit

Exhibit

An exception will be raised.
Options
A Option B
B Option D
C Option C
D Option A
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

5
Question
Select the true statements related to PEP 8 programming recommendations for code writing. (Select
two answers:)
Select 2
Options
A You should write code in a way that favors the CPython implementation over PyPy, Cython. and Jython.
B You should not write string literals that rely on significant trailing whitespaces as they may be visually indistinguishable, and certain editors may trim them
C You should make object type comparisons using the ismstanceQ method (e.g. if isinstance (obj,
int) :) instead of comparing types directly (eg if type(obj) is type(i)).
D You should use the not ... is operator (e.g. if not spam is None:), rather than the is not operator (e.g. if spam is not None:), to increase readability.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

Finish Practice?

Are you sure you want to finish? This will end your practice session.