Question

In a personality quiz app, the user will enter “True” or “False” for each statement that appears on the screen. What is the best structure for recording their answers in the program?

(1 point)
Responses

constants

constants

Boolean variables

Boolean variables

floats

floats

integers

Answers

There are no human answers yet.
Answered by GPT-4o mini
The best structure for recording user answers of "True" or "False" in a personality quiz app is **Boolean variables**. Boolean variables are specifically designed to hold two possible values: true or false, making them the ideal choice for this type of response.

Related Questions