Big Halloween Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Pass the Python Institute PCAP PCAP-31-03 Questions and answers with CertsForce

Viewing page 5 out of 5 pages
Viewing questions 41-50 out of questions
Questions # 41:

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

A)

Question # 41

B)

Question # 41

C)

Question # 41

D)

Question # 41

Options:

A.

Option A


B.

Option B


C.

Option C


D.

Option D


Expert Solution
Questions # 42:

What is the expected behavior of the following code?

Question # 42

Options:

A.

it outputs 2


B.

the code is erroneous and it will not execute


C.

it outputs 3


D.

it outputs :


Expert Solution
Questions # 43:

The first parameter of each method:

Options:

A.

holds a reference to the currently processed object


B.

is always set to None


C.

is set to a unique random value


D.

is set by the first argument's value


Expert Solution
Questions # 44:

What is the expected output of the following code?

Question # 44

Options:

A.

4


B.

16


C.

an exception is raised


D.

1


Expert Solution
Questions # 45:

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

Question # 45

Options:

A.

a ( ) == 4


B.

a is not None


C.

b ( ) == 4


D.

a ! = b


Expert Solution
Questions # 46:

What is the expected output of the following snippet?

Question # 46

Options:

A.

True False


B.

True True


C.

False False


D.

False True


Expert Solution
Viewing page 5 out of 5 pages
Viewing questions 41-50 out of questions