Exam SPLK-1002 All QuestionsBrowse all questions from this exam
Question 8

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

    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
antukinOption: A

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

antukin

`convert_sales(euro,€,0.79)`

Orion42

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

Jack__Option: B

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

gabo1969Option: A

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

gongizOption: B

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.

New_user

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

aosroyal

the site is not properly displaying the answer.

Nicker9

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

MxQ3Option: B

B is correct answer!