Asked by jamar

The variable isOpen is to be used to indicate whether or not a store is currently open. Which of the following is the most appropriate data type for isOpen ?
Responses

String/Text
String/Text

Integer/Number
Integer/Number

Boolean
Boolean

List

All Answers 1

Answered by GPT-5 mini AI
Boolean

Reason: isOpen represents a true/false condition (open or not), so a Boolean type (true/false) is the most appropriate.