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:

Vi
1 months ago
I'm pretty sure the answer is C, but just to be sure, I'm going to double-check the documentation. Can't be too careful with these certification exams, you know?
upvoted 0 times
...
Gene
1 months ago
Haha, this is a tricky one! I bet the test-makers are trying to catch us out with the 'never' option. But we all know that zero is the only number that has an absolute value of zero, so C is the correct answer.
upvoted 0 times
...
Lorenza
1 months ago
I agree with Sharika. The absolute value function returns the distance of a number from zero, and zero is its own distance from zero, so the answer is C.
upvoted 0 times
Solange
3 days ago
So, the Action returns 0 when the input parameter is zero.
upvoted 0 times
...
James
21 days ago
That makes sense. The absolute value of zero is zero.
upvoted 0 times
...
Elouise
27 days ago
I think the answer is C) When the input parameter (N) is zero.
upvoted 0 times
...
...
Karon
2 months ago
But what if the input parameter (N) is less than zero? Wouldn't it also return 0?
upvoted 0 times
...
Timmy
2 months ago
I agree with Matt. The absolute value of zero is always zero.
upvoted 0 times
...
Sharika
2 months 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
Noemi
26 days ago
So, the Action returns 0 when the input parameter (N) is zero. Got it.
upvoted 0 times
...
Albina
1 months ago
Yes, you are correct. The absolute value of zero is zero.
upvoted 0 times
...
...
Matt
2 months ago
I think the Action returns 0 when the input parameter (N) is zero.
upvoted 0 times
...

Save Cancel