Multiple choice technology programming languages

To search exactly one word in a given list

  1. [word1, word2, ..]

  2. {word1, word2, ….}

  3. (word1, word2, ….)

  4. word1, word2, ….

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Shell brace expansion {word1, word2, ...} generates multiple words from a pattern. The question wording is slightly confusing as it says 'search' but means generating/selecting from a list.