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 invocation of the cget () method?
Options
A It can be used to read widget attributes.
B It can be replaced with a dictionary-like access manner.
C It has the same effect as the config () method.
D It can be used to set new values to widget attributes.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

2
Question
Which of the following values can be returned by the messagebox. askquestion () method?
Options
A "yes" and "no"
B True and False
C l and o
D "accept:" and "cancel''
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

3
Question
Look at the following code snippets and decide which ones follow PEP 8 recommendations for whitespaces in expressions and statements (Select two answers.) function call: No whitespace immediately before the opening parenthesis that starts the list of arguments of a

Exhibit

A whitespace immediately before a comma, semicolon, and colon:

Exhibit

A)

No whitespace between a trailing comma and a following closing parenthesis: B) C) D)

Exhibit

A whitespace immediately after the opening parenthesis that starts indexing or slicing:

Exhibit
Select 2
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!

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

5
Question
Select the true statements about the following invocation:
(Select two answers.)
Select 2
Options
A It addresses a service deployed at localhost (the host where the code is run).
B It addresses a service listening at port 3000.
C It addresses a service whose timeout is set to 3000 ms.
D It addresses a service located at the following address local.host.com.
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.