Black Friday Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: scxmas70

PCAP-31-03 Exam Dumps - Certified Associate in Python Programming

Searching for workable clues to ace the Python Institute PCAP-31-03 Exam? You’re on the right place! ExamCert has realistic, trusted and authentic exam prep tools to help you achieve your desired credential. ExamCert’s PCAP-31-03 PDF Study Guide, Testing Engine and Exam Dumps follow a reliable exam preparation strategy, providing you the most relevant and updated study material that is crafted in an easy to learn format of questions and answers. ExamCert’s study tools aim at simplifying all complex and confusing concepts of the exam and introduce you to the real exam scenario and practice it with the help of its testing engine and real exam dumps

Go to page:
Question # 9

Which of the following invocations are valid? (Select two answers)

A.

rfind("python","r")

B.

sorted("python")

C.

"python".sort ()

D.

"python".index("th")

Full Access
Question # 10

What is the expected behavior of the following code?

A.

it outputs 1

B.

it outputs 0

C.

it raises an exception

D.

it outputs 2

Full Access
Question # 11

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

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 12

What is the expected output of the following code?

A.

3

B.

5

C.

4

D.

an exception is raised

Full Access
Question # 13

What will be the value of the i variable when the while e loop finishes its execution?

A.

1

B.

0

C.

2

D.

the variable becomes unavailable

Full Access
Question # 14

Which of the following lambda function definitions are correct? (Select two answers)

A.

lambda X : None

B.

lambda : 3,1415

C.

lambda x : def fun(x): return x

D.

lambda lambda: lambda * lambda

Full Access
Question # 15

What is the expected behavior of the following snippet?

It will:

A.

cause a runtime exception

B.

print 1

C.

print 0 , [1]

D.

print [1J

Full Access
Question # 16

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

list1 = [False for i in range (1, 10) ]

list2 = list1 [-1:1:-1]

A.

zero

B.

five

C.

seven

D.

three

Full Access
Go to page: