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

OutSystems Exam Associate-Reactive-Developer Topic 1 Question 17 Discussion

Actual exam question for OutSystems's Associate-Reactive-Developer exam
Question #: 17
Topic #: 1
[All Associate-Reactive-Developer Questions]

Consider the Action called Absolute (https://drive.google.com/file/d/1whQveFFlesOJlkA1Qi4JMEV7-oUAZU1f/view?usp=sharing) which returns an absolute value (abs) of a number N passed as Input Parameter. When does the Action return 0 ?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Karon
2 days ago
But what if the input parameter (N) is less than zero? Wouldn't it also return 0?
upvoted 0 times
...
Timmy
4 days ago
I agree with Matt. The absolute value of zero is always zero.
upvoted 0 times
...
Sharika
5 days ago
The absolute value of a number is always non-negative, so the answer must be C. When the input parameter (N) is zero, the absolute value is also zero.
upvoted 0 times
...
Matt
6 days ago
I think the Action returns 0 when the input parameter (N) is zero.
upvoted 0 times
...

Save Cancel