QUESTION IMAGE
Question
13 (02.05 mc) which of the following is the best variable type to use to represent if a person has graduated from high school? (5 points) string boolean list number
The fact of whether a person has graduated from high - school has only two states: yes or no. A Boolean variable can represent these two states (true or false), making it the best choice among the given options. String is for text, list is for a collection of elements, and number is for numerical values, none of which are as appropriate as Boolean for this binary - state situation.
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. Boolean