QUESTION IMAGE
Question
which of the following are the values that booleans can take? select the one choice that best answers the prompt above: answer 1 true and false answer 2 true and false answer 3 yes and no answer 4 true and false
In programming, Boolean values are represented as true and false (with lowercase initial letters). Answer 2 uses uppercase which is incorrect in standard Boolean representation. Answer 3 (Yes and No) is not the standard Boolean values used in programming. Answer 4 has inconsistent capitalization (only first letter capitalized for True and False), while the correct standard is all lowercase for true and false.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
1.