Spring Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: buysanta

Exact2Pass Menu

PCPP1 – Certified Professional in Python Programming 1

Last Update 9 hours ago Total Questions : 45

The PCPP1 – Certified Professional in Python Programming 1 content is now fully updated, with all current exam questions added 9 hours ago. Deciding to include PCPP-32-101 practice exam questions in your study plan goes far beyond basic test preparation.

You'll find that our PCPP-32-101 exam questions frequently feature detailed scenarios and practical problem-solving exercises that directly mirror industry challenges. Engaging with these PCPP-32-101 sample sets allows you to effectively manage your time and pace yourself, giving you the ability to finish any PCPP1 – Certified Professional in Python Programming 1 practice test comfortably within the allotted time.

Question # 1

Select the true statements about the connection-oriented and connectionless types of communication. (Select two answers.)

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.

Connectionless communications are usually built on top of TCP

C.

Using walkie-talkies is an example of a connection-oriented communication

D.

A phone call is an example of a connection-oriented communication

Question # 2

What is a___traceback___?

(Select two answers )

A.

An attribute owned by every exception object

B.

A special method delivered by the traceback module to retrieve a full list of strings describing the traceback

C.

An attribute that is added to every object when the traceback module is imported

D.

An attribute that holds interesting information that is particularly useful when the programmer wants to store exception details in other objects

Question # 3

Which sentence about the ©property decorator is false?

A.

The ©property decorator should be defined after the method that is responsible for setting an encapsulated attribute.

B.

The @property decorator designates a method which is responsible for returning an attribute value

C.

The ©property decorator marks the method whose name will be used as the name of the instance attribute

D.

The ©property decorator should be defined before the methods that are responsible for setting and deleting an encapsulated attribute

Question # 4

What is a static method?

A.

A method that works on the class itself

B.

A method decorated with the @method trait

C.

A method that requires no parameters referring to the class itself

D.

A method that works on class objects that are instantiated

Question # 5

A socket object is usually created by which one of the following invocations?

A.

socket. socket (socket_domain, socket_type)

B.

socket = socket. socket (socket_number)

C.

socket = socket. socket (socket_domain, socket_type, server_address)

D.

socket = socket.socket(server address)

Question # 6

What will happen if the mam window is too small to fit all its widgets?

A.

Some widgets may be invisible

B.

The window will be expanded.

C.

An exception will be raised.

D.

The widgets will be scaled down to fit the window's size.

Question # 7

Which of the following values can be returned by the messagebox. askquestion () method?

A.

"accept:" and "cancel''

B.

l and o

C.

"yes" and "no"

D.

True and False

Question # 8

What is true about the unbind_all () method?

(Select two answers.)

A.

It can be invoked from any widget

B.

It can be invoked from the main window widget only

C.

It is parameterless

D.

It causes all the widgets to disappear

Question # 9

Select the true statements about the json.-dumps () function. (Select two answers.)

A.

It returns a JSON string.

B.

It returns a Python entity.

C.

It takes a JSON string as its argument

D.

It takes Python data as its argument.

Question # 10

Which of the following will set the button text's font to 12 point italics Anal? (Select two answers)

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Go to page: