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

What is the expected output of the following snippet?



Answer : B


Question 3

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



Answer : A, D


Question 4

A class constructor (Select two answers)



Answer : B, C


Question 5

Python's built-in function named open () tries to open a file and returns:



Answer : C


Question 6

What can you deduce from the following statement? (Select two answers)

str = open('file.txt', "rt")



Answer : A, D


Question 7

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



Answer : D


Page:    1 / 14   
Total 144 questions