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

Page: 1 / 14
Total 147 questions
Question 1

A Python module named pymod.py contains a variable named pyvar.

Which of the following snippets will let you access the variable? (Select two answers)



Answer : A, D


Question 2

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



Answer : C, D


Question 3

What is the expected output of the following code?



Answer : A


Question 4

What is the expected output of the following code if there is no file named non existing_file inside the working directory?



Answer : B


Question 5

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



Answer : A, C


Question 6

Assuming that the following code has been executed successfully, selected the expression which evaluate to True (Select two answers)



Answer : A, B


Question 7

Which of the listed actions can be applied to the following tuple? (Select two answers)



Answer : A, D


Page:    1 / 14   
Total 147 questions