フリー問題

Salesforce Certified Marketing Cloud Engagement Developer のフリー問題 6 / 20 問目

問題文

A loop has to emit a list item of markup for each row, and the markup is easier to read outside the code. How can that be written?

選択肢

  1. Keep the markup inside the code block as a quoted string and pass it to the function that writes a line of output.
  2. Keep the markup in a separate content block and call it from inside the loop with the function that includes a block.
  3. Close the code block before the markup and open a new block after it, keeping the loop keywords split across the two blocks.
  4. Close the code block before the markup and open a new block after it, repeating the loop keywords inside each of the two blocks.

解答・解説を確認するには

正解と解説の確認、回答の記録には無料登録が必要です。登録すると演習モードでフリー問題に回答し、正誤と解説をその場で確認できます。