COMPUTER SCIENCE AND ENGINEERING
SQL
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Boolean
|
|
Integer
|
|
Real
|
|
String
|
Detailed explanation-1: -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 .
Detailed explanation-2: -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-3: -That treats 2 as a boolean value (which is considered true). To ask if x is 1 or 2, say x ==1 || x == 2. In English, is sometimes means “is equal to", and sometimes means “has the property".
Detailed explanation-4: -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-5: -A boolean, as you might have guessed, is a data type that represents “true” or “false”.