Winter Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bigdisc65

Exactprep PCAP-31-03 Questions

Page: 2 / 5
Question 8

What is the expected behavior of the following code?

Options:

A.

it outputs -2

B.

it outputs 2. 0

C.

it outputs 0. 0

D.

the code is erroneous and it will not execute

Question 9

What is the expected output of the following code?

Options:

A.

2

B.

3

C.

4

D.

an exception is raised

Question 10

Assuming that the following piece of code has been executed successfully, which of the expressions evaluate to True? (Select two answers)

Options:

A.

obj_b.prop_a == 3

B.

hasattr(obj_b, 'prop_aa')

C.

isinstance(obj_c,A)

D.

B. VarA == 3

Question 11

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

Options:

A.

121 + 1 != '!' + 2 * '2'

B.

'AbC' lower () < 'AB'

C.

'1' + '1' + '1' < '1' * 3'

D.

'3.14' != str(3.1415)

Page: 2 / 5
Exam Code: PCAP-31-03
Exam Name: Certified Associate in Python Programming
Last Update: Nov 21, 2024
Questions: 145
PCAP-31-03 pdf

PCAP-31-03 PDF

$28  $80
PCAP-31-03 Engine

PCAP-31-03 Testing Engine

$33.25  $95
PCAP-31-03 PDF + Engine

PCAP-31-03 PDF + Testing Engine

$45.5  $130