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 9 Question 46 Discussion

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

The following expression

1+-2

is:

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Macy
5 days ago
I'm just going to go with option B, invalid. It's safer than guessing and getting it wrong. You know what they say, 'when in doubt, choose invalid.'
upvoted 0 times
...
Dwight
7 days ago
This is a classic case of 'just follow the order of operations, dummy.' The answer is clearly C, equal to 2. Easy peasy!
upvoted 0 times
...
Kattie
15 days ago
I agree with Nikita, it doesn't make sense mathematically.
upvoted 0 times
...
Nikita
16 days ago
I think it's invalid because you can't have a plus sign before a negative number.
upvoted 0 times
...
Jin
20 days ago
Hmm, 1+-2, that's a tough one. I'll go with option D, equal to -1. Gotta love those pesky negative numbers, right?
upvoted 0 times
Raymon
4 days ago
I think it's equal to 1, option A.
upvoted 0 times
...
...
Louann
20 days ago
B) invalid
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77