- 1
When we say a system is Boolean, we mean it only has two sides: true or false, yes or no, on or off — never a soft “maybe” in the middle. Computers are built on this idea, because a chip is really a huge set of tiny switches that are either on or off.
When we say a system is Boolean當我們說一個系統是Boolean,we mean it only has two sides意思是它只有兩面:true or false, yes or no, on or off像true或false、yes或no、on或off——never a soft "maybe" in the middle中間絕對沒有模糊的「也許」。Computers are built on this idea電腦就是建立在這個概念上,because a chip is really a huge set of tiny switches that are either on or off因為晶片其實就是一大堆不是開就是關的小開關。
Programmers use Boolean values all day, and they join statements with little linking words called operators: AND (both must be true), OR (at least one is true), and NOT (flip true to false, or false to true). Internet search uses the same trick: “cats AND dogs” keeps only pages with both; “cats NOT dogs” throws the dogs out.
Programmers use Boolean values all day工程師整天都在用Boolean值,and they join statements with little linking words called operators然後用一種叫operator(運算子)的小連接詞把句子接起來:AND (both must be true)像AND(兩個都要成立)、OR (at least one is true)OR(至少一個成立)、and NOT (flip true to false, or false to true)還有NOT(把true變成false,或把false變成true)。Internet search uses the same trick網路搜尋用的也是同一招:"cats AND dogs" keeps only pages with both像"cats AND dogs"只留下兩個字都有的網頁;"cats NOT dogs" throws the dogs out"cats NOT dogs"就會把有dogs的網頁去掉。
The word can be an adjective (Boolean logic) or a noun (a Boolean). Careful English often keeps the capital B, because it is a person’s name; in code you will usually see boolean in small letters.
The word can be an adjective (Boolean logic) or a noun (a Boolean)這個字可以當形容詞(像Boolean logic),也可以當名詞(像a Boolean)。Careful English often keeps the capital B嚴謹一點的英文通常會保留大寫的B,because it is a person's name因為它源自一個人的名字;in code you will usually see boolean in small letters在程式碼裡你通常會看到小寫的boolean。
Though actually, people stretch it in everyday talk to mean any blunt yes/no test, even far from computers.
Though actually不過老實說,people stretch it in everyday talk to mean any blunt yes/no test人們在日常對話裡也會把它用得更寬,指任何非黑即白的判斷,even far from computers就算跟電腦完全沒關係也一樣。
組成Boole (George Boole, 1815–1864, English mathematician and logician) + -ean (“of / in the manner of”). So Boolean means “in Boole’s way”: using his true-or-false logic.
同家族的字
- boolthe short form programmers type in code
原始詞典資料5 筆記錄
以下是外部詞典記錄的用法,原文照列,我們還沒有寫成教學內容。上面的說明才是我們自己寫的;有些用法可能上面已經講過了。
Booleanadj/ˈbuːl.i.ən/
- 1
Of or pertaining to the work of George Boole.
- 2
computingengineeringhuman-sciencesPertaining to data items that can have “true” and “false” (or, equivalently, 1 and 0 respectively) as their only possible values and to operations on such values.
- Oh, Boolean operators! "Blue and ones"! Good idea!
- The associativity of OR and AND is not at all obvious. It is tempting to assume that because OR and AND are commutative that they must be associative also. This is not the case, however, and some commutative Boolean operators are not associative. Examples include NAND and NOR.
Booleannoun/ˈbuːl.i.ən/
- 1
computingengineeringhuman-sciencesA variable that can hold a single true/false (1/0) value.
資料來源:英文維基詞典 English Wiktionary(CC BY-SA 4.0)。 原文照列,未經改寫。