exam questions

Exam LFCS All Questions

View all questions & answers for the LFCS exam

Exam LFCS topic 1 question 61 discussion

Actual exam question from Linux Foundation's LFCS
Question #: 61
Topic #: 1
[All LFCS Questions]

What does the symbol within regular expressions represent?

  • A. Match the preceding qualifier one or more times.
  • B. Match the preceding qualifier zero or more times.
  • C. Match the preceding qualifier zero or one times.
  • D. Match a literal character.
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
Strib
6 months, 4 weeks ago
Selected Answer: C
C. Match the preceding qualifier zero or one time. In regular expressions, the "?" symbol is used as a quantifier to indicate that the preceding element or group should be matched zero or one times. It makes the preceding element or group optional, meaning it can occur either once or not at all. Here are a few examples to illustrate the usage of the "?" symbol: Match "colour" or "color": colou?r This pattern matches both "colour" and "color." The "?" makes the "u" optional, allowing for both spellings.
upvoted 2 times
...
Borbz
2 years, 10 months ago
Correct question is "What does the ? symbol within regular expressions represent?"
upvoted 3 times
...
rjo
3 years, 1 month ago
What symbol?
upvoted 1 times
Borbz
2 years, 10 months ago
the symbol is ? the answer is correct. C.
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