If you declare a variable to be Boolean, you can set its value to ____.

A. any number
B. true or false
C. any integer
D. 1 or -1


Answer: B

Computer Science & Information Technology

You might also like to view...

At the heart of a computer is its central processing unit. The CPU's job is:

a. To fetch instructions b. To carry out the operations commanded by the instructions c. To produce some outcome or resultant information d. All of these e. None of these

Computer Science & Information Technology

The Windows Snipping Tool is only capable of capturing rectangular areas of the screen

Indicate whether the statement is true or false

Computer Science & Information Technology

Switching loops are rare because all switches use the ____________________, but they do happen.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The type and cat commands are used to __________.

enter text into text files display the contents of a text file modify texxt files modify scripts

Computer Science & Information Technology