exam questions

Exam SPLK-1002 All Questions

View all questions & answers for the SPLK-1002 exam

Exam SPLK-1002 topic 1 question 170 discussion

Actual exam question from Splunk's SPLK-1002
Question #: 170
Topic #: 1
[All SPLK-1002 Questions]

When using the eval command, which of these characters can be used to concatenate a string and a number into a single value?

  • A. ~ (tilde)
  • B. & (ampersand)
  • C. + (plus)
  • D. . (period)
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
FrozenYeti
1 week, 3 days ago
Selected Answer: C
Answer is C The concatenation operator accepts both strings and numbers. Numbers are concatenated as strings and produces a string.
upvoted 1 times
...
NastyNutsu
2 weeks, 6 days ago
D - (.) concatenated both strings and numbers. where (plus) concatenate the string with string or number with number.
upvoted 1 times
...
8b5c1e8
1 month ago
D - Operators that produce numbers The plus ( + ) operator accepts two numbers for addition, or two strings for concatenation. The subtraction ( - ), multiplication ( * ), division ( / ), and modulus ( % ) operators accept two numbers. Operators that produce strings The period ( . ) operator concatenates both strings and number. Numbers are concatenated in their string represented form.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago