A(n) ____ variable can hold only one of two values: true or false.

A. integer
B. boolean
C. true
D. comparison


Answer: B

Computer Science & Information Technology

You might also like to view...

Which of the following statements is true?

a. Ranges of characters can be represented by placing a ~ between two characters. b. [^Z] is the same as [A~Y]. c. Both “A*” and “A+” will match “AAA”, but only “A*” will match an empty string. d. All of above.

Computer Science & Information Technology

Which of the following refer to the same topic?

a) Early binding. b) Late binding c) Virtual functions d) Polymorphism e) Static binding

Computer Science & Information Technology

A binary tree with depth d is complete if

A) each level L < d has 2L nodes B) every node that is not a leaf has 2 children C) every node that is not a leaf has 2 children and all nodes at level d are as far to the left as possible D) each level L < d has 2L nodes and all nodes at level d are as far to the left as possible

Computer Science & Information Technology

A typical first line indent is 1/4" from the left margin

Indicate whether the statement is true or false

Computer Science & Information Technology