Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

13 (02.05 mc) which of the following is the best variable type to use t…

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

Explanation:

Brief Explanations

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.

Answer:

B. Boolean