Labour Day Special Limited Time Flat 70% Discount offer - Ends in 0d 00h 00m 00s - Coupon code: 70spcl

Python Institute PCPP-32-101 PCPP1 - Certified Professional in Python Programming 1 Exam Practice Test

Page: 1 / 5
Total 45 questions

PCPP1 - Certified Professional in Python Programming 1 Questions and Answers

Question 1

What is the result of the following code?

Question # 1

What is the result of the following code?

Options:

A.

Nothing will be displayed

B.

Loading data...

C.

Debugging mode has been enabled

D.

Debugging mode has been enabled Loading data...

Question 2

Look at the following examples of comments and docstrings in PythonSelect the ones that are useful and compliant with PEP 8 recommendations (Select the two best answers.)

A)

Question # 2

B)

Question # 2

C)

Question # 2

D)

Question # 2

Options:

A.

OptionA

B.

OptionB

C.

OptionC

D.

OptionD

Question 3

Analyze the following snippet and select the statement that best describes it.

Question # 3

Options:

A.

The code is an example of implicitly chained exceptions.

B.

The code is erroneous as the OwnMath class does not inherit from any Exception type class

C.

The code is fine and the script execution is not interrupted by any exception.

D.

The code is an example of explicitly chained exceptions.

Question 4

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

A)

Question # 4

B)

Question # 4

C)

Question # 4

D)

Question # 4

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 5

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

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.

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 6

Select the true statements about the sqirte3 module. (Select two answers.)

Options:

A.

The sqlite3 module provides an interface compliant with the DB-API 2.0.

B.

The special name memory is used to create a database in RAM.

C.

The sqhte3 module does not support transactions.

D.

The fetchall method returns an empty list when no rows are available

Page: 1 / 5
Total 45 questions