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 PCAP-31-03 Exam - 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:

0/2000 characters
Antonio
4 months ago
D is definitely false, cell isn't a valid function.
upvoted 0 times
...
Nilsa
4 months ago
Wait, are we sure about C? Sounds off.
upvoted 0 times
...
Lamar
4 months ago
Definitely A and C, they both evaluate to True.
upvoted 0 times
...
Audry
4 months ago
I think B is wrong, math.truec doesn't exist!
upvoted 0 times
...
Johnson
5 months ago
A is true, it equals 5.
upvoted 0 times
...
Nieves
5 months ago
I feel like I might have seen something about math.hypot before, so A seems safe, but I’m confused about the others.
upvoted 0 times
...
Harley
5 months ago
I practiced a similar question, and I think D is definitely wrong since math.cell isn't a valid function.
upvoted 0 times
...
Stephane
5 months ago
I'm not sure about B and C; I remember something about math.truec, but I can't recall what it does.
upvoted 0 times
...
Mariko
5 months ago
I think option A looks right because math.hypot(3, 4) should give 5, which is the same as math.sqrt(25).
upvoted 0 times
...
Francene
6 months ago
Okay, I think I've got this. A change from the cost approach to the market approach is a change in the valuation technique used, so the answer is C.
upvoted 0 times
...
Angella
6 months ago
Hmm, I'm not sure. I think the business might also want to consider microblogging sites like Twitter to share quick updates and engage with customers. Option B could be a good choice too.
upvoted 0 times
...
Leoma
10 months ago
They should make a math module called 'mathX', just to confuse everyone.
upvoted 0 times
...
Dortha
10 months ago
Option D seems correct, `math.ceil(2.5)` should equal 3, and `math.floor(2.5)` should equal 2.
upvoted 0 times
Phillip
9 months ago
D) math. cell (2,5) == math.floor (2.5)
upvoted 0 times
...
Willodean
9 months ago
C) math. hypot (2,5) == math.true (2.5)
upvoted 0 times
...
Elmira
9 months ago
B) math. hypot (2,5) == math.truec (2.5)
upvoted 0 times
...
Marshall
10 months ago
A) math. hypot (3,4) == math.sqrt (25)
upvoted 0 times
...
...
Leslie
10 months ago
Option C has a typo, it should be `math.trunc(2.5)` instead of `math.true(2.5)`.
upvoted 0 times
Helaine
9 months ago
D) math. cell (2,5) == math.floor (2.5)
upvoted 0 times
...
Nina
9 months ago
C) math. hypot (2,5) == math.trunc(2.5)
upvoted 0 times
...
Rolland
9 months ago
B) math. hypot (2,5) == math.truec (2.5)
upvoted 0 times
...
Rosalia
10 months ago
A) math. hypot (3,4) == math.sqrt (25)
upvoted 0 times
...
...
Louann
11 months ago
I'm not sure about option B, `math.truec(2.5)` doesn't seem to be a valid function in the `math` module.
upvoted 0 times
Melvin
10 months ago
D) math.ceil(2,5) == math.floor(2.5)
upvoted 0 times
...
Paris
10 months ago
C) math.hypot(2,5) == math.true(2.5)
upvoted 0 times
...
Ressie
10 months ago
B) math.hypot(2,5) == math.truec(2.5)
upvoted 0 times
...
Van
10 months ago
A) math.hypot(3,4) == math.sqrt(25)
upvoted 0 times
...
...
Vinnie
11 months 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
Phyliss
10 months ago
User 2: Correct, that should evaluate to True since math.sqrt(25) is 5.
upvoted 0 times
...
Queen
11 months ago
User 1: A) math.hypot(3,4) == math.sqrt(25)
upvoted 0 times
...
...
Adolph
11 months ago
I'm not sure about B) math. hypot (2,5) == math.truec (2.5), it seems incorrect to me.
upvoted 0 times
...
Apolonia
11 months ago
I believe D) math. ceil (2,5) == math.floor (2.5) is also True.
upvoted 0 times
...
Aliza
11 months ago
I think A) math. hypot (3,4) == math.sqrt (25) is True.
upvoted 0 times
...

Save Cancel