You can have Boolean values, which are only true or false.
可以有布尔值,这些值只能是true或false。
单词 | Boolean value |
释义 |
Boolean value
原声例句
CS50 You can have Boolean values, which are only true or false. 可以有布尔值,这些值只能是true或false。 科技 Crash Course A NOT takes a single boolean value, either true or false, and negates it. NOT 接受单个布尔值(true 或 false)并将其取反。 Mosh带你学编程 The second variable is for the age of our patient. So age is 20, and finally we need a variable to tell if this is a new or existing patient. That's where we can use a boolean value. 第二个变量是我们患者的年龄。所以年龄是20,最后我们需要一个变量来判断这是否是新的或现有的病人。这就是我们可以使用布尔值的地方。
中文百科
布尔 (数据类型) Boolean data type(重定向自Boolean value)
布尔(英语:Boolean,**译布林,中国大陆译布尔)是计算机科学中的逻辑数据类型,以发明布尔代数的数学家乔治·布尔为名。它是只有两种值的原始类型,通常是True和False。 在一些语言中,布尔数据类型被定义为可代表多于两个真值。例如,ISO SQL:1999标准定义了一个SQL布尔型可以储存三个可能的值:真、假、未知(SQL null被当作未知真值来处理,但仅仅在布尔型中使用)。
英语百科
Boolean data type 布尔 (数据类型)(重定向自Boolean value)
In computer science, the Boolean data type is a data type, having two values (usually denoted true and false), intended to represent the truth values of logic and Boolean algebra. It is named after George Boole, who first defined an algebraic system of logic in the mid 19th century. The Boolean data type is primarily associated with conditional statements, which allow different actions and change control flow depending on whether a programmer-specified Boolean condition evaluates to true or false. It is a special case of a more general logical data type; logic does not always have to be Boolean. |
随便看 |
英汉双解词典包含3607232条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。