FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Complete this sentence:A ____ data type represents only two values.
A
Character
B
Integer
C
Boolean
D
All of the above
Explanation: 

Detailed explanation-1: -A variable of the primitive data type boolean can have two values: true and false (Boolean literals).

Detailed explanation-2: -A boolean is a data type with two possible values: true (1) or false (0). The two values help represent truth conditions found in logic control structures. The name comes from a branch of mathematics called Boolean algebra, named after George Bool.

Detailed explanation-3: -In computer science, the Boolean (sometimes shortened to Bool) is a data type that has one of two possible values (usually denoted true and false) which is intended to represent the two truth values of logic and Boolean algebra.

Detailed explanation-4: -Use the Boolean Data Type (Visual Basic) to contain two-state values such as true/false, yes/no, or on/off. The default value of Boolean is False . Boolean values are not stored as numbers, and the stored values are not intended to be equivalent to numbers.

There is 1 question to complete.