๐Ÿ’ปap computer science a review

Sentinel

Written by the Fiveable Content Team โ€ข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโ€ขWritten by the Fiveable Content Team โ€ข Last updated September 2025

Definition

A sentinel is a special value used in programming to mark the end of data input, allowing programs to know when to stop processing.

"Sentinel" also found in: