exam questions

Exam 200-201 All Questions

View all questions & answers for the 200-201 exam

Exam 200-201 topic 1 question 137 discussion

Actual exam question from Cisco's 200-201
Question #: 137
Topic #: 1
[All 200-201 Questions]

Which regular expression matches "color" and "colour"?

  • A. colo?ur
  • B. col[0גˆ’8]+our
  • C. colou?r
  • D. col[0גˆ’9]+our
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
anonymous1966
Highly Voted 3 years, 8 months ago
"C" is correct For me there are some codification error in the page that greek chars are shown. The correct question is: Which regular expression matches "color" and "colour"? A . colo?ur B . col[08]+our C . colou?r D . col[09]+our
upvoted 9 times
...
2a814b3
Most Recent 6 months, 3 weeks ago
The answer is C. If you plot the characters in regex101.com it is expressed correctly on the right under explanation.
upvoted 1 times
...
Faio
1 year, 8 months ago
The answer is C. colou?r.
upvoted 1 times
...
Topsecret
1 year, 10 months ago
The correct answer is A. colo?ur. The regular expression "colo?ur" matches both "color" and "colour." Here's the breakdown of the regular expression: "col" matches the characters "col" literally. "o?" makes the "o" character optional. It matches zero or one occurrence of the preceding character, which in this case is "o." "ur" matches the characters "ur" literally.
upvoted 1 times
...
Eng_ahmedyoussef
2 years, 7 months ago
Selected Answer: C
C. colou?r
upvoted 2 times
...
bn1234
3 years, 1 month ago
Selected Answer: C
C is correct, try for yourself at regex101.com
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