Welcome to KillTest.com

TOP Exams

Want to practice some free Python Institute PCAP-31-03 exam questions? You can study the following Python Institute PCAP-31-03 exam online questions. Killtest provides 147 Q&As for Python Institute PCAP-31-03 exam, which has been proven effective in the PCAP-31-03 exam preparation. Besides, you can get full payment fee refund if you fail PCAP-31-03 exam by using Killtest PCAP-31-03 practice exam questions. Ready? Go!

 Get PCAP-31-03 with 147 Q&As

Python Institute PCAP-31-03 Online Practice Exam Questions

The questions of PCAP-31-03 were last updated on Mar 28,2024 .

Viewing page 1 out of 4 pages.

Viewing questions 1 out of 24 questions

Question#1

What is the expected behavior of the following code?


A. it outputs 6
B. it outputs 1
C. it outputs 3
D. it raises an exception

Question#2

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

A. rfind("python","r")
B. sorted("python")
C. "python".sort ()
D. "python".index("th")

Question#3

What is the expected behavior of the following code?


A. it outputs error
B. it outputs list assignment index out of range
C. the code is erroneous and it will not execute
D. it outputs <class ' IndexError’ >

Question#4

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

Question#5

What is the expected behavior of the following snippet?



It will:

A. cause a runtime exception on line 02
B. cause a runtime exception on line 01
C. cause a runtime exception on line 03
D. print3

Exam Code: PCAP-31-03
Q & A: 147 Q&As
Updated:  Mar 28,2024

 Get PCAP-31-03 Full Version

KILLTEST CONTACT INFO

[email protected]

GMT+8: Mon-Sat 8:00-18:00

GMT: Mon-Sat 0:00-10:00