Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Python Institute Exam PCAP-31-03 Topic 3 Question 50 Discussion

Actual exam question for Python Institute's PCAP-31-03 exam
Question #: 50
Topic #: 3
[All PCAP-31-03 Questions]

Assuming that the math module has been successfully imported, which of the following expressions evaluate to True? (Select two answers)

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Vinnie
1 days ago
Option A looks good, the `math.hypot()` function calculates the Euclidean distance, and that should equal `math.sqrt(25)`, which is 5.
upvoted 0 times
...
Adolph
5 days ago
I'm not sure about B) math. hypot (2,5) == math.truec (2.5), it seems incorrect to me.
upvoted 0 times
...
Apolonia
10 days ago
I believe D) math. ceil (2,5) == math.floor (2.5) is also True.
upvoted 0 times
...
Aliza
11 days ago
I think A) math. hypot (3,4) == math.sqrt (25) is True.
upvoted 0 times
...

Save Cancel