💻ap computer science a review

Sentinel

Written by the Fiveable Content Team • Last updated August 2025
Verified for the 2026 exam
Verified for the 2026 examWritten by the Fiveable Content Team • Last updated August 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:

2,589 studying →