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

Page: 1 / 14
Total 144 questions
Question 1

What is the expected output of the following code?



Answer : D


Question 2

What is the expected output of the following code?



Answer : A


Question 3

What is the expected behavior of the following code?

It will:



Answer : B


Question 4

If you need to serve two different exceptions called Ex1 and Ex2 in one except branch, you can write:



Answer : D


Question 5

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



Answer : A


Question 6

Which of the following words can be used as a variable name? (Select two valid names)



Answer : C, D


Question 7

Assuming that the V variable holds an integer value to 2, which of the following operators should be used instead of OPER to make the expression equal to 1?

V OPER 1 -



Answer : C


Page:    1 / 14   
Total 144 questions