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

Page: 1 / 14
Total 144 questions
Question 1

Which of the following expression evaluate to True? (Select two answers)

A)

B)

C)

D)



Answer : C, D


Question 2

Which of the following statement are true? (Select two answers)



Answer : C, D


Question 3

An operator able to perform bitwise shifts is coded as (select two answers)



Answer : C, D


Question 4

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

string = 'SKY' (:: -1)

string = string (-1)



Answer : C, D


Question 5

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



Answer : A, B


Question 6

The following expression

1+-2

is:



Answer : D


Question 7

The following class definition is given. We want the show () method to invoke the get () method, and then output the value the get () method returns. Which of the invocations should be used instead of XXX?



Answer : B


Page:    1 / 14   
Total 144 questions