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

Page: 1 / 14
Total 45 questions
Question 1

What is ElementTree?



Answer : D

Question 2

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

A)

B)

C)

D)



Answer : B, C

Question 3

What is true about the invocation of the cget () method?



Answer : A

Question 4

If purple can be obtained from mixing red and blue, which color codes represent the two ingredients? Select two answers)



Answer : B, C

Question 5

What is true about the unbind () method? (Select two answers.)



Answer : B, D

Question 6

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)



Answer : B, D

Question 7

Which of the following examples using line breaks and different indentation methods are compliant with PEP 8 recommendations? (Select two answers.)

A)

B)

C)



Answer : B, D

Page:    1 / 14   
Total 45 questions