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

Page: 1 / 14
Total 147 questions
Question 1

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

A)

B)

C)

D)



Answer : C, D


Question 2

A file name like this one below says mat: (select three answers)

services. cpython-36.pyc



Answer : A, B, D


Question 3

Assuming that the code below has been placed inside a file named code.py and executed successfully which of the following expressions evaluate to True? (Select two answers)



Answer : B, C


Question 4

What is the expected output of the following snippet?



Answer : B


Question 5

What is true about the following snippet? (Select two answers)



Answer : B, D


Question 6

With regards to the directory structure below, select the proper forms of the directives in order to import module_

a. (Select two answers)



Answer : A, D


Question 7

What is the expected output of the following code?

def foo(x,y,z):

return x(y) - x(z)

print{f00(lambda x: x % 2, 2, 1) )



Answer : C


Page:    1 / 14   
Total 147 questions