Python Institute
PCPP-32-101
Q1:
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.
Python Institute
PCPP-32-101
Q2:
Look at the following examples of comments and docstrings in Python Select the ones that are useful and compliant with PEP 8 recommendations (Select the two best answers.)
A)

B)

C)

D)

☐
A
Option A☐
B
Option B☐
C
Option C☐
D
Option D
Python Institute
PCPP-32-101
Q3:
Which of the following examples using line breaks and different indentation methods are compliant with PEP 8 recommendations? (Select two answers.)
A)

B)

C)


☐
A
Option A☐
B
Option B☐
C
Option C☐
D
Option D
Python Institute
PCPP-32-101
Q4:
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
Python Institute
PCPP-32-101
Q5:
What does the term deserialization mean? Select the best answer.
○
A
It is a process of creating Python objects based on sequences of bytes.○
B
It is a process of assigning unique identifiers to every newly created Python object○
C
It is another name for the data transmission process○
D
It is a process of converting the structure of an object into a stream of bytes