QUESTION IMAGE
Question
a ______ is a value that signals when the end of a list of values has been reached.
terminal
sentinel
token
delimiter
Brief Explanations
To solve this, we analyze each option:
- "Terminal" generally refers to an end point but not specifically for signaling end of a list of values in programming/ data context.
- "Sentinel" is a value used to signal the end of a list (or a sequence) of values, which fits the description.
- "Token" is a unit of a sequence (like in parsing) and not for signaling end of list.
- "Delimiter" is used to separate values, not signal end of list.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
B. sentinel