Free Python Institute PCAP-31-03 Exam Actual Questions

The questions for PCAP-31-03 were last updated On Jan 19, 2025

Question No. 1

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 -

Show Answer Hide Answer
Correct Answer: C

Question No. 2

What is the expected output of the following code?

Show Answer Hide Answer
Correct Answer: A

Question No. 3

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

Show Answer Hide Answer
Correct Answer: B

Question No. 4

What is the expected behavior of the following code?

It will:

Show Answer Hide Answer
Correct Answer: B

Question No. 5

What is the expected behavior of the following code?

x = 8 ** (1/3)

y = 2. if x < 2.3 else 3.

print(y)

Show Answer Hide Answer
Correct Answer: A