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

Explanation:

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: Simulationexams.com is not affiliated with any certification vendor, and Sim-Ex™ Practice Exams are written independently by SimulationExams.com and not affiliated or authorized by respective certification providers. Sim-Ex™ is a trade mark of SimulationExams.com or entity representing Simulationexams.com.ITF+™ is a trademark of CompTIA® organization.