Join WhatsApp ChannelDaily MCQs & Exam Updates

Which data type is used to store true/false values in programming?

  • A Boolean
  • B Float
  • C String
  • D Integer
Correct Answer: Option A — Boolean
Explanation:
A Boolean data type stores one of two values, true or false, and is commonly used in programming for conditional logic and comparisons.
Submitted by: PaperMCQs
Related MCQs