SPLK-1002 Exam QuestionsBrowse all questions from this exam

SPLK-1002 Exam - Question 8


Based on the macro definition shown below, what is the correct way to execute the macro in a search string?

Show Answer
Correct Answer: A

To execute the search macro defined as convert_sales(3), one should pass the arguments as plain text without enclosing them in additional characters. The macro accepts three arguments: 'currency', 'symbol', and 'rate'. The correct syntax is to call the macro by its name followed by the arguments in parentheses, separated by commas. Thus, the correct execution would be convert_sales(euro,€,0.79).

Discussion

7 comments
Sign in to comment
antukin
Apr 3, 2023

Currency,Symbol,Rate - answer should be somewhat like `convert_sales`(euro,€,0.79)

antukin
Apr 3, 2023

`convert_sales(euro,€,0.79)`

Orion42
Jul 14, 2023

yes, can confirm, the answers are malformed here, but the real (and correct) answer is this one

Orion42
Jul 14, 2023

yes, can confirm, the answers are malformed here, but the real (and correct) answer is this one

gabo1969
Dec 3, 2023

`convert_sales(euro,€,0.79)` Is Correct...review the PDF document.

Jack__Option: B
Jul 18, 2024

All answers are wrong. B is the least wrong. ' and " are incorrect; should be ` additionally, there should only be 3 arguments, not 4.

New_user
Apr 3, 2023

There's 4 parameters in every answer, but only three in macro. Can someone explain how does it work?

aosroyal
May 10, 2024

the site is not properly displaying the answer.

gongizOption: B
Sep 19, 2024

As i can see there are 3 arguments "currency, sympol and rate. The other dollar sign is just because they want it to be in USD, to excute this macro you should just write 'convert_sales'. But as many other say in there B is less wrong.

MxQ3
Jun 24, 2024

B is correct answer!

Nicker9
Jul 10, 2024

yeah please correct the answers. Macros only work with backticks ` `