Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - 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
2 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
Wenona
12 days ago
User1: Let's double-check the documentation just to be sure.
upvoted 0 times
...
Stanton
17 days ago
User2: Yeah, I agree. It returns 0 when the input parameter is zero.
upvoted 0 times
...
Cary
18 days ago
User1: I think the answer is C.
upvoted 0 times
...
...
Gene
2 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
2 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
21 days ago
So, the Action returns 0 when the input parameter is zero.
upvoted 0 times
...
James
1 months ago
That makes sense. The absolute value of zero is zero.
upvoted 0 times
...
Elouise
2 months 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
1 months ago
So, the Action returns 0 when the input parameter (N) is zero. Got it.
upvoted 0 times
...
Albina
2 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
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