Python Institute Certified Associate in Python Programming PCAP-31-03 Exam Practice Test

Page: 1 / 14
Total 147 questions
Question 1

Assuming that the following piece of code has been executed successfully, which of the expressions evaluate to True? (Select two answers)



Answer : C, D


Question 2

What can you do if you don't like a long package path tike this one0 import alpha.beta.gamma.delta.epsiIon.zeta



Answer : D


Question 3

Assuming that the following inheritance set is in force, which of the following classes are declared properly? (Select two answers)



Answer : A, B


Question 4

You are going to read just one character from a stream called s. Which statement would you use?



Answer : D


Question 5

Assuming that the following piece of code has been executed successfully, which of the expressions evaluate to True? (Choose two.)



Answer : A, C


Question 6

A class constructor (Select two answers)



Answer : B, C


Question 7

How many elements will the list2 list contain after execution of the following snippet?

list1 = [False for i in range (1, 10) ]

list2 = list1 [-1:1:-1]



Answer : C


Page:    1 / 14   
Total 147 questions