Sim-Ex™ Practice Exams for ITF+: Practice Questions

Boolean Data Type

Home     Up     Next

Q1. Which data type is used to represent logical values, such as true or false?

A. Integer

B. Float

C. Char

D. Boolean

Correct Answer: D


A boolean data type represents a logical value, such as true or false. Booleans are typically represented using a single bit of memory, and they are commonly used for making decisions in programming, such as in conditional statements or loops.

Home     Up     Next

Disclaimer: is not affiliated with any certification vendor, and Sim-Ex™ Practice Exams are written independently by and not affiliated or authorized by respective certification providers. Sim-Ex™ is a trade mark of or entity representing™ is a trademark of CompTIA® organization.