New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

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
2 months ago
Nope, definitely C! It's a common mistake though.
upvoted 0 times
...
Shayne
2 months ago
Wait, I thought it was B? Zero or more times?
upvoted 0 times
...
Britt
3 months ago
Really? I always thought it was for matching one or more times!
upvoted 0 times
...
Arminda
3 months ago
Totally agree, C is the right answer!
upvoted 0 times
...
Kimbery
3 months ago
It's C! Zero or one times.
upvoted 0 times
...
Chaya
3 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
4 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
4 months ago
I remember practicing a question about quantifiers, and I think ? is related to matching zero or one times.
upvoted 0 times
...
Wynell
4 months ago
I think the ? symbol matches the preceding character zero or one times, but I'm not completely sure.
upvoted 0 times
...
Ariel
4 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
4 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
5 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
5 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
9 months 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
8 months ago
D) Match a literal ?character.
upvoted 0 times
...
Lamonica
8 months ago
C) Match the preceding qualifier zero or one times.
upvoted 0 times
...
Jovita
9 months ago
B) Match the preceding qualifier zero or more times.
upvoted 0 times
...
Marg
9 months ago
A) Match the preceding qualifier one or more times.
upvoted 0 times
...
...
Lea
9 months 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
8 months ago
Yes, that's correct. It's important to understand the different quantifiers in regular expressions.
upvoted 0 times
...
Roxanne
8 months ago
I agree, the ? symbol is a greedy quantifier so it matches zero or one times.
upvoted 0 times
...
Johnna
9 months ago
I think the answer is C) Match the preceding qualifier zero or one times.
upvoted 0 times
...
...
Brittni
10 months ago
I'm pretty sure it means matching the preceding qualifier one or more times.
upvoted 0 times
...
Lauryn
10 months ago
I believe it actually represents matching the preceding qualifier zero or more times.
upvoted 0 times
...
Christiane
10 months 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
9 months ago
C) Match the preceding qualifier zero or one times.
upvoted 0 times
...
Alease
9 months ago
B) Match the preceding qualifier zero or more times.
upvoted 0 times
...
Arlen
9 months ago
A) Match the preceding qualifier one or more times.
upvoted 0 times
...
...
Hannah
10 months ago
The ? symbol definitely represents matching the preceding qualifier zero or one times. That's just basic regex knowledge!
upvoted 0 times
...
Sabina
11 months ago
I think the ? symbol represents matching the preceding qualifier zero or one times.
upvoted 0 times
...

Save Cancel