Pass Your DP-750 Certification Faster – U.S. Independence Day Sale – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI 101-500 Exam - Topic 4 Question 110 Discussion

What does the ? symbol within regular expressions represent?
C) Match the preceding qualifier zero or one times.
A) Match the preceding qualifier one or more times.
B) Match the preceding qualifier zero or more times.
D) Match a literal ?character.

LPI 101-500 Exam - Topic 4 Question 110 Discussion

Actual exam question for LPI's 101-500 exam
Question #: 110
Topic #: 4
[All 101-500 Questions]

What does the ? symbol within regular expressions represent?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

0/2000 characters
Lennie
6 months ago
Nope, definitely C! It's a common mistake though.
upvoted 0 times
...
Shayne
6 months ago
Wait, I thought it was B? Zero or more times?
upvoted 0 times
...
Britt
7 months ago
Really? I always thought it was for matching one or more times!
upvoted 0 times
...
Arminda
7 months ago
Totally agree, C is the right answer!
upvoted 0 times
...
Kimbery
7 months ago
It's C! Zero or one times.
upvoted 0 times
...
Chaya
7 months ago
I’m pretty sure ? is not for one or more times, but I can’t recall if it’s zero or one. I should have reviewed more before the exam!
upvoted 0 times
...
Daryl
8 months ago
I feel like I might confuse ? with * sometimes, but I think it’s about matching zero or one occurrences.
upvoted 0 times
...
Santos
8 months ago
I remember practicing a question about quantifiers, and I think ? is related to matching zero or one times.
upvoted 0 times
...
Wynell
8 months ago
I think the ? symbol matches the preceding character zero or one times, but I'm not completely sure.
upvoted 0 times
...
Ariel
8 months ago
I'm not totally confident, but I think the ? symbol matches the preceding qualifier one or more times. That sounds right, so I'll go with option A.
upvoted 0 times
...
Mose
8 months ago
Ah, I remember learning this in class. The ? symbol means the preceding qualifier can match zero or more times. So the correct answer is B.
upvoted 0 times
...
Laurel
9 months ago
Hmm, I'm a bit confused on this one. I know the ? symbol is used for quantifiers, but I can't remember if it's for zero or one, or one or more. I'll have to think this through carefully.
upvoted 0 times
...
Macy
9 months ago
I'm pretty sure the ? symbol represents matching the preceding qualifier zero or one times, so I'll go with option C.
upvoted 0 times
...
Herminia
1 year ago
Wait, is the ? symbol a wildcard that matches anything? I'm just kidding, I know it's for matching the preceding qualifier zero or one times. Easy peasy!
upvoted 0 times
Virgina
12 months ago
D) Match a literal ?character.
upvoted 0 times
...
Lamonica
12 months ago
C) Match the preceding qualifier zero or one times.
upvoted 0 times
...
Jovita
1 year ago
B) Match the preceding qualifier zero or more times.
upvoted 0 times
...
Marg
1 year ago
A) Match the preceding qualifier one or more times.
upvoted 0 times
...
...
Lea
1 year ago
Option C is the way to go here. The ? symbol is a greedy quantifier, and that's exactly what the question is asking for.
upvoted 0 times
Oliva
1 year ago
Yes, that's correct. It's important to understand the different quantifiers in regular expressions.
upvoted 0 times
...
Roxanne
1 year ago
I agree, the ? symbol is a greedy quantifier so it matches zero or one times.
upvoted 0 times
...
Johnna
1 year ago
I think the answer is C) Match the preceding qualifier zero or one times.
upvoted 0 times
...
...
Brittni
1 year ago
I'm pretty sure it means matching the preceding qualifier one or more times.
upvoted 0 times
...
Lauryn
1 year ago
I believe it actually represents matching the preceding qualifier zero or more times.
upvoted 0 times
...
Christiane
1 year ago
Haha, I remember when I thought the ? symbol meant 'match a literal question mark.' Boy, was I in for a surprise on the exam!
upvoted 0 times
Lauran
1 year ago
C) Match the preceding qualifier zero or one times.
upvoted 0 times
...
Alease
1 year ago
B) Match the preceding qualifier zero or more times.
upvoted 0 times
...
Arlen
1 year ago
A) Match the preceding qualifier one or more times.
upvoted 0 times
...
...
Hannah
1 year ago
The ? symbol definitely represents matching the preceding qualifier zero or one times. That's just basic regex knowledge!
upvoted 0 times
...
Sabina
1 year ago
I think the ? symbol represents matching the preceding qualifier zero or one times.
upvoted 0 times
...

Save Cancel