Ask Question
11 February, 10:05

Assuming that the following three variables have already been declared, which variable will store a Boolean value after these statements are executed?

choice = true;

again = "false";

result = 0;

a. choice

b. again

c. result

d. none of these are Boolean variables

+1
Answers (1)
  1. 11 February, 10:25
    0
    C

    Explanation:

    Boolean Algebra deals with either a one or a zero and how to manipulate them in computers or elsewhere. The "choice" option may not work, since for text it must be enclosed in quotation marks, usually. For "again," it's text and not a 1 or 0. So, the answer is C, since this is a 0.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Assuming that the following three variables have already been declared, which variable will store a Boolean value after these statements ...” in 📗 Engineering if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers