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
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!

2
Question
What will happen if the mam window is too small to fit all its widgets?
Options
A An exception will be raised.
B The widgets will be scaled down to fit the window's size.
C The window will be expanded.
D Some widgets may be invisible
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

3
Question
A socket object is usually created by which one of the following invocations?
Options
A socket = socket. socket (socket_domain, socket_type, server_address)
B socket = socket.socket(server address)
C socket = socket. socket (socket_number)
D socket. socket (socket_domain, socket_type)
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

4
Question
Analyze the following snippet and select the statement that best describes it.
Options
A The code is missing a placeholder for unnamed parameters.
B The code is syntactically incorrect - the function should be defined as def f1 (*args, **kwargs) :
C The *arg parameter holds a list of unnamed parameters
D The code is syntactically correct despite the fact that the names of the function parameters do not follow the naming convention
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

5
Question
Select the true statements about sockets. (Select two answers)
Select 2
Options
A A socket is a connection point that enables a one-way communication only between remote processes
B A socket can be used to establish a communication endpoint for processes running on the same or different machines.
C A socket is always the secure means by which computers on a network can safely communicate,
without the risk of exposure to an attack
D A socket is a connection point that enables a two-way communication between programs running in a network.
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.